platform/upstream/build.git
14 years agobe a bit more informative on kiwi image collection
Adrian Schröter [Sun, 17 Jan 2010 09:04:15 +0000 (10:04 +0100)]
be a bit more informative on kiwi image collection

14 years agoswitch from md5sum to sha1 for security reasons (we will sign the .sha1 file afterwards)
Adrian Schröter [Sun, 17 Jan 2010 08:51:11 +0000 (09:51 +0100)]
switch from md5sum to sha1 for security reasons (we will sign the .sha1 file afterwards)

14 years agofix missing places, where no .md5 file got generated for kiwi images
Adrian Schröter [Sun, 17 Jan 2010 08:47:10 +0000 (09:47 +0100)]
fix missing places, where no .md5 file got generated for kiwi images

14 years agofix collection of vmx images
Adrian Schröter [Sun, 17 Jan 2010 08:01:28 +0000 (09:01 +0100)]
fix collection of vmx images

14 years ago- fixed #570026 ("osc does not detect correctly provides and requires")
Marcus Huewe [Fri, 15 Jan 2010 20:56:53 +0000 (21:56 +0100)]
- fixed #570026 ("osc does not detect correctly provides and requires")
don't remove braces in rpm provides/requires (it's only needed deb versions)

14 years agoumount $BUILD_ROOT/proc/sys/fs/binfmt_misc
Ludwig Nussel [Thu, 14 Jan 2010 09:51:16 +0000 (10:51 +0100)]
umount $BUILD_ROOT/proc/sys/fs/binfmt_misc

some packages' %post script mount /proc/sys/fs/binfmt_misc:
http://lists.opensuse.org/archive/opensuse-buildservice/2009-09/msg00144.html

14 years agoinstall new build_kiwi.sh as well
Adrian Schröter [Wed, 13 Jan 2010 15:18:54 +0000 (16:18 +0100)]
install new build_kiwi.sh as well

14 years agoalso set %_smp_mflags to BUILD_JOBS
Ludwig Nussel [Mon, 11 Jan 2010 15:58:45 +0000 (16:58 +0100)]
also set %_smp_mflags to BUILD_JOBS

14 years agoRevert "use $BUILD_DIR for mkbaselibs"
Ludwig Nussel [Sun, 10 Jan 2010 09:40:46 +0000 (10:40 +0100)]
Revert "use $BUILD_DIR for mkbaselibs"

$BUILD_DIR is set to /.build when using a vm. So we need to hardcode
/usr/lib/build instead of $BUILD_DIR to prefer mkbaselibs from the
distro (and force distro version if CREATE_BASELIBS=internal).

This reverts commit 60437ab1dfc1804d75a7988c2d7600d059fcc1a3.

14 years agodon't hardcode /usr/src/packages, use tempfile instead
Ludwig Nussel [Tue, 5 Jan 2010 17:26:27 +0000 (18:26 +0100)]
don't hardcode /usr/src/packages, use tempfile instead

14 years agorun mkbaselibs as $BUILD_USER
Ludwig Nussel [Tue, 5 Jan 2010 17:25:48 +0000 (18:25 +0100)]
run mkbaselibs as $BUILD_USER

14 years agoSupport for i386
Jan Engelhardt [Thu, 31 Dec 2009 17:14:42 +0000 (18:14 +0100)]
Support for i386

It does work, in fact, it runs with i586 binaries. (But glibc
needed a recompile because of the absence of cmpxchg.)

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
14 years agoSPARC architecture definition updates
Jan Engelhardt [Thu, 31 Dec 2009 17:11:34 +0000 (18:11 +0100)]
SPARC architecture definition updates

The RPM configuration files build sparcv9v packages with
-mtune=niagara, but Fedora uses -mcpu=niagara instead, making the
produced packages incompatible with sparcv9. Go the safe route and
define a strict usage hierarchy similar to i386-686.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
14 years ago- treat BuildPreReq as BuildRequires
Michael Schroeder [Wed, 23 Dec 2009 10:51:42 +0000 (11:51 +0100)]
- treat BuildPreReq as BuildRequires

