platform/upstream/build.git
14 years ago- use 3-arg form for open calls
Michael Schroeder [Fri, 23 Jul 2010 12:13:37 +0000 (14:13 +0200)]
- use 3-arg form for open calls

14 years ago- allow urls with missing trailing /
Michael Schroeder [Fri, 23 Jul 2010 09:57:43 +0000 (11:57 +0200)]
- allow urls with missing trailing /

14 years ago- fix distribution autodetection code
Michael Schroeder [Fri, 23 Jul 2010 09:46:50 +0000 (11:46 +0200)]
- fix distribution autodetection code

14 years ago- unlink download destination before doing the download
Michael Schroeder [Thu, 22 Jul 2010 10:36:34 +0000 (12:36 +0200)]
- unlink download destination before doing the download

14 years agoWhen creating a Xen worker/chroot XMROOT/XMSWAP need to point to the
David Greaves [Sun, 4 Jul 2010 09:13:44 +0000 (10:13 +0100)]
When creating a Xen worker/chroot XMROOT/XMSWAP need to point to the
devices if they were created by obsstoragesetup

14 years ago- add support for FileProvides: config option
Michael Schroeder [Wed, 21 Jul 2010 12:42:34 +0000 (14:42 +0200)]
- add support for FileProvides: config option

14 years agopoint also to broken perl in case of "no build status set"
Adrian Schröter [Wed, 7 Jul 2010 08:20:18 +0000 (10:20 +0200)]
point also to broken perl in case of "no build status set"

