tools/obs-build.git
14 years agorename
Ludwig Nussel [Mon, 31 May 2010 12:12:22 +0000 (14:12 +0200)]
rename

14 years agobetter readability
Ludwig Nussel [Fri, 28 May 2010 09:21:20 +0000 (11:21 +0200)]
better readability

14 years agodon't pass -smp to kvm if $BUILD_JOBS is set due to icecream
Ludwig Nussel [Fri, 25 Jun 2010 07:32:02 +0000 (09:32 +0200)]
don't pass -smp to kvm if $BUILD_JOBS is set due to icecream

14 years ago-serial stdio is redundant for kvm (bnc#617123)
Ludwig Nussel [Fri, 25 Jun 2010 07:24:07 +0000 (09:24 +0200)]
-serial stdio is redundant for kvm (bnc#617123)

14 years agomake sha256sum run optional, old systems like SLE 10 based don't have it.
Adrian Schröter [Mon, 21 Jun 2010 11:37:16 +0000 (13:37 +0200)]
make sha256sum run optional, old systems like SLE 10 based don't have it.

14 years ago- fix parsing of macros that contain {} blocks
Michael Schroeder [Thu, 17 Jun 2010 09:08:27 +0000 (11:08 +0200)]
- fix parsing of macros that contain {} blocks

14 years ago- support xz decoder helper script
Michael Schroeder [Mon, 14 Jun 2010 15:10:58 +0000 (17:10 +0200)]
- support xz decoder helper script

14 years ago- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
Michael Schroeder [Mon, 14 Jun 2010 13:33:06 +0000 (15:33 +0200)]
- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)

14 years agorun kvm instance with the right number of cpus according to given parallel build...
Adrian Schröter [Thu, 10 Jun 2010 07:02:28 +0000 (09:02 +0200)]
run kvm instance with the right number of cpus according to given parallel build jobs

14 years agofix rename of _service files obs_2.0
Adrian Schröter [Sat, 29 May 2010 13:34:04 +0000 (15:34 +0200)]
fix rename of _service files

14 years agorename _service file in target source dir and not in local dir
Adrian Schröter [Fri, 28 May 2010 12:18:22 +0000 (14:18 +0200)]
rename _service file in target source dir and not in local dir

14 years ago- use the "noop" elevator on virtual machines
Cristian Rodríguez [Thu, 20 May 2010 13:33:27 +0000 (09:33 -0400)]
- use the "noop" elevator on virtual machines
- mount filesystems with "noatime"
- tune filesystems to use data=writeback mode by default

14 years agobuild starts at localtime but finishes at UTC
Cristian Rodríguez [Thu, 20 May 2010 12:43:37 +0000 (08:43 -0400)]
build starts at localtime but finishes at UTC

14 years agowe do not have implemented kiwi result file parsers yet, but don't die with internal...
Adrian Schröter [Thu, 27 May 2010 08:52:06 +0000 (10:52 +0200)]
we do not have implemented kiwi result file parsers yet, but don't die with internal errors for .iso files for now

14 years agokill a possible existing xen instance first
Adrian Schröter [Fri, 7 May 2010 15:37:17 +0000 (17:37 +0200)]
kill a possible existing xen instance first

14 years agoupdate test
Ludwig Nussel [Tue, 4 May 2010 14:35:44 +0000 (16:35 +0200)]
update test

14 years agosome refactoring
Ludwig Nussel [Tue, 4 May 2010 14:35:26 +0000 (16:35 +0200)]
some refactoring

14 years agodon't use chown -R
Ludwig Nussel [Tue, 4 May 2010 12:30:23 +0000 (14:30 +0200)]
don't use chown -R

14 years agounify chown calls
Ludwig Nussel [Tue, 4 May 2010 11:56:55 +0000 (13:56 +0200)]
unify chown calls

14 years agounify function declarations
Ludwig Nussel [Tue, 4 May 2010 08:07:58 +0000 (10:07 +0200)]
unify function declarations

14 years agouse separate function for running pkg pre/post scripts
Ludwig Nussel [Tue, 4 May 2010 08:05:12 +0000 (10:05 +0200)]
use separate function for running pkg pre/post scripts

14 years agoneed to recursively chown TOPDIR
Ludwig Nussel [Tue, 4 May 2010 11:26:20 +0000 (13:26 +0200)]
need to recursively chown TOPDIR

14 years agoignore unknown tags in rpmlist file
Ludwig Nussel [Mon, 3 May 2010 09:30:18 +0000 (11:30 +0200)]
ignore unknown tags in rpmlist file

14 years agoCrossBuild/Speedup (pre-)install hooks.
Jan-Simon Möller [Sat, 24 Apr 2010 11:01:56 +0000 (13:01 +0200)]
CrossBuild/Speedup (pre-)install hooks.
Introduction of:
* "CBpreinstall:"  in prjconf - add only if emulator is used
  as preinstall packages.
* "CBinstall:" in prjconf - add only if emulator is used to
  installed packages.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agodon't duplicate arguments
Ludwig Nussel [Thu, 29 Apr 2010 14:07:54 +0000 (16:07 +0200)]
don't duplicate arguments

14 years agomkdir directory of autogenerated images
Ludwig Nussel [Thu, 29 Apr 2010 12:28:39 +0000 (14:28 +0200)]
mkdir directory of autogenerated images

14 years agoadd vm options to help output an unify option naming
Ludwig Nussel [Thu, 29 Apr 2010 09:39:41 +0000 (11:39 +0200)]
add vm options to help output an unify option naming

14 years agomove initialization up
Ludwig Nussel [Thu, 29 Apr 2010 09:02:17 +0000 (11:02 +0200)]
move initialization up

14 years agoadd separate --vm-type and --vm-disk options
Ludwig Nussel [Thu, 29 Apr 2010 09:00:44 +0000 (11:00 +0200)]
add separate --vm-type and --vm-disk options

14 years agolxc doesn't use disk images
Ludwig Nussel [Thu, 29 Apr 2010 09:00:28 +0000 (11:00 +0200)]
lxc doesn't use disk images

14 years agoerror out if mandatory arguments are missing
Ludwig Nussel [Thu, 29 Apr 2010 08:52:39 +0000 (10:52 +0200)]
error out if mandatory arguments are missing

14 years ago- rename 'changetarget' to 'target' in config ('changetarget' still works)
Michael Schroeder [Thu, 29 Apr 2010 10:27:10 +0000 (12:27 +0200)]
- rename 'changetarget' to 'target' in config ('changetarget' still works)
- rename ABUILD_TARGET_ARCH to ABUILD_TARGET, as the rpm option is just --target
- cleanup changetarget script a bit

14 years agoSupport BuildIgnores of kiwi files. Need to be better defined in kiwi,
Adrian Schröter [Thu, 29 Apr 2010 10:05:59 +0000 (12:05 +0200)]
Support BuildIgnores of kiwi files. Need to be better defined in kiwi,
currently this is only possible via onlyarch="skipit"

14 years agoadd blank line after rpmlint output
Ludwig Nussel [Tue, 27 Apr 2010 09:35:36 +0000 (11:35 +0200)]
add blank line after rpmlint output

14 years agoturn off mkbaselibs verbosity
Ludwig Nussel [Tue, 27 Apr 2010 09:35:12 +0000 (11:35 +0200)]
turn off mkbaselibs verbosity

14 years agofix emulator build without vm
Ludwig Nussel [Mon, 26 Apr 2010 08:36:18 +0000 (10:36 +0200)]
fix emulator build without vm

14 years agofix build-compare support in chroot mode
Ruediger Oertel [Sun, 25 Apr 2010 22:19:43 +0000 (00:19 +0200)]
fix build-compare support in chroot mode
(fix the place that really matters)

14 years agofix build-compare support in chroot mode
Adrian Schröter [Wed, 21 Apr 2010 17:22:44 +0000 (19:22 +0200)]
fix build-compare support in chroot mode

14 years agodisable debug output when packaging kiwi live images
Adrian Schröter [Wed, 21 Apr 2010 12:01:33 +0000 (14:01 +0200)]
disable debug output when packaging kiwi live images

14 years agodetect configured virtio initrds on SUSE systems automatically
Adrian Schröter [Wed, 21 Apr 2010 09:57:49 +0000 (11:57 +0200)]
detect configured virtio initrds on SUSE systems automatically
(unbreak kvm support on appliance)

14 years agocheck changetarget an all architectures
Ludwig Nussel [Mon, 19 Apr 2010 15:05:16 +0000 (17:05 +0200)]
check changetarget an all architectures

14 years agoupdate test spec file
Ludwig Nussel [Mon, 19 Apr 2010 14:58:15 +0000 (16:58 +0200)]
update test spec file

14 years agoRevert "save rpmlint output for easier processing by external tools"
Adrian Schröter [Thu, 15 Apr 2010 13:57:42 +0000 (15:57 +0200)]
Revert "save rpmlint output for easier processing by external tools"
in agreement with Ludwig.

rpmlint.log and similar files should get exported as QA results
later, but they should not appear as build results to avoid
manualy sorting of files in lots of other places

This reverts commit e3f165caa543e85bd246b195cf2c7c230a96993f.

Conflicts:

build

14 years agowait for power off sysrq to take effect (bnc#595916)
Ludwig Nussel [Wed, 14 Apr 2010 07:41:26 +0000 (09:41 +0200)]
wait for power off sysrq to take effect (bnc#595916)

14 years agoups ... very small logic error... fixing the arch= attribute handling correctly
Adrian Schröter [Tue, 13 Apr 2010 14:26:40 +0000 (16:26 +0200)]
ups ... very small logic error... fixing the arch= attribute handling correctly

14 years agoAdd armv6el to emulator archs. It's not yet available as scheduler.
Jan-Simon Möller [Fri, 9 Apr 2010 23:01:16 +0000 (01:01 +0200)]
Add armv6el to emulator archs. It's not yet available as scheduler.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofix execution of mkbaselibs again, needs write permissions now (after using abuild...
Adrian Schröter [Fri, 9 Apr 2010 16:11:36 +0000 (18:11 +0200)]
fix execution of mkbaselibs again, needs write permissions now (after using abuild user)

14 years agohandle comma seperated architectures for arch= attribute correctly
Adrian Schröter [Fri, 9 Apr 2010 14:49:05 +0000 (16:49 +0200)]
handle comma seperated architectures for arch= attribute correctly

14 years agofixed: never do these kind of VM mmap min addr stuff here
Jan-Simon Möller [Fri, 9 Apr 2010 14:13:21 +0000 (16:13 +0200)]
fixed: never do these kind of VM mmap min addr stuff here

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofix syntax error
Adrian Schröter [Fri, 9 Apr 2010 13:56:28 +0000 (15:56 +0200)]
fix syntax error

14 years agowhitespace fixes
Ludwig Nussel [Fri, 9 Apr 2010 11:30:11 +0000 (13:30 +0200)]
whitespace fixes

14 years agoCan recognize more remote repo url and some cleanups
Yi Yang [Fri, 9 Apr 2010 09:00:17 +0000 (17:00 +0800)]
Can recognize more remote repo url and some cleanups

14 years agoSupport remote repos
Yi Yang [Fri, 2 Apr 2010 06:57:59 +0000 (14:57 +0800)]
Support remote repos

14 years agoadd --shell option to spawn shell in chroot instead of building
Ludwig Nussel [Thu, 8 Apr 2010 06:51:14 +0000 (08:51 +0200)]
add --shell option to spawn shell in chroot instead of building

14 years agoprint warning if halt -f -p doesn't work
Ludwig Nussel [Thu, 1 Apr 2010 13:48:52 +0000 (15:48 +0200)]
print warning if halt -f -p doesn't work

14 years agopass --no-init flag to vm
Ludwig Nussel [Wed, 31 Mar 2010 15:06:44 +0000 (17:06 +0200)]
pass --no-init flag to vm

14 years agoset mmap_min_addr to 0 in vm for qemu
Ludwig Nussel [Wed, 31 Mar 2010 14:40:16 +0000 (16:40 +0200)]
set mmap_min_addr to 0 in vm for qemu

14 years agoprepare qemu only outside vm
Ludwig Nussel [Wed, 31 Mar 2010 14:39:31 +0000 (16:39 +0200)]
prepare qemu only outside vm

14 years agouse $BUILD_ROOT ...
Ludwig Nussel [Wed, 31 Mar 2010 13:26:24 +0000 (15:26 +0200)]
use $BUILD_ROOT ...

14 years ago- fix desktopfile move for coolo
Michael Schroeder [Wed, 31 Mar 2010 13:05:35 +0000 (15:05 +0200)]
- fix desktopfile move for coolo

14 years agosave rpmlint output for easier processing by external tools
Ludwig Nussel [Wed, 31 Mar 2010 12:49:05 +0000 (14:49 +0200)]
save rpmlint output for easier processing by external tools

14 years agodon't use emulator if host and target arch are equal
Ludwig Nussel [Wed, 31 Mar 2010 08:55:01 +0000 (10:55 +0200)]
don't use emulator if host and target arch are equal

14 years agorefactor cross build code
Ludwig Nussel [Wed, 31 Mar 2010 06:45:44 +0000 (08:45 +0200)]
refactor cross build code

14 years agoabort if $TOPDIR is empty
Ludwig Nussel [Wed, 31 Mar 2010 08:46:20 +0000 (10:46 +0200)]
abort if $TOPDIR is empty

14 years agofix use of virtio initrd
Ludwig Nussel [Wed, 31 Mar 2010 06:54:17 +0000 (08:54 +0200)]
fix use of virtio initrd

14 years agobetter hint about missing fstab entry
Ludwig Nussel [Tue, 30 Mar 2010 09:32:55 +0000 (11:32 +0200)]
better hint about missing fstab entry

14 years agorestore build root owner at exit
Ludwig Nussel [Tue, 30 Mar 2010 09:26:39 +0000 (11:26 +0200)]
restore build root owner at exit

some post build checks seem to modify the owner of the build root.
When using a vm as non root the build root must always be writeable
as user though.

14 years agoautomatically create disk images for vm always
Ludwig Nussel [Mon, 29 Mar 2010 14:31:08 +0000 (16:31 +0200)]
automatically create disk images for vm always

14 years agoexpand initrd symlink
Ludwig Nussel [Mon, 29 Mar 2010 14:23:12 +0000 (16:23 +0200)]
expand initrd symlink

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