platform/upstream/build.git
12 years agofix kiwi verbosity again, version number detection back to 4.90
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"

12 years ago- disable nmi_watchdog in kvm (optimization and workaround for bnc#736268)
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)

12 years agoalso cat the rpmlint.log if rpmlint failed
Stephan Kulow [Mon, 12 Dec 2011 10:32:35 +0000 (11:32 +0100)]
also cat the rpmlint.log if rpmlint failed

12 years ago- try to make VM build faster with less filesystem safety
Adrian Schröter [Fri, 9 Dec 2011 14:21:22 +0000 (15:21 +0100)]
- try to make VM build faster with less filesystem safety

12 years agosave rpmlint log in OTHER
Ludwig Nussel [Thu, 1 Dec 2011 11:11:53 +0000 (12:11 +0100)]
save rpmlint log in OTHER

12 years agoadd special config for spec file parsers
Ludwig Nussel [Fri, 11 Nov 2011 09:36:19 +0000 (10:36 +0100)]
add special config for spec file parsers

12 years ago- build_kiwi.sh: use new kiwi calling syntax already starting with 4.85
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

13 years ago- do not fail with rpm v5 (Mandriva 2011)
Adrian Schröter [Tue, 25 Oct 2011 14:33:06 +0000 (16:33 +0200)]
- do not fail with rpm v5 (Mandriva 2011)

13 years ago- support "any" in debian's dependency predicates
Michael Schroeder [Mon, 17 Oct 2011 13:45:26 +0000 (15:45 +0200)]
- support "any" in debian's dependency predicates

13 years ago- add hook to run QA tests esp for post product builds
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

13 years agoadd sles11sp2 config, hack autodetection to use it if needed
Michael Schroeder [Mon, 10 Oct 2011 17:07:59 +0000 (19:07 +0200)]
add sles11sp2 config, hack autodetection to use it if needed

13 years ago- add armv5l, armv6l and armv7l architectures
Adrian Schröter [Thu, 6 Oct 2011 05:03:10 +0000 (07:03 +0200)]
- add armv5l, armv6l and armv7l architectures

13 years ago- call qemu via binfmt misc handler. This requires a patched qemu atm but without...
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.

13 years agoKVM: use cache= for non-virtio too
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>
13 years agoKVM: use cache=unsafe
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>
13 years agoadd kvm for ppc64
Dinar Valeev [Mon, 26 Sep 2011 20:45:17 +0000 (22:45 +0200)]
add kvm for ppc64

13 years ago- set minimal mmap addr to 0 in VM
Adrian Schröter [Tue, 27 Sep 2011 14:22:17 +0000 (16:22 +0200)]
- set minimal mmap addr to 0 in VM

13 years ago- xen does not like : anymore
Adrian Schröter [Mon, 26 Sep 2011 20:24:20 +0000 (22:24 +0200)]
- xen does not like : anymore

13 years ago- set cpuid correctly on KVM
Adrian Schröter [Mon, 26 Sep 2011 12:14:31 +0000 (14:14 +0200)]
- set cpuid correctly on KVM

13 years ago- fix lacking -32bit rpms on single arch medias
Adrian Schröter [Fri, 16 Sep 2011 10:09:06 +0000 (12:09 +0200)]
- fix lacking -32bit rpms on single arch medias

13 years ago[build] copy qemus from server not for local build
Martin Mohring [Mon, 15 Aug 2011 02:25:25 +0000 (04:25 +0200)]
[build] copy qemus from server not for local build

13 years ago[build] make sure local build works correctly when qemu-reg is present
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

13 years ago[build] reworked qemu init code. never mix up local and OBS backend server installed...
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.

13 years ago[build] fix typo in qemu-reg
Martin Mohring [Thu, 11 Aug 2011 16:47:46 +0000 (18:47 +0200)]
[build] fix typo in qemu-reg

13 years ago- replace RELEASE place holders in spec files even when they come via SPEC_REL via...
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

13 years ago- allow extraction of empty files
Michael Schroeder [Thu, 21 Jul 2011 18:29:52 +0000 (20:29 +0200)]
- allow extraction of empty files

13 years ago- support '%expand' and macros with args
Michael Schroeder [Thu, 21 Jul 2011 10:48:59 +0000 (12:48 +0200)]
- support '%expand' and macros with args

13 years ago- fix syntax
Adrian Schröter [Wed, 20 Jul 2011 15:44:14 +0000 (17:44 +0200)]
- fix syntax

13 years ago- speed optimization for kvm using raw block devices (reported by Cristian Rodríguez)
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)

13 years ago- handle broken kiwi from openSUSE 11.4 correctly and increase runlevel to 2 by defau...
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

13 years ago- do not specify verbose level on product build, some kiwi versions are buggy in...
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

13 years ago- install lxc.conf file
Adrian Schröter [Wed, 15 Jun 2011 06:35:34 +0000 (08:35 +0200)]
- install lxc.conf file

13 years ago- remove Adrian's BS
Michael Schroeder [Wed, 8 Jun 2011 09:23:40 +0000 (11:23 +0200)]
- remove Adrian's BS

