platform/upstream/build.git
14 years agoonly rebuild initrd if not in build service mode
Ludwig Nussel [Mon, 29 Mar 2010 12:58:51 +0000 (14:58 +0200)]
only rebuild initrd if not in build service mode

build service always passes --rpmlint so use that as trigger

14 years agorefactor vmdisk autosetup code
Ludwig Nussel [Mon, 29 Mar 2010 11:26:02 +0000 (13:26 +0200)]
refactor vmdisk autosetup code

14 years agofix if condition
Ludwig Nussel [Mon, 29 Mar 2010 11:26:20 +0000 (13:26 +0200)]
fix if condition

14 years agoAdditional changes to support mips and ppc/ppc64 emulation
Jan-Simon Möller [Fri, 26 Mar 2010 15:50:23 +0000 (16:50 +0100)]
Additional changes to support mips and ppc/ppc64 emulation

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoEnable ext4 for KVM again.
Jan-Simon Möller [Fri, 26 Mar 2010 15:27:23 +0000 (16:27 +0100)]
Enable ext4 for KVM again.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofixed: missing qemu-kvm bin
Martin Mohring [Sun, 21 Mar 2010 23:42:31 +0000 (00:42 +0100)]
fixed: missing qemu-kvm bin

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAllow kernel and initrd preset in sysconfig.
Jan-Simon Möller [Fri, 26 Mar 2010 15:26:21 +0000 (16:26 +0100)]
Allow kernel and initrd preset in sysconfig.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofixed: build should not write on /boot
Jan-Simon Möller [Fri, 26 Mar 2010 15:24:50 +0000 (16:24 +0100)]
fixed: build should not write on /boot

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoChange disk image sizes from GB to MB.
Jan-Simon Möller [Fri, 19 Mar 2010 15:11:37 +0000 (16:11 +0100)]
Change disk image sizes from GB to MB.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoSupport ppc and mips in VM builds.
Jan-Simon Möller [Fri, 26 Mar 2010 14:54:45 +0000 (15:54 +0100)]
Support ppc and mips in VM builds.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd ext4 mkinitrd support.
Jan-Simon Möller [Wed, 17 Mar 2010 20:30:00 +0000 (21:30 +0100)]
Add ext4 mkinitrd support.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd selection for ext3/ext4 as worker's root disk-image filesystem.
Jan-Simon Möller [Wed, 17 Mar 2010 18:07:16 +0000 (19:07 +0100)]
Add selection for ext3/ext4 as worker's root disk-image filesystem.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd missing arm target scheduler archs in kvm path.
Jan-Simon Möller [Wed, 17 Mar 2010 16:14:48 +0000 (17:14 +0100)]
Add missing arm target scheduler archs in kvm path.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd VMDISK autosetup for workers and osc build.
Jan-Simon Möller [Fri, 26 Mar 2010 14:49:04 +0000 (15:49 +0100)]
Add VMDISK autosetup for workers and osc build.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agomake arm work for kvm builds
Jan-Simon Möller [Wed, 10 Mar 2010 20:04:22 +0000 (21:04 +0100)]
make arm work for kvm builds

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoqemu-arm on kvm
Jan-Simon Möller [Tue, 9 Mar 2010 20:21:40 +0000 (21:21 +0100)]
qemu-arm on kvm

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoFix user for mkbaselibs and add echo on internal usage.
Jan-Simon Möller [Thu, 25 Mar 2010 15:02:59 +0000 (16:02 +0100)]
Fix user for mkbaselibs and add echo on internal usage.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoFix VM build.
Jan-Simon Möller [Thu, 25 Mar 2010 19:49:08 +0000 (20:49 +0100)]
Fix VM build.

14 years agoalways rm /.build, could be leftover from lxc build
Ludwig Nussel [Thu, 25 Mar 2010 09:48:22 +0000 (10:48 +0100)]
always rm /.build, could be leftover from lxc build

14 years agodo_subst: ignore relations when doing substitutions
Michael Schroeder [Wed, 24 Mar 2010 17:17:12 +0000 (18:17 +0100)]
do_subst: ignore relations when doing substitutions

14 years agoMerge branch 'master' of gitorious.org:opensuse/build
Michael Schroeder [Wed, 24 Mar 2010 11:17:09 +0000 (12:17 +0100)]
Merge branch 'master' of gitorious.org:opensuse/build

14 years ago- try sysrq when halt is not available
Michael Schroeder [Wed, 24 Mar 2010 11:16:49 +0000 (12:16 +0100)]
- try sysrq when halt is not available

