platform/upstream/build.git
10 years agoremove unused files 13/10113/1
Anas Nashif [Wed, 18 Sep 2013 07:55:32 +0000 (03:55 -0400)]
remove unused files

Change-Id: Ic4c646d80780857d1afc522b7f5e2f6917af779b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoSupport VCS tag while creating -32bit/-64bit/-x86 rpms for other architectures accepted/tizen/20130503.223810 accepted/tizen/20130520.103302 accepted/trunk/20130403.212403 submit/tizen/20130503.184134 submit/tizen/20130503.190214 submit/tizen/20130509.173203 submit/tizen/20130517.020626 submit/trunk/20130328.051653
Zhang Qiang [Thu, 28 Mar 2013 02:22:31 +0000 (10:22 +0800)]
Support VCS tag while creating -32bit/-64bit/-x86 rpms for other architectures

11 years agoadd packaging
Anas Nashif [Tue, 30 Oct 2012 20:25:37 +0000 (13:25 -0700)]
add packaging

11 years agoimplement "empty keep" mode for gcc developers upstream upstream/20120927
Michael Schroeder [Tue, 30 Oct 2012 12:37:26 +0000 (13:37 +0100)]
implement "empty keep" mode for gcc developers

11 years agoSupport 'Constraint:' directive
Michael Schroeder [Mon, 29 Oct 2012 11:14:41 +0000 (12:14 +0100)]
Support 'Constraint:' directive

11 years ago- Arch::parse(): don't hang on unbalanced quotes
Michael Schroeder [Thu, 25 Oct 2012 14:09:22 +0000 (16:09 +0200)]
- Arch::parse(): don't hang on unbalanced quotes

11 years ago- ignore .rpm-cache when building preinstallimages
Michael Schroeder [Thu, 25 Oct 2012 11:53:47 +0000 (13:53 +0200)]
- ignore .rpm-cache when building preinstallimages

11 years ago- export ovf and qcow2 files directly for vmx kiwi builds
Adrian Schröter [Wed, 24 Oct 2012 12:28:03 +0000 (14:28 +0200)]
- export ovf and qcow2 files directly for vmx kiwi builds

11 years agomonitor also memory usage in vm builds
Adrian Schröter [Mon, 15 Oct 2012 13:24:54 +0000 (15:24 +0200)]
monitor also memory usage in vm builds

11 years ago- add proper error message when kiwi creates broken symlinks
Adrian Schröter [Mon, 15 Oct 2012 12:07:35 +0000 (14:07 +0200)]
- add proper error message when kiwi creates broken symlinks

11 years ago- basic support for collecting build statistics
Adrian Schröter [Wed, 10 Oct 2012 12:29:01 +0000 (14:29 +0200)]
- basic support for collecting build statistics

11 years agoMerge pull request #28 from e9925248/master
Adrian Schröter [Mon, 8 Oct 2012 09:07:28 +0000 (02:07 -0700)]
Merge pull request #28 from e9925248/master

Improve debtransform test

11 years agobring forcebinary code in line with rpm by checking the SOURCEPACKAGE tag
Michael Schroeder [Fri, 5 Oct 2012 13:14:02 +0000 (15:14 +0200)]
bring forcebinary code in line with rpm by checking the SOURCEPACKAGE tag

11 years agoAdd results for the debtransform test
Martin Koegler [Fri, 5 Oct 2012 08:28:51 +0000 (10:28 +0200)]
Add results for the debtransform test

11 years ago- go to ext4 default format to support SSD disks better
Adrian Schröter [Fri, 5 Oct 2012 07:24:30 +0000 (09:24 +0200)]
- go to ext4 default format to support SSD disks better

11 years ago- do not force rpm-5 packages to binary rpm, the lead type is always zero
Michael Schroeder [Thu, 4 Oct 2012 13:24:24 +0000 (15:24 +0200)]
- do not force rpm-5 packages to binary rpm, the lead type is always zero

