platform/upstream/build.git
13 years agothrow away deltas bigger than 80% of the reference
Ludwig Nussel [Fri, 29 Oct 2010 09:19:02 +0000 (11:19 +0200)]
throw away deltas bigger than 80% of the reference

13 years agouse '.drpm' suffix instead of '.delta.rpm'
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'

13 years agorename makedeltarpms -> mkdrpms
Ludwig Nussel [Mon, 18 Oct 2010 14:14:54 +0000 (16:14 +0200)]
rename makedeltarpms -> mkdrpms

13 years ago- fix xml parsing, allow to put strings in single quote
Michael Schroeder [Tue, 26 Oct 2010 14:33:05 +0000 (16:33 +0200)]
- fix xml parsing, allow to put strings in single quote

13 years agosilence
Adrian Schröter [Thu, 21 Oct 2010 07:03:59 +0000 (09:03 +0200)]
silence

13 years agoadd fallback archs to exclusive archs on product building (fixes hopefully #642925...
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)

13 years ago[initscript_qemu_vm] the exec call could fail thus creating an endless build loop...
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

13 years ago[initscript_qemu_vm]: support also sh4 QEMU registration now. QEMU basically works...
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

13 years ago[computeblocklists]: ioctl FIGETBSZ are not the same on ARM / i386 as the are on...
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

13 years agobuild: correct disk image file creation, it was one byte too large
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>
13 years ago- add rpm-x86 hack for cross builds. will be removed again in the future
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

13 years agoRevert "[build] Add cb(pre)ignore capabilities to build. Removes dependencies from...
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.

13 years ago[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being...
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>
13 years agoinstall makedeltarpms script too
Ludwig Nussel [Mon, 20 Sep 2010 12:15:56 +0000 (14:15 +0200)]
install makedeltarpms script too

13 years agoalso support https download
Ludwig Nussel [Tue, 7 Sep 2010 08:15:09 +0000 (10:15 +0200)]
also support https download

13 years agointroduce dist_canon() in Build.pm
Ludwig Nussel [Tue, 3 Aug 2010 14:28:54 +0000 (16:28 +0200)]
introduce dist_canon() in Build.pm

13 years agorpm is in (8), not (1).
Michael Schroeder [Mon, 20 Sep 2010 09:42:34 +0000 (11:42 +0200)]
rpm is in (8), not (1).

13 years ago- add secret --signdummy option
Michael Schroeder [Thu, 16 Sep 2010 13:03:38 +0000 (15:03 +0200)]
- add secret --signdummy option

13 years ago- use a more precise tmpfile name (so that osc can exclude vc tmpfiles)
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)

13 years agoand revert the last two commits again to keep output compatibility
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

13 years agosparse is not supported by bzip2, just by tar
Adrian Schröter [Tue, 7 Sep 2010 08:37:37 +0000 (10:37 +0200)]
sparse is not supported by bzip2, just by tar

13 years agouse sparse option when bzip2 raw files (patch by cthiel)
Adrian Schröter [Mon, 6 Sep 2010 18:28:21 +0000 (20:28 +0200)]
use sparse option when bzip2 raw files (patch by cthiel)

13 years ago- detect multiversion specfiles
Michael Schroeder [Thu, 26 Aug 2010 15:23:33 +0000 (17:23 +0200)]
- detect multiversion specfiles

13 years agofixed: mips and mipsel cross build support with QEMU
Martin Mohring [Mon, 23 Aug 2010 05:54:07 +0000 (07:54 +0200)]
fixed: mips and mipsel cross build support with QEMU

13 years ago- commit darix' fix (missing "test" statement)
Marcus Huewe [Thu, 19 Aug 2010 12:47:12 +0000 (14:47 +0200)]
- commit darix' fix (missing "test" statement)

13 years agomkbaselibs: gracefully skip non-existing rpms
Ruediger Oertel [Thu, 12 Aug 2010 13:46:41 +0000 (15:46 +0200)]
mkbaselibs: gracefully skip non-existing rpms

13 years ago- substitute <RELEASE> even if no release is specified
Michael Schroeder [Wed, 4 Aug 2010 15:21:15 +0000 (17:21 +0200)]
- substitute <RELEASE> even if no release is specified

14 years agomake guessed BUILD_DIST available inside init_buildsystem
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

14 years agoallow spaces in susetags repos too
Ludwig Nussel [Mon, 2 Aug 2010 14:20:42 +0000 (16:20 +0200)]
allow spaces in susetags repos too

14 years agodetect zypp repo cache changes
Ludwig Nussel [Mon, 2 Aug 2010 11:54:36 +0000 (13:54 +0200)]
detect zypp repo cache changes

14 years agoretry redirected downloads
Ludwig Nussel [Mon, 2 Aug 2010 11:41:03 +0000 (13:41 +0200)]
retry redirected downloads

14 years agohandle spaces and utf8 in file names of zypp repos (bnc#626960)
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)

14 years ago- document --repo and --dist
Michael Schroeder [Wed, 28 Jul 2010 13:43:57 +0000 (15:43 +0200)]
- document --repo and --dist

14 years agofix links that point to the wiki
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>
14 years ago- do not strip filedeps in readdeps clone
Michael Schroeder [Fri, 23 Jul 2010 12:15:56 +0000 (14:15 +0200)]
- do not strip filedeps in readdeps clone

14 years ago- do not strip file deps in readdeps()
Michael Schroeder [Fri, 23 Jul 2010 12:15:30 +0000 (14:15 +0200)]
- do not strip file deps in readdeps()

14 years ago- do not add files to provides to stay compatible to createrpmdeps
Michael Schroeder [Fri, 23 Jul 2010 12:14:08 +0000 (14:14 +0200)]
- do not add files to provides to stay compatible to createrpmdeps
- die if the metadata download failed
- use 3-arg form for metadata open

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