Ludwig Nussel [Mon, 31 May 2010 12:12:22 +0000 (14:12 +0200)]
rename
Ludwig Nussel [Fri, 28 May 2010 09:21:20 +0000 (11:21 +0200)]
better readability
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
Ludwig Nussel [Fri, 25 Jun 2010 07:24:07 +0000 (09:24 +0200)]
-serial stdio is redundant for kvm (bnc#617123)
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.
Michael Schroeder [Thu, 17 Jun 2010 09:08:27 +0000 (11:08 +0200)]
- fix parsing of macros that contain {} blocks
Michael Schroeder [Mon, 14 Jun 2010 15:10:58 +0000 (17:10 +0200)]
- support xz decoder helper script
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)
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
Adrian Schröter [Sat, 29 May 2010 13:34:04 +0000 (15:34 +0200)]
fix rename of _service files
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
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
Cristian Rodríguez [Thu, 20 May 2010 12:43:37 +0000 (08:43 -0400)]
build starts at localtime but finishes at UTC
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
Adrian Schröter [Fri, 7 May 2010 15:37:17 +0000 (17:37 +0200)]
kill a possible existing xen instance first
Ludwig Nussel [Tue, 4 May 2010 14:35:44 +0000 (16:35 +0200)]
update test
Ludwig Nussel [Tue, 4 May 2010 14:35:26 +0000 (16:35 +0200)]
some refactoring
Ludwig Nussel [Tue, 4 May 2010 12:30:23 +0000 (14:30 +0200)]
don't use chown -R
Ludwig Nussel [Tue, 4 May 2010 11:56:55 +0000 (13:56 +0200)]
unify chown calls
Ludwig Nussel [Tue, 4 May 2010 08:07:58 +0000 (10:07 +0200)]
unify function declarations
Ludwig Nussel [Tue, 4 May 2010 08:05:12 +0000 (10:05 +0200)]
use separate function for running pkg pre/post scripts
Ludwig Nussel [Tue, 4 May 2010 11:26:20 +0000 (13:26 +0200)]
need to recursively chown TOPDIR
Ludwig Nussel [Mon, 3 May 2010 09:30:18 +0000 (11:30 +0200)]
ignore unknown tags in rpmlist file
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>
Ludwig Nussel [Thu, 29 Apr 2010 14:07:54 +0000 (16:07 +0200)]
don't duplicate arguments
Ludwig Nussel [Thu, 29 Apr 2010 12:28:39 +0000 (14:28 +0200)]
mkdir directory of autogenerated images
Ludwig Nussel [Thu, 29 Apr 2010 09:39:41 +0000 (11:39 +0200)]
add vm options to help output an unify option naming
Ludwig Nussel [Thu, 29 Apr 2010 09:02:17 +0000 (11:02 +0200)]
move initialization up
Ludwig Nussel [Thu, 29 Apr 2010 09:00:44 +0000 (11:00 +0200)]
add separate --vm-type and --vm-disk options
Ludwig Nussel [Thu, 29 Apr 2010 09:00:28 +0000 (11:00 +0200)]
lxc doesn't use disk images
Ludwig Nussel [Thu, 29 Apr 2010 08:52:39 +0000 (10:52 +0200)]
error out if mandatory arguments are missing
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
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"
Ludwig Nussel [Tue, 27 Apr 2010 09:35:36 +0000 (11:35 +0200)]
add blank line after rpmlint output
Ludwig Nussel [Tue, 27 Apr 2010 09:35:12 +0000 (11:35 +0200)]
turn off mkbaselibs verbosity
Ludwig Nussel [Mon, 26 Apr 2010 08:36:18 +0000 (10:36 +0200)]
fix emulator build without vm
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)
Adrian Schröter [Wed, 21 Apr 2010 17:22:44 +0000 (19:22 +0200)]
fix build-compare support in chroot mode
Adrian Schröter [Wed, 21 Apr 2010 12:01:33 +0000 (14:01 +0200)]
disable debug output when packaging kiwi live images
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)
Ludwig Nussel [Mon, 19 Apr 2010 15:05:16 +0000 (17:05 +0200)]
check changetarget an all architectures
Ludwig Nussel [Mon, 19 Apr 2010 14:58:15 +0000 (16:58 +0200)]
update test spec file
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
Ludwig Nussel [Wed, 14 Apr 2010 07:41:26 +0000 (09:41 +0200)]
wait for power off sysrq to take effect (bnc#595916)
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
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>
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)
Adrian Schröter [Fri, 9 Apr 2010 14:49:05 +0000 (16:49 +0200)]
handle comma seperated architectures for arch= attribute correctly
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>
Adrian Schröter [Fri, 9 Apr 2010 13:56:28 +0000 (15:56 +0200)]
fix syntax error
Ludwig Nussel [Fri, 9 Apr 2010 11:30:11 +0000 (13:30 +0200)]
whitespace fixes
Yi Yang [Fri, 9 Apr 2010 09:00:17 +0000 (17:00 +0800)]
Can recognize more remote repo url and some cleanups
Yi Yang [Fri, 2 Apr 2010 06:57:59 +0000 (14:57 +0800)]
Support remote repos
Ludwig Nussel [Thu, 8 Apr 2010 06:51:14 +0000 (08:51 +0200)]
add --shell option to spawn shell in chroot instead of building
Ludwig Nussel [Thu, 1 Apr 2010 13:48:52 +0000 (15:48 +0200)]
print warning if halt -f -p doesn't work
Ludwig Nussel [Wed, 31 Mar 2010 15:06:44 +0000 (17:06 +0200)]
pass --no-init flag to vm
Ludwig Nussel [Wed, 31 Mar 2010 14:40:16 +0000 (16:40 +0200)]
set mmap_min_addr to 0 in vm for qemu
Ludwig Nussel [Wed, 31 Mar 2010 14:39:31 +0000 (16:39 +0200)]
prepare qemu only outside vm
Ludwig Nussel [Wed, 31 Mar 2010 13:26:24 +0000 (15:26 +0200)]
use $BUILD_ROOT ...
Michael Schroeder [Wed, 31 Mar 2010 13:05:35 +0000 (15:05 +0200)]
- fix desktopfile move for coolo
Ludwig Nussel [Wed, 31 Mar 2010 12:49:05 +0000 (14:49 +0200)]
save rpmlint output for easier processing by external tools
Ludwig Nussel [Wed, 31 Mar 2010 08:55:01 +0000 (10:55 +0200)]
don't use emulator if host and target arch are equal
Ludwig Nussel [Wed, 31 Mar 2010 06:45:44 +0000 (08:45 +0200)]
refactor cross build code
Ludwig Nussel [Wed, 31 Mar 2010 08:46:20 +0000 (10:46 +0200)]
abort if $TOPDIR is empty
Ludwig Nussel [Wed, 31 Mar 2010 06:54:17 +0000 (08:54 +0200)]
fix use of virtio initrd
Ludwig Nussel [Tue, 30 Mar 2010 09:32:55 +0000 (11:32 +0200)]
better hint about missing fstab entry
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.
Ludwig Nussel [Mon, 29 Mar 2010 14:31:08 +0000 (16:31 +0200)]
automatically create disk images for vm always
Ludwig Nussel [Mon, 29 Mar 2010 14:23:12 +0000 (16:23 +0200)]
expand initrd symlink
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
Ludwig Nussel [Mon, 29 Mar 2010 11:26:02 +0000 (13:26 +0200)]
refactor vmdisk autosetup code
Ludwig Nussel [Mon, 29 Mar 2010 11:26:20 +0000 (13:26 +0200)]
fix if condition
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jan-Simon Möller [Thu, 25 Mar 2010 19:49:08 +0000 (20:49 +0100)]
Fix VM build.
Ludwig Nussel [Thu, 25 Mar 2010 09:48:22 +0000 (10:48 +0100)]
always rm /.build, could be leftover from lxc build
Michael Schroeder [Wed, 24 Mar 2010 17:17:12 +0000 (18:17 +0100)]
do_subst: ignore relations when doing substitutions
Michael Schroeder [Wed, 24 Mar 2010 11:17:09 +0000 (12:17 +0100)]
Merge branch 'master' of gitorious.org:opensuse/build
Michael Schroeder [Wed, 24 Mar 2010 11:16:49 +0000 (12:16 +0100)]
- try sysrq when halt is not available
Ludwig Nussel [Wed, 24 Mar 2010 10:54:48 +0000 (11:54 +0100)]
make sure proc is mounted for build-compare (bnc#590462)
Ludwig Nussel [Wed, 24 Mar 2010 10:50:28 +0000 (11:50 +0100)]
require build-compare if --oldpackages is specified
Michael Schroeder [Wed, 10 Mar 2010 12:57:27 +0000 (13:57 +0100)]
- cleanup code, fix instsource autovivification bug
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)
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
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
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.
Ludwig Nussel [Fri, 5 Mar 2010 15:49:22 +0000 (16:49 +0100)]
lxc support
Michael Schroeder [Wed, 3 Mar 2010 11:39:00 +0000 (12:39 +0100)]
- add method to query leadsigid