14 years ago- fix Adrian's fix
Michael Schroeder [Tue, 22 Dec 2009 10:36:06 +0000 (11:36 +0100)]
- fix Adrian's fix

14 years agofix exclusive arch handling for live kiwi images.
Adrian Schröter [Tue, 22 Dec 2009 08:27:43 +0000 (09:27 +0100)]
fix exclusive arch handling for live kiwi images.

14 years agoretry rpm -e with --noscripts if some scriptlet failed
Ludwig Nussel [Thu, 17 Dec 2009 13:54:19 +0000 (14:54 +0100)]
retry rpm -e with --noscripts if some scriptlet failed

14 years agomore set -e fixes
Ludwig Nussel [Thu, 10 Dec 2009 16:28:41 +0000 (17:28 +0100)]
more set -e fixes

14 years agocoding style fix
Ludwig Nussel [Thu, 17 Dec 2009 13:58:09 +0000 (14:58 +0100)]
coding style fix

14 years agoSPARC architecture support
Jan Engelhardt [Fri, 11 Dec 2009 21:57:09 +0000 (22:57 +0100)]
SPARC architecture support

14 years agoMerge branch 'master' of gitorious.org:opensuse/build
Michael Schroeder [Thu, 10 Dec 2009 16:06:49 +0000 (17:06 +0100)]
Merge branch 'master' of gitorious.org:opensuse/build

14 years ago- mark build as failed before killing it
Michael Schroeder [Thu, 10 Dec 2009 16:06:27 +0000 (17:06 +0100)]
- mark build as failed before killing it

14 years agofix for set -e
Ludwig Nussel [Thu, 10 Dec 2009 15:41:33 +0000 (16:41 +0100)]
fix for set -e

14 years ago- fix signal handling, cannot use '' as there is no way to reset
Michael Schroeder [Thu, 10 Dec 2009 15:45:40 +0000 (16:45 +0100)]
- fix signal handling, cannot use '' as there is no way to reset
  the signal handlers in bash

14 years agoDrop SIGTERM handler, causing problems at build time.
Adrian Schröter [Thu, 10 Dec 2009 13:50:13 +0000 (14:50 +0100)]
Drop SIGTERM handler, causing problems at build time.
Actually also SIGHUP trap should go, but this might require a patched ubuntu package.

