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)
Martin Mohring [Thu, 7 Oct 2010 14:03:43 +0000 (16:03 +0200)]
[initscript_qemu_vm] the exec call could fail thus creating an endless build loop. this specific case should not cause a rebuild
Martin Mohring [Wed, 6 Oct 2010 23:32:37 +0000 (01:32 +0200)]
[initscript_qemu_vm]: support also sh4 QEMU registration now. QEMU basically works with Debian Sid
Martin Mohring [Tue, 5 Oct 2010 23:34:00 +0000 (01:34 +0200)]
[computeblocklists]: ioctl FIGETBSZ are not the same on ARM / i386 as the are on PPC / MIPS
James Perkins [Mon, 13 Sep 2010 03:12:33 +0000 (20:12 -0700)]
build: correct disk image file creation, it was one byte too large
"dd if=/dev/zero bs=1 count=1 of=<diskimage> seek=<sizeinMB>*1024*1024"
resulted in a file that is desired size + 1 byte. Subtract one byte
from the seek arithmetic, so that the write of 1 byte makes the disk
disk image exactly the right size. In the future it might be preferable
to use "qemu-image create -f raw <diskimage>" to do this operation.
Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Michael Schroeder [Tue, 21 Sep 2010 13:12:11 +0000 (15:12 +0200)]
- add rpm-x86 hack for cross builds. will be removed again in the future
Michael Schroeder [Tue, 21 Sep 2010 09:43:45 +0000 (11:43 +0200)]
Revert "[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being installed in case of is_emulator_arch. E.g. omit normal install of package which is being replaced or unused anyway."
preinstalls without installs make no sense.
This reverts commit
2507f55cadf50a5d77f183361ab0ee94f44c110d.
Jan-Simon Möller [Fri, 17 Sep 2010 17:46:10 +0000 (19:46 +0200)]
[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being installed in case of is_emulator_arch. E.g. omit normal install of package which is being replaced or unused anyway.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Ludwig Nussel [Mon, 20 Sep 2010 12:15:56 +0000 (14:15 +0200)]
install makedeltarpms script too
Ludwig Nussel [Tue, 7 Sep 2010 08:15:09 +0000 (10:15 +0200)]
also support https download
Ludwig Nussel [Tue, 3 Aug 2010 14:28:54 +0000 (16:28 +0200)]
introduce dist_canon() in Build.pm
Michael Schroeder [Mon, 20 Sep 2010 09:42:34 +0000 (11:42 +0200)]
rpm is in (8), not (1).
Michael Schroeder [Thu, 16 Sep 2010 13:03:38 +0000 (15:03 +0200)]
- add secret --signdummy option
Marcus Huewe [Thu, 16 Sep 2010 09:40:36 +0000 (11:40 +0200)]
- use a more precise tmpfile name (so that osc can exclude vc tmpfiles)
Adrian Schröter [Tue, 7 Sep 2010 12:43:18 +0000 (14:43 +0200)]
and revert the last two commits again to keep output compatibility
Adrian Schröter [Tue, 7 Sep 2010 08:37:37 +0000 (10:37 +0200)]
sparse is not supported by bzip2, just by tar
Adrian Schröter [Mon, 6 Sep 2010 18:28:21 +0000 (20:28 +0200)]
use sparse option when bzip2 raw files (patch by cthiel)
Michael Schroeder [Thu, 26 Aug 2010 15:23:33 +0000 (17:23 +0200)]
- detect multiversion specfiles
Martin Mohring [Mon, 23 Aug 2010 05:54:07 +0000 (07:54 +0200)]
fixed: mips and mipsel cross build support with QEMU
Marcus Huewe [Thu, 19 Aug 2010 12:47:12 +0000 (14:47 +0200)]
- commit darix' fix (missing "test" statement)
Ruediger Oertel [Thu, 12 Aug 2010 13:46:41 +0000 (15:46 +0200)]
mkbaselibs: gracefully skip non-existing rpms
Michael Schroeder [Wed, 4 Aug 2010 15:21:15 +0000 (17:21 +0200)]
- substitute <RELEASE> even if no release is specified
Ludwig Nussel [Mon, 2 Aug 2010 14:43:22 +0000 (16:43 +0200)]
make guessed BUILD_DIST available inside init_buildsystem
'order' for example also needs BUILD_DIST
Ludwig Nussel [Mon, 2 Aug 2010 14:20:42 +0000 (16:20 +0200)]
allow spaces in susetags repos too
Ludwig Nussel [Mon, 2 Aug 2010 11:54:36 +0000 (13:54 +0200)]
detect zypp repo cache changes
Ludwig Nussel [Mon, 2 Aug 2010 11:41:03 +0000 (13:41 +0200)]
retry redirected downloads
Ludwig Nussel [Mon, 2 Aug 2010 11:40:48 +0000 (13:40 +0200)]
handle spaces and utf8 in file names of zypp repos (bnc#626960)
Michael Schroeder [Wed, 28 Jul 2010 13:43:57 +0000 (15:43 +0200)]
- document --repo and --dist
Henne Vogelsang [Tue, 27 Jul 2010 13:24:28 +0000 (15:24 +0200)]
fix links that point to the wiki
Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>