13 years ago- detect full file systems at the end of the build and mark host as bad host
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

13 years ago- handle past and current kiwi versions correctly during product build calls
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

13 years ago- do not build ia64 baselibs packages on openSUSE, but keep it for SLE builds
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

13 years ago- add simple build description show function
Adrian Schröter [Tue, 24 May 2011 14:58:04 +0000 (16:58 +0200)]
- add simple build description show function

13 years ago- make peace with rpm-4.9 by not undefining the _suse_insert_debug_package macro...
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

13 years ago- fix syntax error from last commit
Adrian Schröter [Sun, 15 May 2011 19:20:31 +0000 (21:20 +0200)]
- fix syntax error from last commit

13 years ago[build] unbreak 236570d19ea2a31bcd2197ace0c0e6e70ead8f17, still mount images (non...
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

13 years ago- add config for factory builds
Adrian Schröter [Mon, 2 May 2011 05:37:35 +0000 (07:37 +0200)]
- add config for factory builds

13 years ago- mkdrpms: also support files instead of directories as arguments
Michael Schroeder [Thu, 28 Apr 2011 13:45:50 +0000 (15:45 +0200)]
- mkdrpms: also support files instead of directories as arguments

13 years ago- get rid of glob() call, make it write a "dseq" file
Michael Schroeder [Thu, 28 Apr 2011 13:24:05 +0000 (15:24 +0200)]
- get rid of glob() call, make it write a "dseq" file

13 years agochange regexp to not break on mail addresses containing 4 digits
Ruediger Oertel [Tue, 26 Apr 2011 13:20:11 +0000 (15:20 +0200)]
change regexp to not break on mail addresses containing 4 digits

13 years ago[build] Fix typo.
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>
13 years ago[build] Add btrfs support to the worker autosetup disks and make sure the initrd...
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>
13 years ago- workaround a bug in qemu-kvm where wrong cpuid can get set
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

13 years ago- build with single cpu on debian again according to their policy
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

13 years agomake sure /.build is available always
Ludwig Nussel [Wed, 6 Apr 2011 10:01:36 +0000 (12:01 +0200)]
make sure /.build is available always

13 years agochroot before touching files in build root
Ludwig Nussel [Tue, 5 Apr 2011 12:24:33 +0000 (14:24 +0200)]
chroot before touching files in build root

13 years ago[build] bring initvm based QEMU Usermode registration in file qemu-reg to the same...
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

13 years ago[build] add needed data to fix issues in xen/kvm continuation.
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>
13 years ago- do not mount block devices via loop device
Adrian Schröter [Mon, 21 Mar 2011 14:33:39 +0000 (15:33 +0100)]
- do not mount block devices via loop device

13 years agoinit_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin
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>
13 years agoinitvm: add targets to the Makefile to support compilation and install
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>
13 years agoUse initvm: Add recognition and use of initvm over initscript_qemu_vm
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>
13 years agobuild-initvm: new files for static binary to register qemu binfmt_misc
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>
13 years ago- accept new 'cicntstart' parameter to specify the default cicnt for new packages...
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

13 years agoadd openSUSE 11.4 config
Adrian Schröter [Fri, 4 Mar 2011 13:28:08 +0000 (14:28 +0100)]
add openSUSE 11.4 config

13 years ago- fix xen build for SLE 11 mktemp
Adrian Schröter [Tue, 1 Mar 2011 15:29:25 +0000 (16:29 +0100)]
- fix xen build for SLE 11 mktemp

13 years agorequire bsdtar for VMs
Ludwig Nussel [Thu, 20 Jan 2011 09:55:19 +0000 (10:55 +0100)]
require bsdtar for VMs

13 years agoset CACHE_DIR in common_functions
Ludwig Nussel [Thu, 10 Feb 2011 16:27:54 +0000 (17:27 +0100)]
set CACHE_DIR in common_functions

13 years agosetup more compilers for ccache, by Christopher Horler (Bug #670099)
Adrian Schröter [Tue, 8 Feb 2011 07:59:28 +0000 (08:59 +0100)]
setup more compilers for ccache, by Christopher Horler (Bug #670099)

13 years agoadd code comments
Ludwig Nussel [Fri, 4 Feb 2011 08:09:14 +0000 (09:09 +0100)]
add code comments

13 years ago[build] to check for QEMU Usermode handle, loop over and not
Martin Mohring [Sat, 5 Feb 2011 19:36:29 +0000 (20:36 +0100)]
[build] to check for QEMU Usermode handle, loop over  and not

13 years ago[build] be more verbose on kvm not working
Martin Mohring [Sat, 5 Feb 2011 19:27:08 +0000 (20:27 +0100)]
[build] be more verbose on kvm not working

13 years agouse special config for spectool as fallback
Ludwig Nussel [Wed, 12 Jan 2011 06:50:24 +0000 (07:50 +0100)]
use special config for spectool as fallback

13 years agomake size calculation simpler
Ludwig Nussel [Fri, 21 Jan 2011 07:48:35 +0000 (08:48 +0100)]
make size calculation simpler

13 years agoallow empty VM_SWAP
Ludwig Nussel [Fri, 21 Jan 2011 07:28:41 +0000 (08:28 +0100)]
allow empty VM_SWAP

13 years agovm_memory is superfluous atm
Ludwig Nussel [Wed, 12 Jan 2011 07:06:17 +0000 (08:06 +0100)]
vm_memory is superfluous atm

13 years agospec_add_patch: handle multiple patches at once
Ludwig Nussel [Thu, 20 Jan 2011 10:02:42 +0000 (11:02 +0100)]
spec_add_patch: handle multiple patches at once

13 years agoAdd armv7hl (hardfloat ABI) support. Beside armv7hl, there's also armv7nhl als compat...
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>
13 years agoSupport the <SPEC_REL> macro. This allows user values in the Release to be combined...
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>
13 years agoUse $line instead of $l when there are so many $1 nearby
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

13 years agomake debtransform support packages with .tar.bz2 and .zip tarballs
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

13 years agoIn ext4 just axe the journal alltogether.
Cristian Rodríguez [Thu, 19 Aug 2010 19:06:27 +0000 (15:06 -0400)]
In ext4 just axe the journal alltogether.

13 years agopass BUILD_JOBS to DSC_BUILD_CMD
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

13 years ago- also use --numeric-owner in bsdtar case
Michael Schroeder [Mon, 10 Jan 2011 15:46:13 +0000 (16:46 +0100)]
- also use --numeric-owner in bsdtar case

13 years agostrip XENID a bit more, the new xen tools would strip away the number otherwise
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

13 years agoremove exit marker in cleanup_and_exit
Michael Schroeder [Wed, 5 Jan 2011 16:55:17 +0000 (17:55 +0100)]
remove exit marker in cleanup_and_exit

13 years agoxen.conf is not installable anymore
Adrian Schröter [Wed, 5 Jan 2011 16:54:39 +0000 (17:54 +0100)]
xen.conf is not installable anymore

13 years agoand now without a security issue
Adrian Schröter [Wed, 5 Jan 2011 14:47:26 +0000 (15:47 +0100)]
and now without a security issue

13 years agoredo last commit with temporary xen.conf file. Get rid of static file.
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.

13 years ago* support parallel build with xen
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

13 years agodon't try to copy oldpackages inside vm
Ludwig Nussel [Mon, 13 Dec 2010 10:48:28 +0000 (11:48 +0100)]
don't try to copy oldpackages inside vm

13 years ago- run createrepo with --simple-md-filenames if possible
Michael Schroeder [Fri, 10 Dec 2010 12:06:47 +0000 (13:06 +0100)]
- run createrepo with --simple-md-filenames if possible

13 years ago- also use -o when using bsdtar --chroot
Michael Schroeder [Fri, 10 Dec 2010 10:00:06 +0000 (11:00 +0100)]
- also use -o when using bsdtar --chroot

13 years ago- use bsdtar if possible
Michael Schroeder [Tue, 7 Dec 2010 17:06:45 +0000 (18:06 +0100)]
- use bsdtar if possible

13 years ago- support 'OTHER' filedrop area, remove ZIP and EXE hack
Michael Schroeder [Thu, 2 Dec 2010 16:10:19 +0000 (17:10 +0100)]
- support 'OTHER' filedrop area, remove ZIP and EXE hack

13 years ago- make expanddeps use the highest version of a package if multiple versions aver...
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]

13 years agoremove .build.oldpackages if not used
Ludwig Nussel [Wed, 17 Nov 2010 12:08:40 +0000 (13:08 +0100)]
remove .build.oldpackages if not used

13 years agodon't create deltas if build is same as before
Ludwig Nussel [Wed, 17 Nov 2010 11:57:08 +0000 (12:57 +0100)]
don't create deltas if build is same as before

13 years agoexport zip and exe files from cross built ms-windows installer binaries via spec...
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

13 years agouse no-kvmclock. Time should be still consistent, maybe running a bit slower on long...
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.

13 years agodo not use "noapic" for kvm as recommended by Alex
Adrian Schröter [Thu, 18 Nov 2010 14:42:47 +0000 (15:42 +0100)]
do not use "noapic" for kvm as recommended by Alex

13 years agogive a better hint on using wrong kiwi repository path url
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

14 years agoinstall signdummy
Adrian Schröter [Thu, 11 Nov 2010 14:09:37 +0000 (15:09 +0100)]
install signdummy

14 years agoadd workaround for Ubuntu 10 builds
Michael Schroeder [Wed, 10 Nov 2010 15:01:35 +0000 (16:01 +0100)]
add workaround for Ubuntu 10 builds

14 years agoallow x in abuild password field
Michael Schroeder [Wed, 10 Nov 2010 14:19:45 +0000 (15:19 +0100)]
allow x in abuild password field

14 years agomake "noclobber" message silent
Michael Schroeder [Wed, 10 Nov 2010 13:32:40 +0000 (14:32 +0100)]
make "noclobber" message silent