Michael Schroeder [Fri, 24 Aug 2012 11:49:39 +0000 (13:49 +0200)]
- implement var substitution for arch, fix quoting code, also set 'sources' when parsing PKGBUILD
Michael Schroeder [Fri, 24 Aug 2012 09:40:39 +0000 (11:40 +0200)]
- depends also count as makedepends in arch linux
Adrian Schröter [Fri, 24 Aug 2012 11:33:10 +0000 (13:33 +0200)]
- add .qcow2 file handling for kiwi
Adrian Schröter [Wed, 22 Aug 2012 08:44:29 +0000 (10:44 +0200)]
- support root tar ball output format of kiwi, just export the tar ball files and leave out not needed files
Michael Schroeder [Mon, 20 Aug 2012 09:04:10 +0000 (11:04 +0200)]
- bring prereqs handling in sync with the obs backend
Michael Schroeder [Mon, 20 Aug 2012 08:58:39 +0000 (01:58 -0700)]
Merge pull request #19 from andreas-schwab/master
expanddeps: ignore prereqs for subpacks to be built
Andreas Schwab [Sat, 18 Aug 2012 10:06:23 +0000 (12:06 +0200)]
expanddeps: ignore prereqs for subpacks to be built
Michael Schroeder [Thu, 16 Aug 2012 15:14:43 +0000 (17:14 +0200)]
Build::Arch add queryvars and queryfiles
Michael Schroeder [Fri, 10 Aug 2012 17:31:50 +0000 (19:31 +0200)]
- be more strict about the spelling of --clean
Michael Schroeder [Thu, 9 Aug 2012 16:40:40 +0000 (18:40 +0200)]
- rename vmdisk-cleanup to vmdisk-clean (cleanup sounds like it is done after the build). Also remove the swap image and be careful to not remove device nodes
Michael Schroeder [Thu, 9 Aug 2012 16:32:48 +0000 (09:32 -0700)]
Merge pull request #18 from k0da/master
add vmdisk-cleanup, to remove VM root disk if needed
Michael Schroeder [Thu, 2 Aug 2012 12:34:18 +0000 (14:34 +0200)]
- remove spaces from debug package macros, they may confuse rpm in rare cases
Michael Schroeder [Wed, 1 Aug 2012 16:16:01 +0000 (18:16 +0200)]
Revert "- workaround hanging kiwi builds on dmsetup remove with openSUSE 12.2 initrd (bnc#772075)"
This reverts commit
6a59557ab3839a24188ddfb954a4d687c844a8e2.
Wrong fix. It turned out that it's a race in udevd.
Adrian Schröter [Wed, 1 Aug 2012 09:24:16 +0000 (11:24 +0200)]
- workaround hanging kiwi builds on dmsetup remove with openSUSE 12.2 initrd (bnc#772075)
Adrian Schröter [Mon, 30 Jul 2012 15:03:28 +0000 (17:03 +0200)]
- fix building in btrfs VMs
Adrian Schröter [Mon, 30 Jul 2012 13:28:56 +0000 (15:28 +0200)]
- mount binfmt misc handler in chroot case
Dinar Valeev [Tue, 24 Jul 2012 10:24:23 +0000 (12:24 +0200)]
add vmdisk-cleanup, to remove VM root disk if needed
Adrian Schröter [Thu, 19 Jul 2012 07:46:01 +0000 (09:46 +0200)]
- add initial openSUSE 12.3 config to fix package build
Adrian Schröter [Thu, 19 Jul 2012 07:44:20 +0000 (09:44 +0200)]
- final openSUSE 12.2 config
Adrian Schröter [Tue, 17 Jul 2012 07:59:48 +0000 (09:59 +0200)]
- do not package uncompressed and compressed version of same kiwi image
Adrian Schröter [Mon, 16 Jul 2012 14:18:31 +0000 (16:18 +0200)]
- avoid double timestampes in VM builds
Adrian Schröter [Mon, 16 Jul 2012 12:52:32 +0000 (14:52 +0200)]
- prefix each build log line with the second since build started
Adrian Schröter [Mon, 9 Jul 2012 19:26:29 +0000 (21:26 +0200)]
- add ia64 personality (patch from Rudi)
Michael Schroeder [Thu, 5 Jul 2012 13:26:13 +0000 (15:26 +0200)]
- add back one layer of indirection: only create debug packages if rpmbuild is called with --define _build_create_debug 1
Otherwise mkbaselibs creates debug packages, especially a broken
debugsource package.
Michael Schroeder [Wed, 4 Jul 2012 08:36:56 +0000 (10:36 +0200)]
- use rpmquery instead of rpmsign to detect rpmv4, as Fedora has a separate package for rpmsign
Michael Schroeder [Tue, 3 Jul 2012 13:36:00 +0000 (15:36 +0200)]
- umount /run in 2nd stage, our initrd mounts tmpfs on it
Stephan Kulow [Fri, 29 Jun 2012 12:45:21 +0000 (14:45 +0200)]
make sure we keep installed packages even if they come from preinstalled images
Adrian Schröter [Thu, 28 Jun 2012 15:30:45 +0000 (17:30 +0200)]
- basic hugetable memory page support
Michael Schroeder [Wed, 27 Jun 2012 16:58:10 +0000 (18:58 +0200)]
- unify "installing..." message a bit
Adrian Schröter [Wed, 27 Jun 2012 14:29:32 +0000 (16:29 +0200)]
- do not extract old build results when build type is not handled.
Adrian Schröter [Wed, 27 Jun 2012 13:28:42 +0000 (15:28 +0200)]
- minor output fix, no underscore for extracting packages
Michael Schroeder [Tue, 26 Jun 2012 14:56:58 +0000 (16:56 +0200)]
- cosmetcis: remove "..."
Michael Schroeder [Tue, 26 Jun 2012 13:49:46 +0000 (15:49 +0200)]
- fix extraction of preinstall images
Michael Schroeder [Tue, 26 Jun 2012 12:18:55 +0000 (14:18 +0200)]
- make stat report the numeric id so that we no longer get UNKNOWN
Michael Schroeder [Tue, 26 Jun 2012 12:06:53 +0000 (14:06 +0200)]
- adrian and coolo want _preinstallimage as file name
Michael Schroeder [Tue, 26 Jun 2012 11:21:31 +0000 (13:21 +0200)]
- correct unwanted change that broke the BUILD_IS_RUNNING test
Adrian Schröter [Tue, 26 Jun 2012 09:09:23 +0000 (11:09 +0200)]
- export rpms of kiwi builds just via OTHER
Adrian Schröter [Mon, 25 Jun 2012 20:43:12 +0000 (22:43 +0200)]
- kiwi appliance gets build as root, take care on .build.packages link creation
- export created rpms of kiwi builds in VM's
Adrian Schröter [Mon, 25 Jun 2012 16:39:36 +0000 (18:39 +0200)]
- fix test for existens kiwi qa script
Michael Schroeder [Wed, 20 Jun 2012 11:51:43 +0000 (13:51 +0200)]
- support preinstal limage creation/unpacking
Michael Schroeder [Wed, 20 Jun 2012 11:20:43 +0000 (13:20 +0200)]
- support expansion of preinstallimage build type
Michael Schroeder [Wed, 20 Jun 2012 11:20:09 +0000 (13:20 +0200)]
- ignore empty packages when ordering (instead of dieing)
Michael Schroeder [Wed, 20 Jun 2012 11:19:35 +0000 (13:19 +0200)]
- support 'preinstallimage' parsing
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
Adrian Schröter [Thu, 14 Jun 2012 09:45:10 +0000 (11:45 +0200)]
- fix syntax error when compressing vmx kiwi build images
Adrian Schröter [Tue, 12 Jun 2012 15:28:43 +0000 (17:28 +0200)]
- fix building on RHEL4 again
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)
Adrian Schröter [Tue, 12 Jun 2012 06:49:04 +0000 (08:49 +0200)]
- no progress step for already installed packages
Stephan Kulow [Sat, 9 Jun 2012 14:21:27 +0000 (16:21 +0200)]
we need to call kiwi by path
Michael Schroeder [Fri, 8 Jun 2012 10:33:27 +0000 (12:33 +0200)]
- support 'binarytype' so that we can have different package creation frontends
Michael Schroeder [Tue, 5 Jun 2012 12:32:06 +0000 (14:32 +0200)]
- simplify debug package code so that it also works with --target
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
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
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.
Adrian Schröter [Wed, 30 May 2012 12:09:16 +0000 (14:09 +0200)]
- reorder only when needed
Adrian Schröter [Wed, 30 May 2012 11:31:54 +0000 (13:31 +0200)]
- make last change in a nice way
Adrian Schröter [Wed, 30 May 2012 11:25:07 +0000 (13:25 +0200)]
- take care about install order during preinstall and vminstall step
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)
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
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.
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.
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
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
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
Ludwig Nussel [Mon, 21 May 2012 12:28:53 +0000 (14:28 +0200)]
set an arbitrary limit of 10MB free space needed (bnc#758429)
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)
Michael Schroeder [Thu, 26 Apr 2012 12:56:27 +0000 (14:56 +0200)]
- improve build root owner setting
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
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.
Michael Schroeder [Fri, 20 Apr 2012 15:40:59 +0000 (17:40 +0200)]
- support tilde in rpm version comparison
Michael Schroeder [Tue, 17 Apr 2012 15:02:29 +0000 (17:02 +0200)]
- improve PSUF autodetection a bit
Michael Schroeder [Tue, 17 Apr 2012 14:56:16 +0000 (16:56 +0200)]
- add workaround for bad ubuntu package, see bnc#733699
Adrian Schröter [Tue, 17 Apr 2012 11:49:54 +0000 (13:49 +0200)]
- we are GPLv3 compatible
Adrian Schröter [Tue, 10 Apr 2012 12:56:08 +0000 (14:56 +0200)]
- document get_build and get_deps difference
Frank Lichtenheld [Sat, 24 Mar 2012 20:26:30 +0000 (21:26 +0100)]
Sync sles11sp2.conf with OBS
Frank Lichtenheld [Sat, 24 Mar 2012 21:48:00 +0000 (22:48 +0100)]
build: Fix typo in --help description for --cachedir
Frank Lichtenheld [Sat, 24 Mar 2012 21:49:40 +0000 (22:49 +0100)]
build: make --help output more consistent
Use consistent capitalization
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).
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
Michael Schroeder [Tue, 3 Apr 2012 16:26:03 +0000 (18:26 +0200)]
- we need to fake a archpkg 'source' entry for poor OBS...
Michael Schroeder [Tue, 3 Apr 2012 15:59:06 +0000 (17:59 +0200)]
- don't print "installing <name>.pkg.tar.xz"
Michael Schroeder [Tue, 3 Apr 2012 15:53:57 +0000 (17:53 +0200)]
- fix arch pkg handling in rpmlist, reset SIGPIPE before execing lzmadec
Michael Schroeder [Tue, 3 Apr 2012 15:13:10 +0000 (17:13 +0200)]
- why is OBS mentioned in the error message?
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
Michael Schroeder [Tue, 3 Apr 2012 10:19:08 +0000 (12:19 +0200)]
- autodetect arch build type
Michael Schroeder [Mon, 2 Apr 2012 16:53:38 +0000 (18:53 +0200)]
- finished support for arch linux, sample config included
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>
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)
Adrian Schröter [Thu, 29 Mar 2012 11:22:56 +0000 (13:22 +0200)]
- do no use "--nosignature" on rpm v3
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)
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>
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
Daniel Gollub [Wed, 29 Feb 2012 11:11:40 +0000 (12:11 +0100)]
Introduce --vmdisk-mount-options
Overwrites the vmdisk default mount options
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