14 years agoexport BUILD_DEBUG so rpmlint can check for it (bnc#618004)
Ludwig Nussel [Wed, 30 Jun 2010 12:34:06 +0000 (14:34 +0200)]
export BUILD_DEBUG so rpmlint can check for it (bnc#618004)

14 years ago- add 11.3 config
Michael Schroeder [Tue, 29 Jun 2010 13:02:57 +0000 (15:02 +0200)]
- add 11.3 config

14 years ago- do not use +=, older bash versions do not support it
Michael Schroeder [Tue, 29 Jun 2010 10:49:32 +0000 (12:49 +0200)]
- do not use +=, older bash versions do not support it

14 years agoThe ovf file is useless alone, package it as part of the vmdk/vmx tar ball.
Adrian Schröter [Mon, 28 Jun 2010 08:45:58 +0000 (10:45 +0200)]
The ovf file is useless alone, package it as part of the vmdk/vmx tar ball.

14 years ago* fix repo creation in --noinit case
Adrian Schröter [Mon, 28 Jun 2010 08:22:38 +0000 (10:22 +0200)]
* fix repo creation in --noinit case
* support ovf files directly

14 years agodon't automatically install build-compare
Ludwig Nussel [Fri, 25 Jun 2010 08:52:18 +0000 (10:52 +0200)]
don't automatically install build-compare

build-compare isn't available always and --oldpackages is also used for
delta rpms.

14 years agoallow multiple --oldpackages
Ludwig Nussel [Fri, 25 Jun 2010 08:34:20 +0000 (10:34 +0200)]
allow multiple --oldpackages

14 years agodelta rpm support
Ludwig Nussel [Thu, 24 Jun 2010 14:23:59 +0000 (16:23 +0200)]
delta rpm support

14 years agoalternative to same result exit 2 hack
Ludwig Nussel [Thu, 24 Jun 2010 11:48:13 +0000 (13:48 +0200)]
alternative to same result exit 2 hack

14 years agoallow to query all tags
Ludwig Nussel [Thu, 24 Jun 2010 11:47:39 +0000 (13:47 +0200)]
allow to query all tags

14 years agodon't set default repo inside vm
Ludwig Nussel [Mon, 31 May 2010 12:12:29 +0000 (14:12 +0200)]
don't set default repo inside vm

14 years agorename
Ludwig Nussel [Mon, 31 May 2010 12:12:22 +0000 (14:12 +0200)]
rename

14 years agobetter readability
Ludwig Nussel [Fri, 28 May 2010 09:21:20 +0000 (11:21 +0200)]
better readability

14 years agodon't pass -smp to kvm if $BUILD_JOBS is set due to icecream
Ludwig Nussel [Fri, 25 Jun 2010 07:32:02 +0000 (09:32 +0200)]
don't pass -smp to kvm if $BUILD_JOBS is set due to icecream

14 years ago-serial stdio is redundant for kvm (bnc#617123)
Ludwig Nussel [Fri, 25 Jun 2010 07:24:07 +0000 (09:24 +0200)]
-serial stdio is redundant for kvm (bnc#617123)

14 years agomake sha256sum run optional, old systems like SLE 10 based don't have it.
Adrian Schröter [Mon, 21 Jun 2010 11:37:16 +0000 (13:37 +0200)]
make sha256sum run optional, old systems like SLE 10 based don't have it.

14 years ago- fix parsing of macros that contain {} blocks
Michael Schroeder [Thu, 17 Jun 2010 09:08:27 +0000 (11:08 +0200)]
- fix parsing of macros that contain {} blocks

14 years ago- support xz decoder helper script
Michael Schroeder [Mon, 14 Jun 2010 15:10:58 +0000 (17:10 +0200)]
- support xz decoder helper script

14 years ago- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
Michael Schroeder [Mon, 14 Jun 2010 13:33:06 +0000 (15:33 +0200)]
- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)

14 years agorun kvm instance with the right number of cpus according to given parallel build...
Adrian Schröter [Thu, 10 Jun 2010 07:02:28 +0000 (09:02 +0200)]
run kvm instance with the right number of cpus according to given parallel build jobs

14 years agofix rename of _service files obs_2.0
Adrian Schröter [Sat, 29 May 2010 13:34:04 +0000 (15:34 +0200)]
fix rename of _service files

14 years agorename _service file in target source dir and not in local dir
Adrian Schröter [Fri, 28 May 2010 12:18:22 +0000 (14:18 +0200)]
rename _service file in target source dir and not in local dir

14 years ago- use the "noop" elevator on virtual machines
Cristian Rodríguez [Thu, 20 May 2010 13:33:27 +0000 (09:33 -0400)]
- use the "noop" elevator on virtual machines
- mount filesystems with "noatime"
- tune filesystems to use data=writeback mode by default

14 years agobuild starts at localtime but finishes at UTC
Cristian Rodríguez [Thu, 20 May 2010 12:43:37 +0000 (08:43 -0400)]
build starts at localtime but finishes at UTC

14 years agowe do not have implemented kiwi result file parsers yet, but don't die with internal...
Adrian Schröter [Thu, 27 May 2010 08:52:06 +0000 (10:52 +0200)]
we do not have implemented kiwi result file parsers yet, but don't die with internal errors for .iso files for now

14 years agokill a possible existing xen instance first
Adrian Schröter [Fri, 7 May 2010 15:37:17 +0000 (17:37 +0200)]
kill a possible existing xen instance first

14 years agoupdate test
Ludwig Nussel [Tue, 4 May 2010 14:35:44 +0000 (16:35 +0200)]
update test

14 years agosome refactoring
Ludwig Nussel [Tue, 4 May 2010 14:35:26 +0000 (16:35 +0200)]
some refactoring

14 years agodon't use chown -R
Ludwig Nussel [Tue, 4 May 2010 12:30:23 +0000 (14:30 +0200)]
don't use chown -R

14 years agounify chown calls
Ludwig Nussel [Tue, 4 May 2010 11:56:55 +0000 (13:56 +0200)]
unify chown calls

14 years agounify function declarations
Ludwig Nussel [Tue, 4 May 2010 08:07:58 +0000 (10:07 +0200)]
unify function declarations

14 years agouse separate function for running pkg pre/post scripts
Ludwig Nussel [Tue, 4 May 2010 08:05:12 +0000 (10:05 +0200)]
use separate function for running pkg pre/post scripts

14 years agoneed to recursively chown TOPDIR
Ludwig Nussel [Tue, 4 May 2010 11:26:20 +0000 (13:26 +0200)]
need to recursively chown TOPDIR

14 years agoignore unknown tags in rpmlist file
Ludwig Nussel [Mon, 3 May 2010 09:30:18 +0000 (11:30 +0200)]
ignore unknown tags in rpmlist file

14 years agoCrossBuild/Speedup (pre-)install hooks.
Jan-Simon Möller [Sat, 24 Apr 2010 11:01:56 +0000 (13:01 +0200)]
CrossBuild/Speedup (pre-)install hooks.
Introduction of:
* "CBpreinstall:"  in prjconf - add only if emulator is used
  as preinstall packages.
* "CBinstall:" in prjconf - add only if emulator is used to
  installed packages.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agodon't duplicate arguments
Ludwig Nussel [Thu, 29 Apr 2010 14:07:54 +0000 (16:07 +0200)]
don't duplicate arguments

14 years agomkdir directory of autogenerated images
Ludwig Nussel [Thu, 29 Apr 2010 12:28:39 +0000 (14:28 +0200)]
mkdir directory of autogenerated images

14 years agoadd vm options to help output an unify option naming
Ludwig Nussel [Thu, 29 Apr 2010 09:39:41 +0000 (11:39 +0200)]
add vm options to help output an unify option naming

14 years agomove initialization up
Ludwig Nussel [Thu, 29 Apr 2010 09:02:17 +0000 (11:02 +0200)]
move initialization up

14 years agoadd separate --vm-type and --vm-disk options
Ludwig Nussel [Thu, 29 Apr 2010 09:00:44 +0000 (11:00 +0200)]
add separate --vm-type and --vm-disk options

14 years agolxc doesn't use disk images
Ludwig Nussel [Thu, 29 Apr 2010 09:00:28 +0000 (11:00 +0200)]
lxc doesn't use disk images

14 years agoerror out if mandatory arguments are missing
Ludwig Nussel [Thu, 29 Apr 2010 08:52:39 +0000 (10:52 +0200)]
error out if mandatory arguments are missing

14 years ago- rename 'changetarget' to 'target' in config ('changetarget' still works)
Michael Schroeder [Thu, 29 Apr 2010 10:27:10 +0000 (12:27 +0200)]
- rename 'changetarget' to 'target' in config ('changetarget' still works)
- rename ABUILD_TARGET_ARCH to ABUILD_TARGET, as the rpm option is just --target
- cleanup changetarget script a bit

14 years agoSupport BuildIgnores of kiwi files. Need to be better defined in kiwi,
Adrian Schröter [Thu, 29 Apr 2010 10:05:59 +0000 (12:05 +0200)]
Support BuildIgnores of kiwi files. Need to be better defined in kiwi,
currently this is only possible via onlyarch="skipit"

14 years agoadd blank line after rpmlint output
Ludwig Nussel [Tue, 27 Apr 2010 09:35:36 +0000 (11:35 +0200)]
add blank line after rpmlint output

14 years agoturn off mkbaselibs verbosity
Ludwig Nussel [Tue, 27 Apr 2010 09:35:12 +0000 (11:35 +0200)]
turn off mkbaselibs verbosity

14 years agofix emulator build without vm
Ludwig Nussel [Mon, 26 Apr 2010 08:36:18 +0000 (10:36 +0200)]
fix emulator build without vm

14 years agofix build-compare support in chroot mode
Ruediger Oertel [Sun, 25 Apr 2010 22:19:43 +0000 (00:19 +0200)]
fix build-compare support in chroot mode
(fix the place that really matters)

14 years agofix build-compare support in chroot mode
Adrian Schröter [Wed, 21 Apr 2010 17:22:44 +0000 (19:22 +0200)]
fix build-compare support in chroot mode

14 years agodisable debug output when packaging kiwi live images
Adrian Schröter [Wed, 21 Apr 2010 12:01:33 +0000 (14:01 +0200)]
disable debug output when packaging kiwi live images

14 years agodetect configured virtio initrds on SUSE systems automatically
Adrian Schröter [Wed, 21 Apr 2010 09:57:49 +0000 (11:57 +0200)]
detect configured virtio initrds on SUSE systems automatically
(unbreak kvm support on appliance)

14 years agocheck changetarget an all architectures
Ludwig Nussel [Mon, 19 Apr 2010 15:05:16 +0000 (17:05 +0200)]
check changetarget an all architectures

14 years agoupdate test spec file
Ludwig Nussel [Mon, 19 Apr 2010 14:58:15 +0000 (16:58 +0200)]
update test spec file

14 years agoRevert "save rpmlint output for easier processing by external tools"
Adrian Schröter [Thu, 15 Apr 2010 13:57:42 +0000 (15:57 +0200)]
Revert "save rpmlint output for easier processing by external tools"
in agreement with Ludwig.

rpmlint.log and similar files should get exported as QA results
later, but they should not appear as build results to avoid
manualy sorting of files in lots of other places

This reverts commit e3f165caa543e85bd246b195cf2c7c230a96993f.

Conflicts:

build

14 years agowait for power off sysrq to take effect (bnc#595916)
Ludwig Nussel [Wed, 14 Apr 2010 07:41:26 +0000 (09:41 +0200)]
wait for power off sysrq to take effect (bnc#595916)

14 years agoups ... very small logic error... fixing the arch= attribute handling correctly
Adrian Schröter [Tue, 13 Apr 2010 14:26:40 +0000 (16:26 +0200)]
ups ... very small logic error... fixing the arch= attribute handling correctly

14 years agoAdd armv6el to emulator archs. It's not yet available as scheduler.
Jan-Simon Möller [Fri, 9 Apr 2010 23:01:16 +0000 (01:01 +0200)]
Add armv6el to emulator archs. It's not yet available as scheduler.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofix execution of mkbaselibs again, needs write permissions now (after using abuild...
Adrian Schröter [Fri, 9 Apr 2010 16:11:36 +0000 (18:11 +0200)]
fix execution of mkbaselibs again, needs write permissions now (after using abuild user)

14 years agohandle comma seperated architectures for arch= attribute correctly
Adrian Schröter [Fri, 9 Apr 2010 14:49:05 +0000 (16:49 +0200)]
handle comma seperated architectures for arch= attribute correctly

14 years agofixed: never do these kind of VM mmap min addr stuff here
Jan-Simon Möller [Fri, 9 Apr 2010 14:13:21 +0000 (16:13 +0200)]
fixed: never do these kind of VM mmap min addr stuff here

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofix syntax error
Adrian Schröter [Fri, 9 Apr 2010 13:56:28 +0000 (15:56 +0200)]
fix syntax error

14 years agowhitespace fixes
Ludwig Nussel [Fri, 9 Apr 2010 11:30:11 +0000 (13:30 +0200)]
whitespace fixes

14 years agoCan recognize more remote repo url and some cleanups
Yi Yang [Fri, 9 Apr 2010 09:00:17 +0000 (17:00 +0800)]
Can recognize more remote repo url and some cleanups

14 years agoSupport remote repos
Yi Yang [Fri, 2 Apr 2010 06:57:59 +0000 (14:57 +0800)]
Support remote repos

14 years agoadd --shell option to spawn shell in chroot instead of building
Ludwig Nussel [Thu, 8 Apr 2010 06:51:14 +0000 (08:51 +0200)]
add --shell option to spawn shell in chroot instead of building

14 years agoprint warning if halt -f -p doesn't work
Ludwig Nussel [Thu, 1 Apr 2010 13:48:52 +0000 (15:48 +0200)]
print warning if halt -f -p doesn't work

14 years agopass --no-init flag to vm
Ludwig Nussel [Wed, 31 Mar 2010 15:06:44 +0000 (17:06 +0200)]
pass --no-init flag to vm

14 years agoset mmap_min_addr to 0 in vm for qemu
Ludwig Nussel [Wed, 31 Mar 2010 14:40:16 +0000 (16:40 +0200)]
set mmap_min_addr to 0 in vm for qemu

14 years agoprepare qemu only outside vm
Ludwig Nussel [Wed, 31 Mar 2010 14:39:31 +0000 (16:39 +0200)]
prepare qemu only outside vm

14 years agouse $BUILD_ROOT ...
Ludwig Nussel [Wed, 31 Mar 2010 13:26:24 +0000 (15:26 +0200)]
use $BUILD_ROOT ...

14 years ago- fix desktopfile move for coolo
Michael Schroeder [Wed, 31 Mar 2010 13:05:35 +0000 (15:05 +0200)]
- fix desktopfile move for coolo

14 years agosave rpmlint output for easier processing by external tools
Ludwig Nussel [Wed, 31 Mar 2010 12:49:05 +0000 (14:49 +0200)]
save rpmlint output for easier processing by external tools

14 years agodon't use emulator if host and target arch are equal
Ludwig Nussel [Wed, 31 Mar 2010 08:55:01 +0000 (10:55 +0200)]
don't use emulator if host and target arch are equal

14 years agorefactor cross build code
Ludwig Nussel [Wed, 31 Mar 2010 06:45:44 +0000 (08:45 +0200)]
refactor cross build code

14 years agoabort if $TOPDIR is empty
Ludwig Nussel [Wed, 31 Mar 2010 08:46:20 +0000 (10:46 +0200)]
abort if $TOPDIR is empty

14 years agofix use of virtio initrd
Ludwig Nussel [Wed, 31 Mar 2010 06:54:17 +0000 (08:54 +0200)]
fix use of virtio initrd

14 years agobetter hint about missing fstab entry
Ludwig Nussel [Tue, 30 Mar 2010 09:32:55 +0000 (11:32 +0200)]
better hint about missing fstab entry

14 years agorestore build root owner at exit
Ludwig Nussel [Tue, 30 Mar 2010 09:26:39 +0000 (11:26 +0200)]
restore build root owner at exit

some post build checks seem to modify the owner of the build root.
When using a vm as non root the build root must always be writeable
as user though.

14 years agoautomatically create disk images for vm always
Ludwig Nussel [Mon, 29 Mar 2010 14:31:08 +0000 (16:31 +0200)]
automatically create disk images for vm always

14 years agoexpand initrd symlink
Ludwig Nussel [Mon, 29 Mar 2010 14:23:12 +0000 (16:23 +0200)]
expand initrd symlink

14 years agoonly rebuild initrd if not in build service mode
Ludwig Nussel [Mon, 29 Mar 2010 12:58:51 +0000 (14:58 +0200)]
only rebuild initrd if not in build service mode

build service always passes --rpmlint so use that as trigger

14 years agorefactor vmdisk autosetup code
Ludwig Nussel [Mon, 29 Mar 2010 11:26:02 +0000 (13:26 +0200)]
refactor vmdisk autosetup code

14 years agofix if condition
Ludwig Nussel [Mon, 29 Mar 2010 11:26:20 +0000 (13:26 +0200)]
fix if condition

14 years agoAdditional changes to support mips and ppc/ppc64 emulation
Jan-Simon Möller [Fri, 26 Mar 2010 15:50:23 +0000 (16:50 +0100)]
Additional changes to support mips and ppc/ppc64 emulation

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoEnable ext4 for KVM again.
Jan-Simon Möller [Fri, 26 Mar 2010 15:27:23 +0000 (16:27 +0100)]
Enable ext4 for KVM again.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofixed: missing qemu-kvm bin
Martin Mohring [Sun, 21 Mar 2010 23:42:31 +0000 (00:42 +0100)]
fixed: missing qemu-kvm bin

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAllow kernel and initrd preset in sysconfig.
Jan-Simon Möller [Fri, 26 Mar 2010 15:26:21 +0000 (16:26 +0100)]
Allow kernel and initrd preset in sysconfig.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agofixed: build should not write on /boot
Jan-Simon Möller [Fri, 26 Mar 2010 15:24:50 +0000 (16:24 +0100)]
fixed: build should not write on /boot

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoChange disk image sizes from GB to MB.
Jan-Simon Möller [Fri, 19 Mar 2010 15:11:37 +0000 (16:11 +0100)]
Change disk image sizes from GB to MB.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoSupport ppc and mips in VM builds.
Jan-Simon Möller [Fri, 26 Mar 2010 14:54:45 +0000 (15:54 +0100)]
Support ppc and mips in VM builds.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd ext4 mkinitrd support.
Jan-Simon Möller [Wed, 17 Mar 2010 20:30:00 +0000 (21:30 +0100)]
Add ext4 mkinitrd support.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd selection for ext3/ext4 as worker's root disk-image filesystem.
Jan-Simon Möller [Wed, 17 Mar 2010 18:07:16 +0000 (19:07 +0100)]
Add selection for ext3/ext4 as worker's root disk-image filesystem.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
14 years agoAdd missing arm target scheduler archs in kvm path.
Jan-Simon Möller [Wed, 17 Mar 2010 16:14:48 +0000 (17:14 +0100)]
Add missing arm target scheduler archs in kvm path.

Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>