11 years agoMount /proc for rpmlint checks
Andreas Jaeger [Thu, 4 Oct 2012 09:13:13 +0000 (11:13 +0200)]
Mount /proc for rpmlint checks

Otherwise rpm which is run in chroot will warn about missing /proc

11 years ago- oops, killed the MAIN_LIST by mistake...
Michael Schroeder [Fri, 28 Sep 2012 08:55:07 +0000 (10:55 +0200)]
- oops, killed the MAIN_LIST by mistake...

11 years ago- fix cache check for download packages
Michael Schroeder [Fri, 28 Sep 2012 08:49:43 +0000 (10:49 +0200)]
- fix cache check for download packages

11 years ago- sigh, older repomd.xml files don't have a size element
Michael Schroeder [Fri, 28 Sep 2012 08:48:45 +0000 (10:48 +0200)]
- sigh, older repomd.xml files don't have a size element

11 years ago- rebuild dep file if --clean is given and a remote repo is used
Michael Schroeder [Fri, 28 Sep 2012 07:59:18 +0000 (09:59 +0200)]
- rebuild dep file if --clean is given and a remote repo is used

11 years ago- improve cumulation code a bit
Michael Schroeder [Fri, 28 Sep 2012 07:51:31 +0000 (09:51 +0200)]
- improve cumulation code a bit

11 years agoMerge pull request #27 from e9925248/master
Adrian Schröter [Fri, 28 Sep 2012 07:49:41 +0000 (00:49 -0700)]
Merge pull request #27 from e9925248/master

Fix recompression case

11 years agoSome test cases for debtransform
Martin Koegler [Fri, 28 Sep 2012 07:21:01 +0000 (09:21 +0200)]
Some test cases for debtransform

11 years agoBug fix: Use files generated by compression converters
Martin Koegler [Fri, 28 Sep 2012 06:26:44 +0000 (08:26 +0200)]
Bug fix: Use files generated by compression converters

Compression converters put the tar.gz file under a different name causing
the content listing to fail. Therefore use the generated orig.tar.gz in the
output directory instead of the original file.

11 years agore-enable the use of cached packages for rpms (untested)
Michael Schroeder [Thu, 27 Sep 2012 17:41:05 +0000 (19:41 +0200)]
re-enable the use of cached packages for rpms (untested)