14 years agouse ip instead of ifconfig if available (bnc#479009)
Ludwig Nussel [Wed, 9 Dec 2009 16:30:43 +0000 (17:30 +0100)]
use ip instead of ifconfig if available (bnc#479009)

14 years agouse $BUILD_DIR for mkbaselibs
Ludwig Nussel [Wed, 9 Dec 2009 15:32:13 +0000 (16:32 +0100)]
use $BUILD_DIR for mkbaselibs

14 years agomove huge block of kiwi code to separate file
Ludwig Nussel [Wed, 9 Dec 2009 13:59:27 +0000 (14:59 +0100)]
move huge block of kiwi code to separate file

14 years agomore tests
Ludwig Nussel [Wed, 9 Dec 2009 13:40:53 +0000 (14:40 +0100)]
more tests

14 years ago- fix whitespace (revert large part of e7cba6)
Michael Schroeder [Tue, 8 Dec 2009 16:51:32 +0000 (17:51 +0100)]
- fix whitespace (revert large part of e7cba6)

14 years agoskip unnecessary steps for product building which costs lot of time and IO.
Adrian Schröter [Tue, 8 Dec 2009 09:35:41 +0000 (10:35 +0100)]
skip unnecessary steps for product building which costs lot of time and IO.

14 years agofix building of products with user(abuild) permissions
Adrian Schröter [Tue, 8 Dec 2009 08:24:51 +0000 (09:24 +0100)]
fix building of products with user(abuild) permissions

14 years ago- fix epoch handling in binary query
Michael Schroeder [Mon, 7 Dec 2009 10:48:15 +0000 (11:48 +0100)]
- fix epoch handling in binary query

14 years agofix whitespace
Pavol Rusnak [Sat, 5 Dec 2009 00:05:36 +0000 (01:05 +0100)]
fix whitespace

14 years agodetect required architectures for product building via "requiredarch"
Adrian Schröter [Wed, 2 Dec 2009 13:58:36 +0000 (13:58 +0000)]
detect required architectures for product building via "requiredarch"
from kiwi file and use this as exclusive architectures

14 years agodo Product kiwi building as "abuild" user
Adrian Schröter [Wed, 2 Dec 2009 13:56:58 +0000 (13:56 +0000)]
do Product kiwi building as "abuild" user

14 years agodon't display 'keeping ..' messages. That's rather uninteresting.
Ludwig Nussel [Tue, 1 Dec 2009 13:26:46 +0000 (13:26 +0000)]
don't display 'keeping ..' messages. That's rather uninteresting.

14 years agoalso substitute release '0'
Ludwig Nussel [Tue, 1 Dec 2009 13:26:41 +0000 (13:26 +0000)]
also substitute release '0'

14 years ago- add --linksources flag
Michael Schröder [Fri, 27 Nov 2009 15:21:52 +0000 (15:21 +0000)]
- add --linksources flag
- move kiwi products to correct destination

14 years ago* revert last commit a bit, we configure packages at build time again,
Adrian Schröter [Fri, 27 Nov 2009 09:43:26 +0000 (09:43 +0000)]
* revert last commit a bit, we configure packages at build time again,
  but we keep the post configuration step as well, since the failed
  configuration due to pre require cycles get executed now.
  (Ubuntu:9.10 is any way working now via project config changes)

14 years agoUbuntu is not doing shell expansion anymore
Adrian Schröter [Wed, 25 Nov 2009 16:12:17 +0000 (16:12 +0000)]
Ubuntu is not doing shell expansion anymore

14 years ago- handle TERM and HUP signals to init process (needed for Ubuntu libc6
Adrian Schröter [Wed, 25 Nov 2009 16:08:25 +0000 (16:08 +0000)]
- handle TERM and HUP signals to init process (needed for Ubuntu libc6
  postinst).
- don't extract wrong packages in case init_buildsystems fails
by mls and adrian

14 years agoconfigure debian packages not on installation of each package, but at
Adrian Schröter [Wed, 25 Nov 2009 10:53:53 +0000 (10:53 +0000)]
configure debian packages not on installation of each package, but at
once afterwards. However we need to do this twice, since the first
attempt usally fails due to cycle dependencies.

14 years agoadd support for xz compressed rpms (Fedora 12) on platforms without xz support in
Adrian Schröter [Fri, 20 Nov 2009 20:24:19 +0000 (20:24 +0000)]
add support for xz compressed rpms (Fedora 12) on platforms without xz support in
rpm.

14 years ago- speed up install by disabling fsync in rpm config
Michael Schröder [Thu, 19 Nov 2009 11:04:10 +0000 (11:04 +0000)]
- speed up install by disabling fsync in rpm config

14 years agoanother place to fix for xen tmpfs handling
Adrian Schröter [Thu, 12 Nov 2009 09:13:47 +0000 (09:13 +0000)]
another place to fix for xen tmpfs handling

14 years agosupport xen setups with root file on tmpfs
Adrian Schröter [Thu, 12 Nov 2009 09:04:38 +0000 (09:04 +0000)]
support xen setups with root file on tmpfs

14 years agoinstall unrpm to expected location (bnc#553880)
Ludwig Nussel [Wed, 11 Nov 2009 09:07:50 +0000 (09:07 +0000)]
install unrpm to expected location (bnc#553880)

14 years agomake Ubuntu 9.10 happy (thanks to Luke Imhoff for the information)
Adrian Schröter [Mon, 9 Nov 2009 21:18:12 +0000 (21:18 +0000)]
make Ubuntu 9.10 happy (thanks to Luke Imhoff for the information)

14 years agorevert last change, real fix is too much for this evening
Adrian Schröter [Mon, 9 Nov 2009 18:44:41 +0000 (18:44 +0000)]
revert last change, real fix is too much for this evening

14 years agochange order to use "keeping" of installed packages also for deb's
Adrian Schröter [Mon, 9 Nov 2009 18:16:13 +0000 (18:16 +0000)]
change order to use "keeping" of installed packages also for deb's

14 years agopxe image may not be compressed, depending on kiwi file.
Adrian Schröter [Sat, 7 Nov 2009 09:02:24 +0000 (09:02 +0000)]
pxe image may not be compressed, depending on kiwi file.

14 years agofail when compressing images isn't working (eg. expected files missing)
Adrian Schröter [Sat, 7 Nov 2009 06:37:54 +0000 (06:37 +0000)]
fail when compressing images isn't working (eg. expected files missing)

14 years ago-fixed #552993 ("osc build -p doesn't work")
Marcus Hüwe [Fri, 6 Nov 2009 15:14:23 +0000 (15:14 +0000)]
-fixed #552993 ("osc build -p doesn't work")

14 years agodisable suse-isolinux call, kiwi 3.74 is creating isos directly
Adrian Schröter [Mon, 26 Oct 2009 13:57:36 +0000 (13:57 +0000)]
disable suse-isolinux call, kiwi 3.74 is creating isos directly

14 years ago- strip version from source tag
Michael Schröder [Wed, 21 Oct 2009 12:51:30 +0000 (12:51 +0000)]
- strip version from source tag

14 years ago- add sl11.2.conf
Michael Schröder [Wed, 16 Sep 2009 09:06:59 +0000 (09:06 +0000)]
- add sl11.2.conf

14 years agodpkg can't read a control file that ends with a blank tag. This fixes that case.
David Greaves [Tue, 15 Sep 2009 17:17:38 +0000 (17:17 +0000)]
dpkg can't read a control file that ends with a blank tag. This fixes that case.

14 years agoSupport running a build.script for dsc builds as an alternative to (though usually...
David Greaves [Tue, 15 Sep 2009 17:09:41 +0000 (17:09 +0000)]
Support running a build.script for dsc builds as an alternative to (though usually including) dpkg-buildpackage

14 years ago- adapt selfprovides test for rpm-4.7
Michael Schröder [Tue, 8 Sep 2009 15:07:51 +0000 (15:07 +0000)]
- adapt selfprovides test for rpm-4.7

14 years ago- revert disttag for real
Michael Schröder [Tue, 8 Sep 2009 15:02:51 +0000 (15:02 +0000)]
- revert disttag for real

14 years agohandle extractbuild failure as bad build host failure.
Adrian Schröter [Mon, 7 Sep 2009 12:10:15 +0000 (12:10 +0000)]
handle extractbuild failure as bad build host failure.

14 years agoxm commands got fixed meanwhile, so we mark a build as "badhost" now, if xm
Adrian Schröter [Fri, 4 Sep 2009 09:51:48 +0000 (09:51 +0000)]
xm commands got fixed meanwhile, so we mark a build as "badhost" now, if xm
create call fails.

14 years agochangelog2spec: further escape %... statements if at begin of line,
Ruediger Oertel [Wed, 2 Sep 2009 10:27:26 +0000 (10:27 +0000)]
changelog2spec: further escape %... statements if at begin of line,
%% is not enough for %ifarch for example

14 years agoask for reports
Adrian Schröter [Fri, 21 Aug 2009 12:35:34 +0000 (12:35 +0000)]
ask for reports

14 years agoadd check for another running xen instance just before xm create
Adrian Schröter [Fri, 21 Aug 2009 12:33:57 +0000 (12:33 +0000)]
add check for another running xen instance just before xm create

14 years ago-added: baselib support for dpkg based targets.
Martin Mohring [Wed, 19 Aug 2009 12:22:12 +0000 (12:22 +0000)]
-added: baselib support for dpkg based targets.
 The code for this was written by David Greaves from project maemo/mer
 It is the counterpart of the rpm implementation. Both are used e.g. to
 provide transparent cross compilation - but not limited to.
 You can activate this by adding 'Support: libparse-debcontrol-perl' to
 meta prjconf and then adding
 the file baselibs-deb.conf, which is separate from the rpm
 baselibs.conf.
 Work is tested and finally integrated with the help of by Martin Mohring
 Idea inspired by the rpm version from Jan-Simon Moeller. Reviewed by
 Jan-Simon Moeller and Martin Mohring

M    build
M    mkbaselibs
A    baselibs_global-deb.conf

14 years agoAdd support for --overlay and --rsync-{src,dest} to build and osc.
Jan-Simon Möller [Tue, 18 Aug 2009 21:28:33 +0000 (21:28 +0000)]
Add support for --overlay and --rsync-{src,dest} to build and osc.
--overlay OVERLAY
              Copy overlay filesystem to buildroot after installing
              all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
              Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
              inside the buildroot using rsync.
              It will "%define RSYNCDONE 1" for handling %setup in your
              specfile. E.g.:
              %prep
              %if 0%{?RSYNCDONE}
              %setup -n aaa_base -T -D -b 5 -b 7
              %else
              %setup -n aaa_base -b 5 -b 7
              %endif
--rsync-dest RSYNCDEST

Todo: tell rpmbuild not to delete the folders.

14 years ago- first part of the "inject-local-packagedata" patch
Marcus Hüwe [Tue, 18 Aug 2009 13:59:52 +0000 (13:59 +0000)]
- first part of the "inject-local-packagedata" patch
- rewrote readdeps():
  * it parses build's current internal format (which is created by the create*deps scripts)
  * it expects a self-provides entry for each package
  * the $pkginfo hashref can be used to store additional information (version, release, arch)
  * at the moment it does not support different architectures per file (because we don't need it)

14 years ago- fixed: in case debtransform is no called SOURCES.DEB should still be present
Martin Mohring [Tue, 18 Aug 2009 13:14:35 +0000 (13:14 +0000)]
- fixed: in case debtransform is no called SOURCES.DEB should still be present

14 years ago- added: more *.conf files to come
Martin Mohring [Sun, 16 Aug 2009 20:17:49 +0000 (20:17 +0000)]
- added: more *.conf files to come

14 years agosupport opposite order of repository priorities for smart
Adrian Schröter [Fri, 14 Aug 2009 10:22:28 +0000 (10:22 +0000)]
support opposite order of repository priorities for smart

14 years agosupport autogenerated spec files
Adrian Schröter [Mon, 3 Aug 2009 08:59:29 +0000 (08:59 +0000)]
support autogenerated spec files

14 years agofix renaming of _service:* files
Adrian Schröter [Sat, 1 Aug 2009 10:00:19 +0000 (10:00 +0000)]
fix renaming of _service:* files

14 years agoadd build-ids for debuginfo packages for subpacks
Ruediger Oertel [Mon, 27 Jul 2009 15:00:08 +0000 (15:00 +0000)]
add build-ids for debuginfo packages for subpacks

14 years agofix for ccache support from
Adrian Schröter [Wed, 22 Jul 2009 16:04:59 +0000 (16:04 +0000)]
fix for ccache support from
Joshua Plautz <jplautz@cray.com>

14 years agomount proc filesystem for build compare run
Adrian Schröter [Wed, 22 Jul 2009 10:56:50 +0000 (10:56 +0000)]
mount proc filesystem for build compare run

14 years ago- also add rpmv3 compatibility hack to createrpmdeps
Michael Schröder [Fri, 17 Jul 2009 13:20:15 +0000 (13:20 +0000)]
- also add rpmv3 compatibility hack to createrpmdeps

14 years agohandle files from service correctly and strip their prefix.
Adrian Schröter [Fri, 10 Jul 2009 18:45:52 +0000 (18:45 +0000)]
handle files from service correctly and strip their prefix.

14 years agoreturn with value 3, if basic file system creation fails.
Michael Schröder [Tue, 7 Jul 2009 11:07:09 +0000 (11:07 +0000)]
return with value 3, if basic file system creation fails.
bs_worker will mark the build host as bad and retries on another one.

14 years agodo not call depmod until we use also the native kernel,
Michael Schröder [Fri, 19 Jun 2009 09:45:57 +0000 (09:45 +0000)]
do not call depmod until we use also the native kernel,
it can't match otherwise

14 years agoalso consider patches as sources
Ludwig Nussel [Wed, 17 Jun 2009 12:20:08 +0000 (12:20 +0000)]
also consider patches as sources

14 years agouse UTC as default timezone
Ludwig Nussel [Wed, 17 Jun 2009 12:20:03 +0000 (12:20 +0000)]
use UTC as default timezone

14 years ago- only print parse warnings if $config->{'warnings'} is set
Michael Schröder [Wed, 10 Jun 2009 13:08:05 +0000 (13:08 +0000)]
- only print parse warnings if $config->{'warnings'} is set
- set warnings for expanddeps/substitutedeps

14 years ago- support for legacy releasepkg mechanism
Michael Schröder [Tue, 9 Jun 2009 17:05:18 +0000 (17:05 +0000)]
- support for legacy releasepkg mechanism

15 years agofix typo in getchangetarget
Jan-Simon Möller [Thu, 4 Jun 2009 11:39:25 +0000 (11:39 +0000)]
fix typo in getchangetarget

15 years ago- rpm3 compatibility: retrofit missing self provides
Michael Schröder [Wed, 3 Jun 2009 12:54:22 +0000 (12:54 +0000)]
- rpm3 compatibility: retrofit missing self provides

15 years agochangetarget - allow change of rpmbuilds --target through a macro in prjconf.
Jan-Simon Möller [Wed, 3 Jun 2009 10:25:20 +0000 (10:25 +0000)]
changetarget - allow change of rpmbuilds --target through a macro in prjconf.
For building ARM packages, we need to be able to set the target of the build because in the qemu-usermode environment
this is not what rpmbuild autodetects. With this patch we can use this in the prjconf:
%ifarch armv5el
Changetarget: armv5tel-suse-linux
%endif
'osc build' needs this change, too. Otherwise we'd end up with a wrong autodetection when doing a osc build on real hardware > armv5.

15 years agouse bzip2 compression at all places for image results
Adrian Schröter [Wed, 3 Jun 2009 06:56:25 +0000 (06:56 +0000)]
use bzip2 compression at all places for image results

15 years agosimplify .src.rpm handling a bit (bnc#500397)
Ludwig Nussel [Thu, 28 May 2009 13:49:48 +0000 (13:49 +0000)]
simplify .src.rpm handling a bit (bnc#500397)

15 years agoprint warning if macros cannot be expanded (bnc#496189)
Ludwig Nussel [Thu, 28 May 2009 12:41:57 +0000 (12:41 +0000)]
print warning if macros cannot be expanded (bnc#496189)

15 years agonew spec file tool
Ludwig Nussel [Thu, 28 May 2009 12:41:51 +0000 (12:41 +0000)]
new spec file tool

15 years agoalso extract source, patch and url tags from main spec preamble
Ludwig Nussel [Thu, 28 May 2009 12:41:46 +0000 (12:41 +0000)]
also extract source, patch and url tags from main spec preamble

15 years ago- restore the original file mode. This should fix #503027 ("osc vc" (or rather "vc...
Marcus Hüwe [Sun, 17 May 2009 20:32:42 +0000 (20:32 +0000)]
- restore the original file mode. This should fix #503027 ("osc vc" (or rather "vc") changes file mode of .changes file)

15 years agoanother try, doable results are wanted in ovc & vmx case.
Lars Vogdt [Fri, 8 May 2009 11:56:51 +0000 (11:56 +0000)]
another try, doable results are wanted in ovc & vmx case.

15 years agofix double build results in some cases caused by last commit
Adrian Schröter [Fri, 8 May 2009 11:43:42 +0000 (11:43 +0000)]
fix double build results in some cases caused by last commit

15 years agomake sure to compress images built with bootprofile=xen correctly
Christoph Thiel [Fri, 8 May 2009 11:29:32 +0000 (11:29 +0000)]
make sure to compress images built with bootprofile=xen correctly

15 years agoexclude changelog from specfile diff during build
Ruediger Oertel [Tue, 5 May 2009 13:12:02 +0000 (13:12 +0000)]
exclude changelog from specfile diff during build

15 years ago- fixed: build script can also be run via XEN, so we need also initscript_qemu_vm...
Martin Mohring [Mon, 4 May 2009 21:30:10 +0000 (21:30 +0000)]
- fixed: build script can also be run via XEN, so we need also initscript_qemu_vm script

15 years agomake raw files from oemboot build results directly accessable
Adrian Schröter [Wed, 29 Apr 2009 12:07:00 +0000 (12:07 +0000)]
make raw files from oemboot build results directly accessable