platform/upstream/build.git
11 years ago- support expansion of preinstallimage build type
Michael Schroeder [Wed, 20 Jun 2012 11:20:43 +0000 (13:20 +0200)]
- support expansion of preinstallimage build type

11 years ago- ignore empty packages when ordering (instead of dieing)
Michael Schroeder [Wed, 20 Jun 2012 11:20:09 +0000 (13:20 +0200)]
- ignore empty packages when ordering (instead of dieing)

11 years ago- support 'preinstallimage' parsing
Michael Schroeder [Wed, 20 Jun 2012 11:19:35 +0000 (13:19 +0200)]
- support 'preinstallimage' parsing

11 years ago- use __debug_package instead of _suse_insert_debug_package_seen, always undef _enabl...
Michael Schroeder [Thu, 14 Jun 2012 13:31:02 +0000 (15:31 +0200)]
- use __debug_package instead of _suse_insert_debug_package_seen, always undef _enable_debug_packages to unbreak Fedora17 builds

11 years ago- fix syntax error when compressing vmx kiwi build images
Adrian Schröter [Thu, 14 Jun 2012 09:45:10 +0000 (11:45 +0200)]
- fix syntax error when compressing vmx kiwi build images

11 years ago- fix building on RHEL4 again
Adrian Schröter [Tue, 12 Jun 2012 15:28:43 +0000 (17:28 +0200)]
- fix building on RHEL4 again

11 years ago- do not run createrepo on --no-init
Adrian Schröter [Tue, 12 Jun 2012 13:24:15 +0000 (15:24 +0200)]
- do not run createrepo on --no-init
- revert /usr/sbin/kiwi call, kiwi requires also sbin in $PATH (fixed in qemu-accel instead)

11 years ago- no progress step for already installed packages
Adrian Schröter [Tue, 12 Jun 2012 06:49:04 +0000 (08:49 +0200)]
- no progress step for already installed packages

11 years agowe need to call kiwi by path
Stephan Kulow [Sat, 9 Jun 2012 14:21:27 +0000 (16:21 +0200)]
we need to call kiwi by path

11 years ago- support 'binarytype' so that we can have different package creation frontends
Michael Schroeder [Fri, 8 Jun 2012 10:33:27 +0000 (12:33 +0200)]
- support 'binarytype' so that we can have different package creation frontends

11 years ago- simplify debug package code so that it also works with --target
Michael Schroeder [Tue, 5 Jun 2012 12:32:06 +0000 (14:32 +0200)]
- simplify debug package code so that it also works with --target

11 years ago- add targetarch hack for adrian, targetarch now sets the _target_cpu macro
Michael Schroeder [Thu, 31 May 2012 12:21:44 +0000 (14:21 +0200)]
- add targetarch hack for adrian, targetarch now sets the _target_cpu macro

11 years agoMerge pull request #14 from flichtenheld/setupccache
Adrian Schröter [Wed, 30 May 2012 19:22:23 +0000 (12:22 -0700)]
Merge pull request #14 from flichtenheld/setupccache

- setupccache: remove obsolete rm command

11 years agosetupccache: remove obsolete rm command
Frank Lichtenheld [Wed, 30 May 2012 19:08:57 +0000 (21:08 +0200)]
setupccache: remove obsolete rm command

$builduserhome is undefined, so that really deletes /bin/gcc etc.
Which is a problem on Fedora 17 where /bin is a symlink to
/usr/bin.

11 years ago- reorder only when needed
Adrian Schröter [Wed, 30 May 2012 12:09:16 +0000 (14:09 +0200)]
- reorder only when needed

11 years ago- make last change in a nice way
Adrian Schröter [Wed, 30 May 2012 11:31:54 +0000 (13:31 +0200)]
- make last change in a nice way

11 years ago- take care about install order during preinstall and vminstall step
Adrian Schröter [Wed, 30 May 2012 11:25:07 +0000 (13:25 +0200)]
- take care about install order during preinstall and vminstall step

11 years ago- follow symlinks on extracting rpms during preinstall. chroot is protecting us.
Adrian Schröter [Wed, 30 May 2012 11:08:15 +0000 (13:08 +0200)]
- follow symlinks on extracting rpms during preinstall. chroot is protecting us.
  (required for broken Fedora 17 packages)

11 years ago- take .raw files as fallback build result if nothing else exists
Adrian Schröter [Thu, 24 May 2012 08:39:54 +0000 (10:39 +0200)]
- take .raw files as fallback build result if nothing else exists

