Adrian Schröter [Mon, 27 Feb 2012 16:40:22 +0000 (17:40 +0100)]
- use xz as compression tool for oem-kiwi images if possible (as it support sparse file recreation)
Adrian Schröter [Mon, 27 Feb 2012 10:37:52 +0000 (11:37 +0100)]
- use "stat" binary instead of "ls" to check for / owner, it needs less libraries
Martin Vidner [Fri, 17 Feb 2012 01:04:40 +0000 (02:04 +0100)]
Added progress counters to init_buildsystem.
[8/31] preinstalling glibc...
[42/109] installing bash-4.2-46.2
Adrian Schröter [Mon, 13 Feb 2012 08:48:29 +0000 (09:48 +0100)]
- add 12.2 config
Dinar Valeev [Mon, 6 Feb 2012 10:39:03 +0000 (11:39 +0100)]
- don't run kvm check inside VM. Smarter memory check
Adrian Schröter [Thu, 2 Feb 2012 17:13:21 +0000 (18:13 +0100)]
- prepare hostarch OBS handling
Dinar Valeev [Wed, 1 Feb 2012 16:26:23 +0000 (17:26 +0100)]
don't run kvm check inside VM. Smarter memory check
Hi,
It seems jobs are failed while KVM check is being performed inside VM.
Let's fix it.
>From
a09bc777f13ba9bdaf38047d1f6dfa683f0444c6 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.de>
Date: Wed, 1 Feb 2012 17:21:06 +0100
Subject: [PATCH] don't run kvm check inside VM. Smarter memory check
Adrian Schröter [Wed, 1 Feb 2012 10:42:46 +0000 (11:42 +0100)]
- take swap space into account durint ulimit settings. Fixes qemu arm builds
Adrian Schröter [Wed, 1 Feb 2012 07:20:09 +0000 (08:20 +0100)]
- support multiple preference sections in kiwi 5
Adrian Schröter [Fri, 27 Jan 2012 16:36:09 +0000 (17:36 +0100)]
- fix architecture detection
Adrian Schröter [Fri, 27 Jan 2012 16:08:35 +0000 (17:08 +0100)]
- ppc 32bit requires a gross hack ...
Adrian Schröter [Fri, 27 Jan 2012 15:34:41 +0000 (16:34 +0100)]
- fix personality switch for ppc and some more architectures
Adrian Schröter [Thu, 26 Jan 2012 12:39:06 +0000 (13:39 +0100)]
- updated version of Dinar's kvm ppc handling
Dinar Valeev [Thu, 26 Jan 2012 12:02:24 +0000 (13:02 +0100)]
- fix ppc kvm build
Unfortunately, our check for KVM environment is not smart enough to
catch non kvm (chroot) mode.
Remove checks for now (at that time $VM_TYPE variable is not available),
as kvm mode will run just in testing mode.
Dinar Valeev [Fri, 20 Jan 2012 14:01:48 +0000 (15:01 +0100)]
- fix ppc kvm build
Ludwig Nussel [Tue, 10 Jan 2012 13:00:30 +0000 (14:00 +0100)]
reinitialize $RPMS as check scripts might delete packages
Ludwig Nussel [Wed, 30 Nov 2011 16:29:28 +0000 (17:29 +0100)]
use LWP::UserAgent, add more download options
Adrian Schröter [Wed, 14 Dec 2011 08:38:33 +0000 (09:38 +0100)]
- use absolute path when calling debtransformbz2 and zip
Adrian Schröter [Wed, 14 Dec 2011 08:22:42 +0000 (09:22 +0100)]
- more to sync with 12.1 OBS project config
Adrian Schröter [Wed, 14 Dec 2011 08:20:06 +0000 (09:20 +0100)]
- fix gcc version in 12.1
Ruediger Oertel [Tue, 13 Dec 2011 16:59:55 +0000 (17:59 +0100)]
fix kiwi verbosity again, version number detection back to 4.90
below use "-v -v", above use "-v 2"
Adrian Schröter [Mon, 12 Dec 2011 16:59:16 +0000 (17:59 +0100)]
- disable nmi_watchdog in kvm (optimization and workaround for bnc#736268)
Stephan Kulow [Mon, 12 Dec 2011 10:32:35 +0000 (11:32 +0100)]
also cat the rpmlint.log if rpmlint failed
Adrian Schröter [Fri, 9 Dec 2011 14:21:22 +0000 (15:21 +0100)]
- try to make VM build faster with less filesystem safety
Ludwig Nussel [Thu, 1 Dec 2011 11:11:53 +0000 (12:11 +0100)]
save rpmlint log in OTHER
Ludwig Nussel [Fri, 11 Nov 2011 09:36:19 +0000 (10:36 +0100)]
add special config for spec file parsers
Ruediger Oertel [Mon, 28 Nov 2011 12:38:28 +0000 (13:38 +0100)]
- build_kiwi.sh: use new kiwi calling syntax already starting with 4.85
Adrian Schröter [Tue, 25 Oct 2011 14:33:06 +0000 (16:33 +0200)]
- do not fail with rpm v5 (Mandriva 2011)
Michael Schroeder [Mon, 17 Oct 2011 13:45:26 +0000 (15:45 +0200)]
- support "any" in debian's dependency predicates
Adrian Schröter [Wed, 12 Oct 2011 14:37:13 +0000 (16:37 +0200)]
- add hook to run QA tests esp for post product builds
Michael Schroeder [Mon, 10 Oct 2011 17:07:59 +0000 (19:07 +0200)]
add sles11sp2 config, hack autodetection to use it if needed
Adrian Schröter [Thu, 6 Oct 2011 05:03:10 +0000 (07:03 +0200)]
- add armv5l, armv6l and armv7l architectures
Adrian Schröter [Tue, 4 Oct 2011 08:48:30 +0000 (10:48 +0200)]
- call qemu via binfmt misc handler. This requires a patched qemu atm but without the $0 args are not
set correctly and all kind of stuff wents wrong because of this.
Alexander Graf [Fri, 30 Sep 2011 09:49:15 +0000 (11:49 +0200)]
KVM: use cache= for non-virtio too
Currently we're only using cache=... when running with virtio in KVM. The
parameter is generic though and also helps a lot on IDE, so let's move from
the legacy -hda -hdb syntax to -drive and also enable proper caching along
the way.
Signed-off-by: Alexander Graf <agraf@suse.de>
Alexander Graf [Fri, 30 Sep 2011 09:49:14 +0000 (11:49 +0200)]
KVM: use cache=unsafe
When running with raw image files, we're not passing in any cache= parameter,
making KVM use the default. Unfortunately, the default is horribly slow and
way too secure about data which doesn't matter for our build use case.
So instead, we should just use cache=unsafe, rendering flush requests from the
guest as nops, making builds faster by many times.
Signed-off-by: Alexander Graf <agraf@suse.de>
Dinar Valeev [Mon, 26 Sep 2011 20:45:17 +0000 (22:45 +0200)]
add kvm for ppc64
Adrian Schröter [Tue, 27 Sep 2011 14:22:17 +0000 (16:22 +0200)]
- set minimal mmap addr to 0 in VM
Adrian Schröter [Mon, 26 Sep 2011 20:24:20 +0000 (22:24 +0200)]
- xen does not like : anymore
Adrian Schröter [Mon, 26 Sep 2011 12:14:31 +0000 (14:14 +0200)]
- set cpuid correctly on KVM
Adrian Schröter [Fri, 16 Sep 2011 10:09:06 +0000 (12:09 +0200)]
- fix lacking -32bit rpms on single arch medias
Martin Mohring [Mon, 15 Aug 2011 02:25:25 +0000 (04:25 +0200)]
[build] copy qemus from server not for local build
Martin Mohring [Sun, 14 Aug 2011 18:58:46 +0000 (20:58 +0200)]
[build] make sure local build works correctly when qemu-reg is present
Martin Mohring [Thu, 11 Aug 2011 16:49:14 +0000 (18:49 +0200)]
[build] reworked qemu init code. never mix up local and OBS backend server installed qemus.
Martin Mohring [Thu, 11 Aug 2011 16:47:46 +0000 (18:47 +0200)]
[build] fix typo in qemu-reg
Adrian Schröter [Wed, 10 Aug 2011 07:28:30 +0000 (09:28 +0200)]
- replace RELEASE place holders in spec files even when they come via SPEC_REL via project config
Michael Schroeder [Thu, 21 Jul 2011 18:29:52 +0000 (20:29 +0200)]
- allow extraction of empty files
Michael Schroeder [Thu, 21 Jul 2011 10:48:59 +0000 (12:48 +0200)]
- support '%expand' and macros with args
Adrian Schröter [Wed, 20 Jul 2011 15:44:14 +0000 (17:44 +0200)]
- fix syntax
Adrian Schröter [Wed, 20 Jul 2011 10:08:40 +0000 (12:08 +0200)]
- speed optimization for kvm using raw block devices (reported by Cristian Rodríguez)
Adrian Schröter [Fri, 1 Jul 2011 07:24:33 +0000 (09:24 +0200)]
- handle broken kiwi from openSUSE 11.4 correctly and increase runlevel to 2 by default now
Adrian Schröter [Wed, 29 Jun 2011 06:59:27 +0000 (08:59 +0200)]
- do not specify verbose level on product build, some kiwi versions are buggy in cmdline parsing here
Adrian Schröter [Wed, 15 Jun 2011 06:35:34 +0000 (08:35 +0200)]
- install lxc.conf file
Michael Schroeder [Wed, 8 Jun 2011 09:23:40 +0000 (11:23 +0200)]
- remove Adrian's BS
Adrian Schröter [Tue, 7 Jun 2011 19:32:26 +0000 (21:32 +0200)]
- detect full file systems at the end of the build and mark host as bad host
Adrian Schröter [Tue, 7 Jun 2011 07:51:48 +0000 (09:51 +0200)]
- handle past and current kiwi versions correctly during product build calls
Adrian Schröter [Mon, 6 Jun 2011 14:56:22 +0000 (16:56 +0200)]
- do not build ia64 baselibs packages on openSUSE, but keep it for SLE builds
Adrian Schröter [Tue, 24 May 2011 14:58:04 +0000 (16:58 +0200)]
- add simple build description show function
Michael Schroeder [Mon, 16 May 2011 18:17:55 +0000 (20:17 +0200)]
- make peace with rpm-4.9 by not undefining the _suse_insert_debug_package macro while expanding it
Adrian Schröter [Sun, 15 May 2011 19:20:31 +0000 (21:20 +0200)]
- fix syntax error from last commit
Martin Mohring [Sun, 15 May 2011 18:49:11 +0000 (20:49 +0200)]
[build] unbreak
236570d19ea2a31bcd2197ace0c0e6e70ead8f17, still mount images (non block devices) via loop mount
Adrian Schröter [Mon, 2 May 2011 05:37:35 +0000 (07:37 +0200)]
- add config for factory builds
Michael Schroeder [Thu, 28 Apr 2011 13:45:50 +0000 (15:45 +0200)]
- mkdrpms: also support files instead of directories as arguments
Michael Schroeder [Thu, 28 Apr 2011 13:24:05 +0000 (15:24 +0200)]
- get rid of glob() call, make it write a "dseq" file
Ruediger Oertel [Tue, 26 Apr 2011 13:20:11 +0000 (15:20 +0200)]
change regexp to not break on mail addresses containing 4 digits
Jan-Simon Möller [Wed, 20 Apr 2011 14:24:04 +0000 (16:24 +0200)]
[build] Fix typo.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Wed, 20 Apr 2011 14:13:01 +0000 (16:13 +0200)]
[build] Add btrfs support to the worker autosetup disks and make sure the initrd contains all needed modules by default.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Adrian Schröter [Fri, 15 Apr 2011 06:21:21 +0000 (08:21 +0200)]
- workaround a bug in qemu-kvm where wrong cpuid can get set
Adrian Schröter [Fri, 15 Apr 2011 06:17:38 +0000 (08:17 +0200)]
- build with single cpu on debian again according to their policy
Ludwig Nussel [Wed, 6 Apr 2011 10:01:36 +0000 (12:01 +0200)]
make sure /.build is available always
Ludwig Nussel [Tue, 5 Apr 2011 12:24:33 +0000 (14:24 +0200)]
chroot before touching files in build root
Martin Mohring [Sun, 3 Apr 2011 15:30:11 +0000 (17:30 +0200)]
[build] bring initvm based QEMU Usermode registration in file qemu-reg to the same list as currently used in initscript_qemu_vm
Jan-Simon Möller [Tue, 22 Mar 2011 12:28:41 +0000 (13:28 +0100)]
[build] add needed data to fix issues in xen/kvm continuation.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Adrian Schröter [Mon, 21 Mar 2011 14:33:39 +0000 (15:33 +0100)]
- do not mount block devices via loop device
James Perkins [Sat, 18 Sep 2010 00:15:26 +0000 (17:15 -0700)]
init_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin
copy_qemu is used to populate the virtual machine's rootfs with
/usr/bin/qemu-* files, used for executing cross-arch usermode emulators.
The build server's getbuildcode routine populates the VM's $BUILD_DIR
(/.build) directory with scripts. If the server has also provided
qemu-* binaries there, copy them into the VM rootfs in preference to the
build host's /usr/bin/qemu-* binaries.
This change simplifies build worker qemu configuration.
Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
James Perkins [Sat, 18 Sep 2010 00:09:34 +0000 (17:09 -0700)]
initvm: add targets to the Makefile to support compilation and install
Packaging can now make use of new initvm-build and initvm-install
targets.
Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
James Perkins [Fri, 17 Sep 2010 23:50:38 +0000 (16:50 -0700)]
Use initvm: Add recognition and use of initvm over initscript_qemu_vm
build
- looks for and uses initvm in preference to initscript_qemu_vm
common_functions
- check_use_emulator uses initvm in preference to initscript_qemu_vm
init_buildsystem
- copy_qemu cleanup, qemu_register_binfmt and static install
- this is now based off the list of $EMULATOR_DEVS
- don't assume qemu-binfmt-conf.sh, bash-static or mount-static
are present
- after copy_qemu is called, prefer initvm over qemu-binfmt-conf.sh
when initializing binfmts
Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
James Perkins [Fri, 17 Sep 2010 23:18:19 +0000 (16:18 -0700)]
build-initvm: new files for static binary to register qemu binfmt_misc
Introduces initvm.c, which will be compiled by later to a binary,
$BUILD_DIR/initvm. initvm will:
1) mount proc and binfmt_misc and verify correct setup
2) read qemu-reg from /.build or /usr/lib/build and for each line,
install binfmt_misc support and verify success
3) verify existence of /.build/build and run the build script
This functionality obviates the need for $BUILD_DIR/initscript_qemu_vm
and the bash-static and mount-static x86 packages, but does not remove
build's ability to use them.
Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
Michael Schroeder [Thu, 17 Mar 2011 16:30:52 +0000 (17:30 +0100)]
- accept new 'cicntstart' parameter to specify the default cicnt for new packages/versions
Adrian Schröter [Fri, 4 Mar 2011 13:28:08 +0000 (14:28 +0100)]
add openSUSE 11.4 config
Adrian Schröter [Tue, 1 Mar 2011 15:29:25 +0000 (16:29 +0100)]
- fix xen build for SLE 11 mktemp
Ludwig Nussel [Thu, 20 Jan 2011 09:55:19 +0000 (10:55 +0100)]
require bsdtar for VMs
Ludwig Nussel [Thu, 10 Feb 2011 16:27:54 +0000 (17:27 +0100)]
set CACHE_DIR in common_functions
Adrian Schröter [Tue, 8 Feb 2011 07:59:28 +0000 (08:59 +0100)]
setup more compilers for ccache, by Christopher Horler (Bug #670099)
Ludwig Nussel [Fri, 4 Feb 2011 08:09:14 +0000 (09:09 +0100)]
add code comments
Martin Mohring [Sat, 5 Feb 2011 19:36:29 +0000 (20:36 +0100)]
[build] to check for QEMU Usermode handle, loop over and not
Martin Mohring [Sat, 5 Feb 2011 19:27:08 +0000 (20:27 +0100)]
[build] be more verbose on kvm not working
Ludwig Nussel [Wed, 12 Jan 2011 06:50:24 +0000 (07:50 +0100)]
use special config for spectool as fallback
Ludwig Nussel [Fri, 21 Jan 2011 07:48:35 +0000 (08:48 +0100)]
make size calculation simpler
Ludwig Nussel [Fri, 21 Jan 2011 07:28:41 +0000 (08:28 +0100)]
allow empty VM_SWAP
Ludwig Nussel [Wed, 12 Jan 2011 07:06:17 +0000 (08:06 +0100)]
vm_memory is superfluous atm
Ludwig Nussel [Thu, 20 Jan 2011 10:02:42 +0000 (11:02 +0100)]
spec_add_patch: handle multiple patches at once
Jan-Simon Möller [Mon, 17 Jan 2011 13:48:52 +0000 (06:48 -0700)]
Add armv7hl (hardfloat ABI) support. Beside armv7hl, there's also armv7nhl als compatible subarch with additional (neon) flags.
Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
David Greaves [Fri, 21 Jan 2011 15:36:11 +0000 (15:36 +0000)]
Support the <SPEC_REL> macro. This allows user values in the Release to be combined with <CI_CNT> etc
Signed-off-by: Martin Mohring <martin.mohring@5edatasoft.com>
David Greaves [Fri, 21 Jan 2011 10:40:03 +0000 (10:40 +0000)]
Use $line instead of $l when there are so many $1 nearby
Luboš Luňák [Wed, 15 Sep 2010 14:45:57 +0000 (16:45 +0200)]
make debtransform support packages with .tar.bz2 and .zip tarballs
http://lists.opensuse.org/opensuse-buildservice/2009-06/msg00193.html
Cristian Rodríguez [Thu, 19 Aug 2010 19:06:27 +0000 (15:06 -0400)]
In ext4 just axe the journal alltogether.
Fathi Boudra [Thu, 30 Dec 2010 11:20:47 +0000 (13:20 +0200)]
pass BUILD_JOBS to DSC_BUILD_CMD
allow parallel build for debian packages
Michael Schroeder [Mon, 10 Jan 2011 15:46:13 +0000 (16:46 +0100)]
- also use --numeric-owner in bsdtar case
Adrian Schröter [Thu, 6 Jan 2011 11:23:29 +0000 (12:23 +0100)]
strip XENID a bit more, the new xen tools would strip away the number otherwise
Michael Schroeder [Wed, 5 Jan 2011 16:55:17 +0000 (17:55 +0100)]
remove exit marker in cleanup_and_exit