11 years ago- rework progress info patch a bit, disable reuse of cached packages for now (have...
Michael Schroeder [Thu, 27 Sep 2012 17:10:28 +0000 (19:10 +0200)]
- rework progress info patch a bit, disable reuse of cached packages for now (have to check for the correct package somehow)

11 years agoRefine download progress info
Zhang Qiang [Fri, 10 Aug 2012 23:51:17 +0000 (07:51 +0800)]
Refine download progress info

11 years ago- improve cache code a bit
Michael Schroeder [Thu, 27 Sep 2012 16:42:33 +0000 (18:42 +0200)]
- improve cache code a bit

11 years agoreused cached repo data file to speed up building
Zhang Qiang [Tue, 28 Aug 2012 07:40:05 +0000 (15:40 +0800)]
reused cached repo data file to speed up building

checksum and size is checked before trying to resuse it.

11 years agoSplit build_arch as individual arch while checking emulator arch (thanks xiaoqiang0)
Michael Schroeder [Thu, 27 Sep 2012 16:27:56 +0000 (18:27 +0200)]
Split build_arch as individual arch while checking emulator arch (thanks xiaoqiang0)

11 years ago- fix odd number of elements warning
Michael Schroeder [Thu, 27 Sep 2012 16:19:01 +0000 (18:19 +0200)]
- fix odd number of elements warning

11 years agoMerge pull request #21 from flichtenheld/parse-macro-args-fix
Michael Schroeder [Thu, 27 Sep 2012 16:07:33 +0000 (09:07 -0700)]
Merge pull request #21 from flichtenheld/parse-macro-args-fix

Do not include () when parsing macro option definition

11 years agohttps repo support
Zhang Qiang [Fri, 10 Aug 2012 23:55:40 +0000 (07:55 +0800)]
https repo support

some distro repo using https now, such as Tizen/Meego, so https need
support now.

11 years agoBug fix: ignore links in orig tar files
Martin Koegler [Thu, 27 Sep 2012 06:01:01 +0000 (08:01 +0200)]
Bug fix: ignore links in orig tar files

11 years agodo not cumulate packages with 12.2's rpm
Stephan Kulow [Wed, 26 Sep 2012 14:15:32 +0000 (16:15 +0200)]
do not cumulate packages with 12.2's rpm

rpm leaks file descriptors and will fail for many packages in one transaction,
fixed for factory

11 years ago- be more verbose when the preinstallimage unpack fails
Michael Schroeder [Wed, 12 Sep 2012 12:30:21 +0000 (14:30 +0200)]
- be more verbose when the preinstallimage unpack fails

11 years agono longer have automatic requires for -devel-32bit
Stephan Kulow [Tue, 25 Sep 2012 11:35:07 +0000 (13:35 +0200)]
no longer have automatic requires for -devel-32bit

they don't work as we use shared library versioning

11 years agothe difference between openSUSE and SLE is outdated
Stephan Kulow [Tue, 25 Sep 2012 11:24:57 +0000 (13:24 +0200)]
the difference between openSUSE and SLE is outdated

11 years agofix the logic of cumulating packages when building in vm - and add some more output...
Stephan Kulow [Tue, 25 Sep 2012 08:28:12 +0000 (10:28 +0200)]
fix the logic of cumulating packages when building in vm - and add some more output to it

11 years agoCorrect version number of binaries, if necessary
Martin Koegler [Sun, 17 Jun 2012 20:23:37 +0000 (22:23 +0200)]
Correct version number of binaries, if necessary

11 years agoHandle overriden files already present in the orig.tar.gz correctly in debtransform
Martin Koegler [Sun, 17 Jun 2012 17:59:25 +0000 (19:59 +0200)]
Handle overriden files already present in the orig.tar.gz correctly in debtransform

The diff output is correct, but inefficent

11 years agoRefactor diff generation
Martin Koegler [Sun, 17 Jun 2012 16:56:54 +0000 (18:56 +0200)]
Refactor diff generation

11 years agoDiff can't handle empty files
Martin Koegler [Sun, 17 Jun 2012 15:25:42 +0000 (17:25 +0200)]
Diff can't handle empty files

11 years agoMake init_buildsystem able to use the features of newer rpm
Werner Fink [Fri, 21 Sep 2012 10:32:25 +0000 (12:32 +0200)]
Make init_buildsystem able to use the features of newer rpm

  Make init_buildsystem able to use the features of newer rpm which
  are reordering the packages for a transaction as well as executing
  the posttrans scriplerts after such a transaction

Signed-off-by: Werner Fink <werner@suse.de>
11 years agoinit_buildsystem: fail early on reorder failure
Frank Lichtenheld [Wed, 5 Sep 2012 12:52:48 +0000 (14:52 +0200)]
init_buildsystem: fail early on reorder failure

If reorder fails for some reason (e.g. a rpm is missing)
currently build will happily try to remove all packages
and leave the chroot in a completely broken state. Also
the error message is hard to find since there comes so
many output after it.

Just bail out directly after the failure.

11 years agoSupport https repositories
Anas Nashif [Wed, 29 Aug 2012 03:23:57 +0000 (23:23 -0400)]
Support https repositories

Add support for https enabled repositories in addition to http

11 years agopass --use-system-qemu option to init_buildsystem
Anas Nashif [Mon, 20 Aug 2012 04:29:40 +0000 (00:29 -0400)]
pass --use-system-qemu option to init_buildsystem

Currently this option has no effect, variable is set to true and when
passed to init_buildsystem it does nothing, this patch will set the variable
USE_SYSTEM_QEMU to --use-system-qemu and hence init_buildsystem will use
system qemu

11 years ago- drop '-o' bsdtar flag when unpacking preinstall images
Michael Schroeder [Mon, 10 Sep 2012 12:06:21 +0000 (14:06 +0200)]
- drop '-o' bsdtar flag when unpacking preinstall images

This is needed for texlive packages.

11 years ago- support binary rpms with fo SOURCERPM header element
Michael Schroeder [Wed, 5 Sep 2012 13:56:42 +0000 (15:56 +0200)]
- support binary rpms with fo SOURCERPM header element

11 years agoDo not include () when parsing macro option definition
Frank Lichtenheld [Wed, 5 Sep 2012 09:31:30 +0000 (11:31 +0200)]
Do not include () when parsing macro option definition

Otherwise the following warning is issued later
Odd number of elements in hash assignment at /usr/lib/build/Build/Rpm.pm line 131

11 years ago- use default MEMSIZE in check_for_ppc
Adrian Schröter [Thu, 30 Aug 2012 14:38:11 +0000 (16:38 +0200)]
- use default MEMSIZE in check_for_ppc

11 years ago- don't add self-provides for src packages
Michael Schroeder [Tue, 28 Aug 2012 12:21:01 +0000 (14:21 +0200)]
- don't add self-provides for src packages

11 years ago- implement var substitution for arch, fix quoting code, also set 'sources' when...
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

11 years ago- depends also count as makedepends in arch linux
Michael Schroeder [Fri, 24 Aug 2012 09:40:39 +0000 (11:40 +0200)]
- depends also count as makedepends in arch linux

11 years ago- add .qcow2 file handling for kiwi
Adrian Schröter [Fri, 24 Aug 2012 11:33:10 +0000 (13:33 +0200)]
- add .qcow2 file handling for kiwi

11 years ago- support root tar ball output format of kiwi, just export the tar ball files and...
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

11 years ago- bring prereqs handling in sync with the obs backend
Michael Schroeder [Mon, 20 Aug 2012 09:04:10 +0000 (11:04 +0200)]
- bring prereqs handling in sync with the obs backend

11 years agoMerge pull request #19 from andreas-schwab/master
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

11 years agoexpanddeps: 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

11 years agoBuild::Arch add queryvars and queryfiles
Michael Schroeder [Thu, 16 Aug 2012 15:14:43 +0000 (17:14 +0200)]
Build::Arch add queryvars and queryfiles

11 years ago- be more strict about the spelling of --clean
Michael Schroeder [Fri, 10 Aug 2012 17:31:50 +0000 (19:31 +0200)]
- be more strict about the spelling of --clean

11 years ago- rename vmdisk-cleanup to vmdisk-clean (cleanup sounds like it is done after the...
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

11 years agoMerge pull request #18 from k0da/master
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

11 years ago- remove spaces from debug package macros, they may confuse rpm in rare cases
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

11 years agoRevert "- workaround hanging kiwi builds on dmsetup remove with openSUSE 12.2 initrd...
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.

11 years ago- workaround hanging kiwi builds on dmsetup remove with openSUSE 12.2 initrd (bnc...
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)

11 years ago- fix building in btrfs VMs
Adrian Schröter [Mon, 30 Jul 2012 15:03:28 +0000 (17:03 +0200)]
- fix building in btrfs VMs

11 years ago- mount binfmt misc handler in chroot case
Adrian Schröter [Mon, 30 Jul 2012 13:28:56 +0000 (15:28 +0200)]
- mount binfmt misc handler in chroot case

11 years agoadd vmdisk-cleanup, to remove VM root disk if needed
Dinar Valeev [Tue, 24 Jul 2012 10:24:23 +0000 (12:24 +0200)]
add vmdisk-cleanup, to remove VM root disk if needed

11 years ago- add initial openSUSE 12.3 config to fix package build
Adrian Schröter [Thu, 19 Jul 2012 07:46:01 +0000 (09:46 +0200)]
- add initial openSUSE 12.3 config to fix package build

11 years ago- final openSUSE 12.2 config
Adrian Schröter [Thu, 19 Jul 2012 07:44:20 +0000 (09:44 +0200)]
- final openSUSE 12.2 config

11 years ago- do not package uncompressed and compressed version of same kiwi image
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

11 years ago- avoid double timestampes in VM builds
Adrian Schröter [Mon, 16 Jul 2012 14:18:31 +0000 (16:18 +0200)]
- avoid double timestampes in VM builds

11 years ago- prefix each build log line with the second since build started
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

11 years ago- add ia64 personality (patch from Rudi)
Adrian Schröter [Mon, 9 Jul 2012 19:26:29 +0000 (21:26 +0200)]
- add ia64 personality (patch from Rudi)

11 years ago- add back one layer of indirection: only create debug packages if rpmbuild is called...
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.

11 years ago- use rpmquery instead of rpmsign to detect rpmv4, as Fedora has a separate 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

11 years ago- umount /run in 2nd stage, our initrd mounts tmpfs on it
Michael Schroeder [Tue, 3 Jul 2012 13:36:00 +0000 (15:36 +0200)]
- umount /run in 2nd stage, our initrd mounts tmpfs on it

11 years agomake sure we keep installed packages even if they come from preinstalled images
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

11 years ago- basic hugetable memory page support
Adrian Schröter [Thu, 28 Jun 2012 15:30:45 +0000 (17:30 +0200)]
- basic hugetable memory page support

11 years ago- unify "installing..." message a bit
Michael Schroeder [Wed, 27 Jun 2012 16:58:10 +0000 (18:58 +0200)]
- unify "installing..." message a bit

11 years ago- do not extract old build results when build type is not handled.
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.

11 years ago- minor output fix, no underscore for extracting packages
Adrian Schröter [Wed, 27 Jun 2012 13:28:42 +0000 (15:28 +0200)]
- minor output fix, no underscore for extracting packages

11 years ago- cosmetcis: remove "..."
Michael Schroeder [Tue, 26 Jun 2012 14:56:58 +0000 (16:56 +0200)]
- cosmetcis: remove "..."

11 years ago- fix extraction of preinstall images
Michael Schroeder [Tue, 26 Jun 2012 13:49:46 +0000 (15:49 +0200)]
- fix extraction of preinstall images

11 years ago- make stat report the numeric id so that we no longer get UNKNOWN
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

11 years ago- adrian and coolo want _preinstallimage as file name
Michael Schroeder [Tue, 26 Jun 2012 12:06:53 +0000 (14:06 +0200)]
- adrian and coolo want _preinstallimage as file name

11 years ago- correct unwanted change that broke the BUILD_IS_RUNNING test
Michael Schroeder [Tue, 26 Jun 2012 11:21:31 +0000 (13:21 +0200)]
- correct unwanted change that broke the BUILD_IS_RUNNING test

11 years ago- export rpms of kiwi builds just via OTHER
Adrian Schröter [Tue, 26 Jun 2012 09:09:23 +0000 (11:09 +0200)]
- export rpms of kiwi builds just via OTHER

11 years ago- kiwi appliance gets build as root, take care on .build.packages link creation
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

11 years ago- fix test for existens kiwi qa script
Adrian Schröter [Mon, 25 Jun 2012 16:39:36 +0000 (18:39 +0200)]
- fix test for existens kiwi qa script

11 years ago- support preinstal limage creation/unpacking
Michael Schroeder [Wed, 20 Jun 2012 11:51:43 +0000 (13:51 +0200)]
- support preinstal limage creation/unpacking

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)