12 years agoInstall Requires(post|pre) and PreReq into the chroot
Frank Lichtenheld [Sun, 22 Apr 2012 17:58:28 +0000 (19:58 +0200)]
Install Requires(post|pre) and PreReq into the chroot

This is needed for post-build-checks to be able to execute
the package scripts and makes the behaviour of build
consistent with OBS.

12 years agoinit_buildsystem: fix logic error in --rpms handling
Frank Lichtenheld [Tue, 19 Apr 2011 15:38:11 +0000 (17:38 +0200)]
init_buildsystem: fix logic error in --rpms handling

test operators have no precedence, so this code did not work as
intended.

12 years agoOnly call zic if available in BUILD_ROOT
Daniel Gollub [Mon, 23 Apr 2012 14:02:19 +0000 (16:02 +0200)]
Only call zic if available in BUILD_ROOT

this is not the case in minimalistic crossbuild sysroots.

Changes behavior of build: zic now get called with absolute path.

Following location get checked:
/usr/sbin/zic /usr/bin/zic /bin/zic /sbin/zic

SUSE and RHEL5 is using /usr/sbin/zic
ArchLinux seemd to use /usr/bin/zic at some point

12 years agoOnly run ldconfig if available in BUILD_ROOT
Daniel Gollub [Mon, 23 Apr 2012 13:50:21 +0000 (15:50 +0200)]
Only run ldconfig if available in BUILD_ROOT

ldconfig might not be available in a minimal crossbuild sysroot

12 years agoadd new option --configdir
Anas Nashif [Wed, 16 May 2012 10:57:39 +0000 (11:57 +0100)]
add new option --configdir

To add support for distribtuons not packages with the build script, we
need an option to specify a custom location where configs can reside
instead of the hardcoded location under BUILD_DIR

