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
Adrian Schröter [Wed, 5 Jan 2011 16:54:39 +0000 (17:54 +0100)]
xen.conf is not installable anymore
Adrian Schröter [Wed, 5 Jan 2011 14:47:26 +0000 (15:47 +0100)]
and now without a security issue
Adrian Schröter [Wed, 5 Jan 2011 14:40:17 +0000 (15:40 +0100)]
redo last commit with temporary xen.conf file. Get rid of static file.
Adrian Schröter [Wed, 5 Jan 2011 14:13:13 +0000 (15:13 +0100)]
* support parallel build with xen
* support same vm options for xen and kvm
Ludwig Nussel [Mon, 13 Dec 2010 10:48:28 +0000 (11:48 +0100)]
don't try to copy oldpackages inside vm
Michael Schroeder [Fri, 10 Dec 2010 12:06:47 +0000 (13:06 +0100)]
- run createrepo with --simple-md-filenames if possible
Michael Schroeder [Fri, 10 Dec 2010 10:00:06 +0000 (11:00 +0100)]
- also use -o when using bsdtar --chroot
Michael Schroeder [Tue, 7 Dec 2010 17:06:45 +0000 (18:06 +0100)]
- use bsdtar if possible
Michael Schroeder [Thu, 2 Dec 2010 16:10:19 +0000 (17:10 +0100)]
- support 'OTHER' filedrop area, remove ZIP and EXE hack
Michael Schroeder [Wed, 1 Dec 2010 17:13:01 +0000 (18:13 +0100)]
- make expanddeps use the highest version of a package if multiple versions aver available in a repository [bnc#656599]
Ludwig Nussel [Wed, 17 Nov 2010 12:08:40 +0000 (13:08 +0100)]
remove .build.oldpackages if not used
Ludwig Nussel [Wed, 17 Nov 2010 11:57:08 +0000 (12:57 +0100)]
don't create deltas if build is same as before
Adrian Schröter [Tue, 23 Nov 2010 14:34:38 +0000 (15:34 +0100)]
export zip and exe files from cross built ms-windows installer binaries via spec files
Adrian Schröter [Thu, 18 Nov 2010 14:47:17 +0000 (15:47 +0100)]
use no-kvmclock. Time should be still consistent, maybe running a bit slower on long term builds.
Adrian Schröter [Thu, 18 Nov 2010 14:42:47 +0000 (15:42 +0100)]
do not use "noapic" for kvm as recommended by Alex
Adrian Schröter [Thu, 18 Nov 2010 10:54:18 +0000 (11:54 +0100)]
give a better hint on using wrong kiwi repository path url
Adrian Schröter [Thu, 11 Nov 2010 14:09:37 +0000 (15:09 +0100)]
install signdummy
Michael Schroeder [Wed, 10 Nov 2010 15:01:35 +0000 (16:01 +0100)]
add workaround for Ubuntu 10 builds
Michael Schroeder [Wed, 10 Nov 2010 14:19:45 +0000 (15:19 +0100)]
allow x in abuild password field
Michael Schroeder [Wed, 10 Nov 2010 13:32:40 +0000 (14:32 +0100)]
make "noclobber" message silent
Michael Schroeder [Fri, 29 Oct 2010 15:58:10 +0000 (17:58 +0200)]
- remove useless ';'
Adrian Schröter [Wed, 10 Nov 2010 13:20:31 +0000 (14:20 +0100)]
XEN is too broken to use tap:aio reliable :/
Revert "XEN: switch from using phy: to tap:aio: to improve block IO performance"
This reverts commit
e114578358725bccac5c77e5b0007ed8e2aa105a.
Adrian Schröter [Wed, 10 Nov 2010 07:54:11 +0000 (08:54 +0100)]
XEN: switch from using phy: to tap:aio: to improve block IO performance
Thanks to Berthold for the hint (test case time was reduced by > 30%)
Ludwig Nussel [Tue, 2 Nov 2010 16:31:28 +0000 (17:31 +0100)]
unlink correct file
Ludwig Nussel [Fri, 29 Oct 2010 09:19:02 +0000 (11:19 +0200)]
throw away deltas bigger than 80% of the reference
Ludwig Nussel [Mon, 18 Oct 2010 14:15:44 +0000 (16:15 +0200)]
use '.drpm' suffix instead of '.delta.rpm'
'.drpm' is easier to handle as it doesn't match '*.rpm'
Ludwig Nussel [Mon, 18 Oct 2010 14:14:54 +0000 (16:14 +0200)]
rename makedeltarpms -> mkdrpms
Michael Schroeder [Tue, 26 Oct 2010 14:33:05 +0000 (16:33 +0200)]
- fix xml parsing, allow to put strings in single quote
Adrian Schröter [Thu, 21 Oct 2010 07:03:59 +0000 (09:03 +0200)]
silence
Adrian Schröter [Thu, 14 Oct 2010 13:00:34 +0000 (15:00 +0200)]
add fallback archs to exclusive archs on product building (fixes hopefully #642925, not yet tested)