14 years agomake sure proc is mounted for build-compare (bnc#590462)
Ludwig Nussel [Wed, 24 Mar 2010 10:54:48 +0000 (11:54 +0100)]
make sure proc is mounted for build-compare (bnc#590462)

14 years agorequire build-compare if --oldpackages is specified
Ludwig Nussel [Wed, 24 Mar 2010 10:50:28 +0000 (11:50 +0100)]
require build-compare if --oldpackages is specified

14 years ago- cleanup code, fix instsource autovivification bug
Michael Schroeder [Wed, 10 Mar 2010 12:57:27 +0000 (13:57 +0100)]
- cleanup code, fix instsource autovivification bug

14 years ago* Collect exclusive arch from all possible needed architectures of kiwi file.
Adrian Schröter [Tue, 9 Mar 2010 15:23:23 +0000 (16:23 +0100)]
* Collect exclusive arch from all possible needed architectures of kiwi file.
* Drop packages with onlyarch="skipit"
* Do not list packages with arch= $not_target_arch
* join code for
  - repopackages
  - metapackages
  - packages (live image)

14 years agodo not create symlink here, do it in spec file instead based on rpm macros
Adrian Schröter [Mon, 8 Mar 2010 12:10:21 +0000 (13:10 +0100)]
do not create symlink here, do it in spec file instead based on rpm macros

14 years agoremove default.conf symlink in git. We will create it in build package,
Adrian Schröter [Mon, 8 Mar 2010 12:00:21 +0000 (13:00 +0100)]
remove default.conf symlink in git. We will create it in build package,
pointing to the building target

14 years agoadd more exit checks
Ludwig Nussel [Fri, 5 Mar 2010 15:49:49 +0000 (16:49 +0100)]
add more exit checks

it's now possible to stop the build script during prepare stage.
There's still a window between umounting the image and starting the
vm where a kill reqest can get lost though.

14 years agolxc support
Ludwig Nussel [Fri, 5 Mar 2010 15:49:22 +0000 (16:49 +0100)]
lxc support

14 years ago- add method to query leadsigid
Michael Schroeder [Wed, 3 Mar 2010 11:39:00 +0000 (12:39 +0100)]
- add method to query leadsigid

14 years agoMerge branch 'master' of git://gitorious.org/opensuse/build
Marcus Huewe [Sun, 28 Feb 2010 18:58:56 +0000 (19:58 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/build

14 years ago- support brackets in combination with alternatives (e.g. "foo [i386] | bar [amd64]")
Marcus Huewe [Sun, 28 Feb 2010 18:54:05 +0000 (19:54 +0100)]
- support brackets in combination with alternatives (e.g. "foo [i386] | bar [amd64]")

14 years agoAdded '--uid uid:gid' feature to specify abuild id in chroot
David Greaves [Mon, 22 Feb 2010 18:09:29 +0000 (18:09 +0000)]
Added '--uid uid:gid' feature to specify abuild id in chroot

14 years agoFix the right place.
Jan-Simon Möller [Fri, 19 Feb 2010 17:07:57 +0000 (18:07 +0100)]
Fix the right place.

14 years agoMove chown up as debian builds need it earlier if files have too restrictive permissions.
Jan-Simon Möller [Fri, 19 Feb 2010 14:41:48 +0000 (15:41 +0100)]
Move chown up as debian builds need it earlier if files have too restrictive permissions.

14 years agoalso xen guest images need the initrd files
Adrian Schröter [Wed, 17 Feb 2010 07:17:42 +0000 (08:17 +0100)]
also xen guest images need the initrd files

14 years ago- don't clobber REPO handle
Michael Schroeder [Tue, 16 Feb 2010 14:40:17 +0000 (15:40 +0100)]
- don't clobber REPO handle

14 years ago- fix perl syntax, don't leak fd
Michael Schroeder [Tue, 16 Feb 2010 14:39:22 +0000 (15:39 +0100)]
- fix perl syntax, don't leak fd

14 years agoxen images need the initrd files packaged
Adrian Schröter [Tue, 16 Feb 2010 14:28:54 +0000 (15:28 +0100)]
xen images need the initrd files packaged

14 years agofix bzip2 and sha1sum also in oem case
Adrian Schröter [Thu, 11 Feb 2010 16:00:59 +0000 (17:00 +0100)]
fix bzip2 and sha1sum also in oem case

14 years agofix exporting iso and raw files in oem mode
Adrian Schröter [Thu, 11 Feb 2010 15:54:40 +0000 (16:54 +0100)]
fix exporting iso and raw files in oem mode

14 years ago* tar vmx kind images into logical groups.
Adrian Schröter [Thu, 11 Feb 2010 10:31:56 +0000 (11:31 +0100)]
* tar vmx kind images into logical groups.
* do not tar .ovf files
* include .raw file if xenconfig exists

14 years agobuild_kiwi fix for vmx
Ruediger Oertel [Wed, 10 Feb 2010 16:09:27 +0000 (17:09 +0100)]
build_kiwi fix for vmx

14 years agocleanup build_kiwi.sh (step 3)
Ruediger Oertel [Wed, 10 Feb 2010 15:48:38 +0000 (16:48 +0100)]
cleanup build_kiwi.sh (step 3)

14 years agocleanup build_kiwi.sh (step 2 from ro)
Ruediger Oertel [Wed, 10 Feb 2010 15:45:30 +0000 (16:45 +0100)]
cleanup build_kiwi.sh (step 2 from ro)

14 years agocleanup build_kiwi.sh and add chroot (step 1 from adrian)
Ruediger Oertel [Wed, 10 Feb 2010 15:45:07 +0000 (16:45 +0100)]
cleanup build_kiwi.sh and add chroot (step 1 from adrian)

14 years agofix bash syntax for old bashes like on SLES 9 again
Adrian Schröter [Mon, 8 Feb 2010 12:32:13 +0000 (13:32 +0100)]
fix bash syntax for old bashes like on SLES 9 again

14 years agoredo the kiwi 4.1 support, we need to parse the type elements differently
Adrian Schröter [Tue, 2 Feb 2010 15:26:35 +0000 (16:26 +0100)]
redo the kiwi 4.1 support, we need to parse the type elements differently
to support also the live types

14 years agosupport kiwi 4.1 schema files
Adrian Schröter [Tue, 2 Feb 2010 10:22:32 +0000 (11:22 +0100)]
support kiwi 4.1 schema files

14 years agobe on the safe side, do skip createrepo only if DO_INIT is false
Adrian Schröter [Fri, 29 Jan 2010 10:18:11 +0000 (11:18 +0100)]
be on the safe side, do skip createrepo only if DO_INIT is false

14 years agoDo not run "createrepo" for kiwi builds when --no-init is used
Adrian Schröter [Fri, 29 Jan 2010 09:34:47 +0000 (10:34 +0100)]
Do not run "createrepo" for kiwi builds when --no-init is used

14 years agoadd script that simplifies adding patches to spec files
Ludwig Nussel [Fri, 22 Jan 2010 13:44:09 +0000 (14:44 +0100)]
add script that simplifies adding patches to spec files

14 years agorename spec2changes.pl -> spec2changelog
Ludwig Nussel [Fri, 22 Jan 2010 13:37:08 +0000 (14:37 +0100)]
rename spec2changes.pl -> spec2changelog

14 years agoupdate help
Ludwig Nussel [Fri, 22 Jan 2010 13:05:10 +0000 (14:05 +0100)]
update help

14 years agouse all enabled zypp repos by default
Ludwig Nussel [Fri, 22 Jan 2010 12:56:14 +0000 (13:56 +0100)]
use all enabled zypp repos by default

14 years agoadd support for using the system's zypp repos
Ludwig Nussel [Fri, 22 Jan 2010 12:24:56 +0000 (13:24 +0100)]
add support for using the system's zypp repos

14 years agojustify error message when no buildstatus could get written
Adrian Schröter [Fri, 22 Jan 2010 08:28:25 +0000 (09:28 +0100)]
justify error message when no buildstatus could get written

14 years agoadd Pascal's spec2changes script
Ludwig Nussel [Thu, 21 Jan 2010 19:26:51 +0000 (20:26 +0100)]
add Pascal's spec2changes script

14 years agoforgotten --root for substitutedeps
Adrian Schröter [Tue, 19 Jan 2010 13:24:26 +0000 (14:24 +0100)]
forgotten --root for substitutedeps

14 years agoswitch from sha1 to sha256 to be on the safe side security wise
Adrian Schröter [Mon, 18 Jan 2010 13:08:59 +0000 (14:08 +0100)]
switch from sha1 to sha256 to be on the safe side security wise

14 years agonicer progress log on kiwi image compression/sha1sum creation
Adrian Schröter [Sun, 17 Jan 2010 15:10:19 +0000 (16:10 +0100)]
nicer progress log on kiwi image compression/sha1sum creation

14 years agodo not include .raw file for vmx output with given output format
Adrian Schröter [Sun, 17 Jan 2010 09:33:11 +0000 (10:33 +0100)]
do not include .raw file for vmx output with given output format

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.