12 years agoset an arbitrary limit of 10MB free space needed (bnc#758429)
Ludwig Nussel [Mon, 21 May 2012 12:28:53 +0000 (14:28 +0200)]
set an arbitrary limit of 10MB free space needed (bnc#758429)

12 years agowork around command line size limit
Dr. Werner Fink [Mon, 14 May 2012 11:30:08 +0000 (13:30 +0200)]
work around command line size limit

mkbaselibs may fail on an excessive number of packages (bnc#761977)

12 years ago- improve build root owner setting
Michael Schroeder [Thu, 26 Apr 2012 12:56:27 +0000 (14:56 +0200)]
- improve build root owner setting

12 years ago- don't die at compile time if Archive::Tar is not available
Michael Schroeder [Tue, 24 Apr 2012 09:56:20 +0000 (11:56 +0200)]
- don't die at compile time if Archive::Tar is not available

12 years ago- do not copy-in host qemu anymore by default to be sure that we have a maintainable...
Adrian Schröter [Mon, 23 Apr 2012 15:28:15 +0000 (17:28 +0200)]
- do not copy-in host qemu anymore by default to be sure that we have a maintainable set from the packages.

12 years ago- support tilde in rpm version comparison
Michael Schroeder [Fri, 20 Apr 2012 15:40:59 +0000 (17:40 +0200)]
- support tilde in rpm version comparison

12 years ago- improve PSUF autodetection a bit
Michael Schroeder [Tue, 17 Apr 2012 15:02:29 +0000 (17:02 +0200)]
- improve PSUF autodetection a bit

12 years ago- add workaround for bad ubuntu package, see bnc#733699
Michael Schroeder [Tue, 17 Apr 2012 14:56:16 +0000 (16:56 +0200)]
- add workaround for bad ubuntu package, see bnc#733699

12 years ago- we are GPLv3 compatible
Adrian Schröter [Tue, 17 Apr 2012 11:49:54 +0000 (13:49 +0200)]
- we are GPLv3 compatible

12 years ago- document get_build and get_deps difference
Adrian Schröter [Tue, 10 Apr 2012 12:56:08 +0000 (14:56 +0200)]
- document get_build and get_deps difference

12 years agoSync sles11sp2.conf with OBS
Frank Lichtenheld [Sat, 24 Mar 2012 20:26:30 +0000 (21:26 +0100)]
Sync sles11sp2.conf with OBS

12 years agobuild: Fix typo in --help description for --cachedir
Frank Lichtenheld [Sat, 24 Mar 2012 21:48:00 +0000 (22:48 +0100)]
build: Fix typo in --help description for --cachedir

12 years agobuild: make --help output more consistent
Frank Lichtenheld [Sat, 24 Mar 2012 21:49:40 +0000 (22:49 +0100)]
build: make --help output more consistent

Use consistent capitalization

12 years agobuild: document more options in --help
Frank Lichtenheld [Sat, 24 Mar 2012 21:50:25 +0000 (22:50 +0100)]
build: document more options in --help

These are still not all of them. I left out some
that seemed obsolete/redundant (e.g. --xen which seems
to be the old form of --vm-type xen) or very OBS
specific (like --reason or --rpmlist).

12 years agoMake it possible to specify Type: in prjconf and have non-rpm.rpm chroots
Carsten Munk [Fri, 24 Feb 2012 09:36:17 +0000 (10:36 +0100)]
Make it possible to specify Type: in prjconf and have non-rpm.rpm chroots

Signed-off-by: Carsten Munk <carsten.munk@gmail.com>
Conflicts:

init_buildsystem

12 years ago- we need to fake a archpkg 'source' entry for poor OBS...
Michael Schroeder [Tue, 3 Apr 2012 16:26:03 +0000 (18:26 +0200)]
- we need to fake a archpkg 'source' entry for poor OBS...

12 years ago- don't print "installing <name>.pkg.tar.xz"
Michael Schroeder [Tue, 3 Apr 2012 15:59:06 +0000 (17:59 +0200)]
- don't print "installing <name>.pkg.tar.xz"

12 years ago- fix arch pkg handling in rpmlist, reset SIGPIPE before execing lzmadec
Michael Schroeder [Tue, 3 Apr 2012 15:53:57 +0000 (17:53 +0200)]
- fix arch pkg handling in rpmlist, reset SIGPIPE before execing lzmadec

12 years ago- why is OBS mentioned in the error message?
Michael Schroeder [Tue, 3 Apr 2012 15:13:10 +0000 (17:13 +0200)]
- why is OBS mentioned in the error message?

12 years ago- fix default fs options for reiserfs, fix VM_IMAGE setting if --vm-type is used...
Michael Schroeder [Tue, 3 Apr 2012 15:02:25 +0000 (17:02 +0200)]
- fix default fs options for reiserfs, fix VM_IMAGE setting if --vm-type is used, do not preinstall again for non-rpm vm builds, update archlinux config

12 years ago- autodetect arch build type
Michael Schroeder [Tue, 3 Apr 2012 10:19:08 +0000 (12:19 +0200)]
- autodetect arch build type

12 years ago- finished support for arch linux, sample config included
Michael Schroeder [Mon, 2 Apr 2012 16:53:38 +0000 (18:53 +0200)]
- finished support for arch linux, sample config included

12 years ago- start support for arch linux, code mostly written by Nikolay Rysev <mad.f3ka@gmail...
Michael Schroeder [Fri, 30 Mar 2012 15:17:19 +0000 (17:17 +0200)]
- start support for arch linux, code mostly written by Nikolay Rysev <mad.f3ka@gmail.com>

12 years ago- write "x" as password in /etc/passwd for abuild user (bnc#560845)
Adrian Schröter [Thu, 29 Mar 2012 13:15:04 +0000 (15:15 +0200)]
- write "x" as password in /etc/passwd for abuild user (bnc#560845)

12 years ago- do no use "--nosignature" on rpm v3
Adrian Schröter [Thu, 29 Mar 2012 11:22:56 +0000 (13:22 +0200)]
- do no use "--nosignature" on rpm v3

12 years ago- do not verify signatures during build, the inner system is anyway not trustable...
Adrian Schröter [Thu, 29 Mar 2012 10:11:09 +0000 (12:11 +0200)]
- do not verify signatures during build, the inner system is anyway not trustable and osc checks it already (bnc#433206)

12 years agoMap Debian ARM arches to OBS
Hector Oron [Tue, 27 Mar 2012 18:55:41 +0000 (20:55 +0200)]
Map Debian ARM arches to OBS

  Debian ARM arches:
  - Debian 'armel', which defaults to ARMv4t (soft) maps to armv[4567]l
  - Debian 'armhf', which defaults to ARMv7 (hard-float) maps to armv7hl

  Note Ubuntu 'armel' deprecated after 'precise' release, defaults to ARMv7
  (softfp). So Ubuntu 'armel' should really map armv7l, but its out of scope
  for this patch.

Signed-off-by: Hector Oron <hector.oron@collabora.co.uk>
12 years ago- check_emulator needs to use $BUILD_DIR for initvm checks or obs worker builds may...
Adrian Schröter [Tue, 6 Mar 2012 16:21:32 +0000 (17:21 +0100)]
- check_emulator needs to use $BUILD_DIR for initvm checks or obs worker builds may break

12 years agoIntroduce --vmdisk-mount-options
Daniel Gollub [Wed, 29 Feb 2012 11:11:40 +0000 (12:11 +0100)]
Introduce --vmdisk-mount-options

Overwrites the vmdisk default mount options

12 years ago- use xz as compression tool for oem-kiwi images if possible (as it support sparse...
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)

12 years ago- use "stat" binary instead of "ls" to check for / owner, it needs less libraries
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

12 years agoAdded progress counters to init_buildsystem.
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

12 years ago- add 12.2 config
Adrian Schröter [Mon, 13 Feb 2012 08:48:29 +0000 (09:48 +0100)]
- add 12.2 config

12 years ago- don't run kvm check inside VM. Smarter memory check
Dinar Valeev [Mon, 6 Feb 2012 10:39:03 +0000 (11:39 +0100)]
- don't run kvm check inside VM. Smarter memory check

12 years ago- prepare hostarch OBS handling
Adrian Schröter [Thu, 2 Feb 2012 17:13:21 +0000 (18:13 +0100)]
- prepare hostarch OBS handling

12 years agodon't run kvm check inside VM. Smarter memory check
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

12 years ago- take swap space into account durint ulimit settings. Fixes qemu arm builds
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

12 years ago- support multiple preference sections in kiwi 5
Adrian Schröter [Wed, 1 Feb 2012 07:20:09 +0000 (08:20 +0100)]
- support multiple preference sections in kiwi 5

12 years ago- fix architecture detection
Adrian Schröter [Fri, 27 Jan 2012 16:36:09 +0000 (17:36 +0100)]
- fix architecture detection

12 years ago- ppc 32bit requires a gross hack ...
Adrian Schröter [Fri, 27 Jan 2012 16:08:35 +0000 (17:08 +0100)]
- ppc 32bit requires a gross hack ...

12 years ago- fix personality switch for ppc and some more architectures
Adrian Schröter [Fri, 27 Jan 2012 15:34:41 +0000 (16:34 +0100)]
- fix personality switch for ppc and some more architectures

12 years ago- updated version of Dinar's kvm ppc handling
Adrian Schröter [Thu, 26 Jan 2012 12:39:06 +0000 (13:39 +0100)]
- updated version of Dinar's kvm ppc handling

12 years ago- fix ppc kvm build
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.

12 years ago- fix ppc kvm build
Dinar Valeev [Fri, 20 Jan 2012 14:01:48 +0000 (15:01 +0100)]
- fix ppc kvm build

12 years agoreinitialize $RPMS as check scripts might delete packages
Ludwig Nussel [Tue, 10 Jan 2012 13:00:30 +0000 (14:00 +0100)]
reinitialize $RPMS as check scripts might delete packages

12 years agouse LWP::UserAgent, add more download options
Ludwig Nussel [Wed, 30 Nov 2011 16:29:28 +0000 (17:29 +0100)]
use LWP::UserAgent, add more download options

12 years ago- use absolute path when calling debtransformbz2 and zip
Adrian Schröter [Wed, 14 Dec 2011 08:38:33 +0000 (09:38 +0100)]
- use absolute path when calling debtransformbz2 and zip

12 years ago- more to sync with 12.1 OBS project config
Adrian Schröter [Wed, 14 Dec 2011 08:22:42 +0000 (09:22 +0100)]
- more to sync with 12.1 OBS project config

12 years ago- fix gcc version in 12.1
Adrian Schröter [Wed, 14 Dec 2011 08:20:06 +0000 (09:20 +0100)]
- fix gcc version in 12.1

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

12 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)

12 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

12 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

12 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

12 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

12 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.

12 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>
12 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>
12 years agoadd kvm for ppc64
Dinar Valeev [Mon, 26 Sep 2011 20:45:17 +0000 (22:45 +0200)]
add kvm for ppc64

12 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

12 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

12 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

12 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

12 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

12 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

12 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.

12 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

12 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

12 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

12 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