platform/upstream/build.git
15 years agocreate same output layout in kvm/xen mode with new extractbuild as with
Adrian Schröter [Mon, 20 Apr 2009 13:32:03 +0000 (13:32 +0000)]
create same output layout in kvm/xen mode with new extractbuild as with
plain chroot build.

15 years agobuild: install computeblocklists
Ludwig Nussel [Fri, 17 Apr 2009 12:38:27 +0000 (12:38 +0000)]
build: install computeblocklists

15 years agouse block lists instead of vm swap space
Ludwig Nussel [Fri, 17 Apr 2009 12:19:24 +0000 (12:19 +0000)]
use block lists instead of vm swap space

instead of copying packages into the swap space for exchange with
the host write the block lists there so the host can directly fetch
the data from the disk image.

15 years agobuild: add vc command
Ludwig Nussel [Fri, 17 Apr 2009 12:06:52 +0000 (12:06 +0000)]
build: add vc command

15 years agoget sure that devicemapper kernel modul is loaded when using plain
Adrian Schröter [Wed, 15 Apr 2009 12:24:05 +0000 (12:24 +0000)]
get sure that devicemapper kernel modul is loaded when using plain
chroot enviroment

15 years agotake care about defined priority for repositories
Adrian Schröter [Wed, 15 Apr 2009 11:56:38 +0000 (11:56 +0000)]
take care about defined priority for repositories

15 years agoadd sbin to $PATH (bnc#433132)
Ludwig Nussel [Tue, 14 Apr 2009 11:46:40 +0000 (11:46 +0000)]
add sbin to $PATH (bnc#433132)

unconditionally because I'm lazy

15 years agocheck for create-env also in lib64
Ludwig Nussel [Tue, 14 Apr 2009 11:32:48 +0000 (11:32 +0000)]
check for create-env also in lib64

15 years agofail if icecream create-env failed (bnc#493550)
Ludwig Nussel [Tue, 14 Apr 2009 11:32:43 +0000 (11:32 +0000)]
fail if icecream create-env failed (bnc#493550)

15 years agomake --icecream 0 work
Ludwig Nussel [Tue, 14 Apr 2009 11:21:46 +0000 (11:21 +0000)]
make --icecream 0 work

15 years ago- fixed: sometimes, uname -i can return unknown
Martin Mohring [Sat, 11 Apr 2009 12:39:34 +0000 (12:39 +0000)]
- fixed: sometimes, uname -i can return unknown

15 years ago- support "weird" specfile syntax for deps (=>, =<): e.g. "BuildRequires: foo =>...
Marcus Hüwe [Fri, 10 Apr 2009 14:02:38 +0000 (14:02 +0000)]
- support "weird" specfile syntax for deps (=>, =<): e.g. "BuildRequires: foo => 1.2.3"

15 years agofix permission of /dev/kqemu for real
Adrian Schröter [Thu, 9 Apr 2009 09:22:18 +0000 (09:22 +0000)]
fix permission of /dev/kqemu for real

15 years agomount proc before binfmtmisc mount.
Adrian Schröter [Wed, 8 Apr 2009 20:35:30 +0000 (20:35 +0000)]
mount proc before binfmtmisc mount.

15 years agochanged: cross build init script for use with virtualization renamed to build naming...
Martin Mohring [Wed, 8 Apr 2009 19:31:38 +0000 (19:31 +0000)]
changed: cross build init script for use with virtualization renamed to build naming convention

15 years agoallow abuild user to run accelerated qemu also in XEN.
Adrian Schröter [Wed, 8 Apr 2009 16:26:47 +0000 (16:26 +0000)]
allow abuild user to run accelerated qemu also in XEN.

15 years agocopy in /bin/mount-static if existing
Adrian Schröter [Wed, 8 Apr 2009 15:52:00 +0000 (15:52 +0000)]
copy in /bin/mount-static if existing

15 years agoregister arm ourself, because qemu script fails in this early enviroment
Adrian Schröter [Wed, 8 Apr 2009 15:48:18 +0000 (15:48 +0000)]
register arm ourself, because qemu script fails in this early enviroment

15 years agofixed: forgot to include qemu-binfmt-conf.sh script
Martin Mohring [Wed, 8 Apr 2009 14:25:34 +0000 (14:25 +0000)]
fixed: forgot to include qemu-binfmt-conf.sh script

15 years agofix inner build.cross call in XEN/kvm
Adrian Schröter [Wed, 8 Apr 2009 14:24:37 +0000 (14:24 +0000)]
fix inner build.cross call in XEN/kvm

15 years ago- added: XEN + qemu user mode registration for use of both
Martin Mohring [Wed, 8 Apr 2009 13:00:19 +0000 (13:00 +0000)]
- added: XEN + qemu user mode registration for use of both

15 years ago- changed: code cleanup of qemu user registration
Martin Mohring [Wed, 8 Apr 2009 09:43:55 +0000 (09:43 +0000)]
- changed: code cleanup of qemu user registration
added: workaround for bad rc scripts that manipulate kernel vars /proc/sys/kernel/randomize_va_space or /proc/sys/vm/mmap_min_addr, which is a very bad idea

15 years agoFix typo Require(pre) -> Requires(pre)
Adrian Schröter [Mon, 23 Mar 2009 16:53:25 +0000 (16:53 +0000)]
Fix typo Require(pre) -> Requires(pre)

15 years agomodify also /etc/gshadow if existing.
Adrian Schröter [Wed, 18 Mar 2009 12:25:19 +0000 (12:25 +0000)]
modify also /etc/gshadow if existing.
This is needed for Ubuntu 8.10

15 years agopackage missing md5 file as well
Adrian Schröter [Thu, 12 Mar 2009 19:57:30 +0000 (19:57 +0000)]
package missing md5 file as well

15 years agotar up ovf images as well
Christoph Thiel [Wed, 11 Mar 2009 14:27:59 +0000 (14:27 +0000)]
tar up ovf images as well

15 years agowrite .md5 file at correct place
Adrian Schröter [Sat, 7 Mar 2009 07:34:37 +0000 (07:34 +0000)]
write .md5 file at correct place

15 years agoExtend kiwi result file names with build number
Adrian Schröter [Fri, 6 Mar 2009 22:29:58 +0000 (22:29 +0000)]
Extend kiwi result file names with build number

15 years agowrite md5 sum file at correct place
Adrian Schröter [Fri, 6 Mar 2009 17:55:12 +0000 (17:55 +0000)]
write md5 sum file at correct place

15 years ago* do not forget files while packaging oem results
Adrian Schröter [Fri, 6 Mar 2009 17:03:13 +0000 (17:03 +0000)]
* do not forget files while packaging oem results
* keep iso files seperate

15 years agorevert last commit without any further comment ...
Adrian Schröter [Thu, 5 Mar 2009 08:36:02 +0000 (08:36 +0000)]
revert last commit without any further comment ...

15 years ago* use kiwi product version defined in productvar instead of hardcoded
Adrian Schröter [Thu, 5 Mar 2009 08:26:34 +0000 (08:26 +0000)]
* use kiwi product version defined in productvar instead of hardcoded
  1.0.0

15 years ago* Fix extraction of root.tar*
Adrian Schröter [Thu, 5 Mar 2009 08:23:35 +0000 (08:23 +0000)]
* Fix extraction of root.tar*
* Fix permissions of kiwi source script files

15 years agoavoid full local path in md5sum file
Adrian Schröter [Wed, 4 Mar 2009 14:39:00 +0000 (14:39 +0000)]
avoid full local path in md5sum file

15 years agodo not compress plain iso files, but create md5 file beside instead of
Lars Vogdt [Wed, 4 Mar 2009 14:35:15 +0000 (14:35 +0000)]
do not compress plain iso files, but create md5 file beside instead of

15 years ago- beautify...
Michael Schröder [Fri, 27 Feb 2009 10:09:27 +0000 (10:09 +0000)]
- beautify...

15 years agoand another one, weekend is near ...
Adrian Schröter [Fri, 27 Feb 2009 08:11:24 +0000 (08:11 +0000)]
and another one, weekend is near ...

15 years agoups, fix small bug introduced in last commit
Adrian Schröter [Fri, 27 Feb 2009 08:07:11 +0000 (08:07 +0000)]
ups, fix small bug introduced in last commit

15 years agoSince version for product files is hardcoded to a fixed value (to avoid
Adrian Schröter [Fri, 27 Feb 2009 07:10:43 +0000 (07:10 +0000)]
Since version for product files is hardcoded to a fixed value (to avoid
version number scheme limititations), we need to read the version from
product variable settings.

15 years agocreate /repos symlink for kiwi, to fix image build with additional packages in -...
Christoph Thiel [Wed, 25 Feb 2009 14:12:04 +0000 (14:12 +0000)]
create /repos symlink for kiwi, to fix image build with additional packages in --create step

15 years ago* revert disttag support
Adrian Schröter [Mon, 16 Feb 2009 13:08:58 +0000 (13:08 +0000)]
* revert disttag support
* Extend disturl support to contain the following string:
  obs://build_instance/project/repository/srcmd5-package_name

15 years agoFix possible security problem found by Ludwig, internal system must
Adrian Schröter [Fri, 13 Feb 2009 14:28:30 +0000 (14:28 +0000)]
Fix possible security problem found by Ludwig, internal system must
not get access to external kernel image.

15 years agofix kvm support based on openSUSE.
Adrian Schröter [Fri, 13 Feb 2009 12:59:26 +0000 (12:59 +0000)]
fix kvm support based on openSUSE.
Thanks to Alexander for this !

15 years agoadd support for disttag definition (needs patched rpm to use the macro)
Adrian Schröter [Mon, 9 Feb 2009 13:40:10 +0000 (13:40 +0000)]
add support for disttag definition (needs patched rpm to use the macro)

15 years ago* fix oldpackage compare support for running without XEN.
Adrian Schröter [Sun, 8 Feb 2009 11:01:43 +0000 (11:01 +0000)]
* fix oldpackage compare support for running without XEN.
Greetings from FOSDEM :)

15 years agolet's use tar.gz instead of tar.bz2
Christoph Thiel [Fri, 6 Feb 2009 13:55:57 +0000 (13:55 +0000)]
let's use tar.gz instead of tar.bz2

15 years agofix Adrians checkin
Christoph Thiel [Fri, 6 Feb 2009 11:32:25 +0000 (11:32 +0000)]
fix Adrians checkin

15 years agoadd support for pxe images, add support for unsupported images :),fix indentation
Christoph Thiel [Fri, 6 Feb 2009 11:29:09 +0000 (11:29 +0000)]
add support for pxe images, add support for unsupported images :),fix indentation

15 years agomissing part for image repack support
Adrian Schröter [Fri, 6 Feb 2009 10:39:33 +0000 (10:39 +0000)]
missing part for image repack support

15 years agofirst version of Christophs image repack support
Adrian Schröter [Fri, 6 Feb 2009 09:47:58 +0000 (09:47 +0000)]
first version of Christophs image repack support

15 years agosimplify code again
Adrian Schröter [Thu, 5 Feb 2009 20:58:47 +0000 (20:58 +0000)]
simplify code again

15 years ago* handle inner return value of VM in case of unchanged build correctly
Adrian Schröter [Thu, 5 Feb 2009 20:56:04 +0000 (20:56 +0000)]
* handle inner return value of VM in case of unchanged build correctly

15 years agocopy back results alway, also in case of "build compare validates same
Adrian Schröter [Thu, 5 Feb 2009 19:13:15 +0000 (19:13 +0000)]
copy back results alway, also in case of "build compare validates same
result". Server has to decide to take it or not.

15 years agofix export of --oldpackages setting to VM enviroment
Adrian Schröter [Thu, 5 Feb 2009 13:59:05 +0000 (13:59 +0000)]
fix export of --oldpackages setting to VM enviroment

15 years agobuild: add missing vminstall to 10.2 config
Ludwig Nussel [Wed, 4 Feb 2009 15:12:46 +0000 (15:12 +0000)]
build: add missing vminstall to 10.2 config

15 years agobuild: add Makefile with install target
Ludwig Nussel [Wed, 4 Feb 2009 15:12:34 +0000 (15:12 +0000)]
build: add Makefile with install target

15 years agobuild: init_buildsystem: remove legacy code
Ludwig Nussel [Wed, 4 Feb 2009 15:12:15 +0000 (15:12 +0000)]
build: init_buildsystem: remove legacy code

needed packages have to be listd in the config file

15 years agobuild: expanddeps: unify rpmlist printing
Ludwig Nussel [Wed, 4 Feb 2009 15:11:33 +0000 (15:11 +0000)]
build: expanddeps: unify rpmlist printing

15 years ago* allow to hand over old packages directory via cmd line switch
Adrian Schröter [Mon, 2 Feb 2009 20:39:06 +0000 (20:39 +0000)]
* allow to hand over old packages directory via cmd line switch
* Fix old packages compare handling in XEN

15 years agoOops ! test code removed again ...
Adrian Schröter [Mon, 2 Feb 2009 17:12:59 +0000 (17:12 +0000)]
Oops ! test code removed again ...

15 years agoadd support for build result compare script.
Adrian Schröter [Mon, 2 Feb 2009 16:45:17 +0000 (16:45 +0000)]
add support for build result compare script.

15 years agocorrect namespaces
Adrian Schröter [Tue, 27 Jan 2009 14:22:39 +0000 (14:22 +0000)]
correct namespaces

15 years agomove Susetags to the Build:: name space
Adrian Schröter [Tue, 27 Jan 2009 14:09:45 +0000 (14:09 +0000)]
move Susetags to the Build:: name space

15 years ago* fix xen image building
Adrian Schröter [Thu, 22 Jan 2009 15:43:16 +0000 (15:43 +0000)]
* fix xen image building
* small improvements in debug messages

15 years agoset -e safety
Ludwig Nussel [Tue, 20 Jan 2009 09:24:27 +0000 (09:24 +0000)]
set -e safety

15 years agofail if VM image cannot be umounted before starting the VM to prevent corruptions
Ludwig Nussel [Tue, 20 Jan 2009 09:24:20 +0000 (09:24 +0000)]
fail if VM image cannot be umounted before starting the VM to prevent corruptions

15 years ago- add debian verscmp to make ~ matching work
Michael Schröder [Fri, 16 Jan 2009 17:50:58 +0000 (17:50 +0000)]
- add debian verscmp to make ~ matching work

15 years agoprint packages on the fly instead of storing all in a hash
Ludwig Nussel [Thu, 15 Jan 2009 13:16:45 +0000 (13:16 +0000)]
print packages on the fly instead of storing all in a hash

15 years agofix createyastdeps for rpm3 packages files
Ludwig Nussel [Thu, 15 Jan 2009 13:16:41 +0000 (13:16 +0000)]
fix createyastdeps for rpm3 packages files

15 years agofix rpm4 detection on Fedora 10
Ludwig Nussel [Thu, 15 Jan 2009 13:16:35 +0000 (13:16 +0000)]
fix rpm4 detection on Fedora 10

15 years ago- fixed #466047 (handle multiple packages of same name/arch in repo)
Marcus Hüwe [Thu, 15 Jan 2009 12:40:30 +0000 (12:40 +0000)]
- fixed #466047 (handle multiple packages of same name/arch in repo)

15 years agouse ext3 in xen images by default to be in sync with official obs-worker-image
Adrian Schröter [Sat, 10 Jan 2009 18:22:54 +0000 (18:22 +0000)]
use ext3 in xen images by default to be in sync with official obs-worker-image

15 years agoBuild image types in different root directories (patch from cthiel)
Adrian Schröter [Fri, 9 Jan 2009 10:03:23 +0000 (10:03 +0000)]
Build image types in different root directories (patch from cthiel)

15 years ago- also accept RELEASE\d* for now
Michael Schröder [Wed, 7 Jan 2009 15:56:12 +0000 (15:56 +0000)]
- also accept RELEASE\d* for now

15 years ago- add hack for CI_CNT/B_CNT substitution
Michael Schröder [Wed, 7 Jan 2009 14:53:49 +0000 (14:53 +0000)]
- add hack for CI_CNT/B_CNT substitution

15 years ago- fix debtransformer builds
Michael Schröder [Tue, 23 Dec 2008 11:25:54 +0000 (11:25 +0000)]
- fix debtransformer builds

15 years ago- fix builds where /etc/profile.d doesn't exist
Michael Schröder [Tue, 23 Dec 2008 11:07:45 +0000 (11:07 +0000)]
- fix builds where /etc/profile.d doesn't exist

15 years ago- save debian sources
Michael Schröder [Mon, 22 Dec 2008 13:25:35 +0000 (13:25 +0000)]
- save debian sources

15 years ago- adding support for susetags to download on demand
Marcus Hüwe [Thu, 18 Dec 2008 15:29:29 +0000 (15:29 +0000)]
- adding support for susetags to download on demand
- moved the susetags parser into an own module (this is basically based on createyastdeps)
  (see http://lists.opensuse.org/opensuse-buildservice/2008-12/msg00055.html)
- fixed createyastdeps so that it uses the module (parsing a current packages.gz with the
  old and the new createyastdeps code results in the same output)

15 years ago- 'test' doesn't short circuit properly
Michael Schröder [Tue, 16 Dec 2008 10:01:27 +0000 (10:01 +0000)]
- 'test' doesn't short circuit properly

15 years agoFix kiwi image build support within osc
Adrian Schröter [Wed, 10 Dec 2008 13:18:37 +0000 (13:18 +0000)]
Fix kiwi image build support within osc

15 years ago- added: new armv7el arch for all binaries for up to ARMv7 EABI with VFP
Martin Mohring [Fri, 5 Dec 2008 21:45:11 +0000 (21:45 +0000)]
- added: new armv7el arch for all binaries for up to ARMv7 EABI with VFP

15 years agodelete old baselibs.conf (nowadays stored in package sources)
Ruediger Oertel [Fri, 5 Dec 2008 01:22:15 +0000 (01:22 +0000)]
delete old baselibs.conf (nowadays stored in package sources)

15 years agodelete automatic requires for debuginfo-xxbit
Ruediger Oertel [Wed, 3 Dec 2008 12:13:53 +0000 (12:13 +0000)]
delete automatic requires for debuginfo-xxbit

15 years ago- update config
Michael Schröder [Tue, 2 Dec 2008 09:35:54 +0000 (09:35 +0000)]
- update config

15 years agofix Fedora 10 build
Ludwig Nussel [Mon, 1 Dec 2008 16:05:36 +0000 (16:05 +0000)]
fix Fedora 10 build

15 years ago- move meta stuff out of build for now, it's currently not used
Michael Schröder [Thu, 27 Nov 2008 09:03:23 +0000 (09:03 +0000)]
- move meta stuff out of build for now, it's currently not used

15 years ago- adding download on demand feature to svn trunk (as discussed with ScriptRipper)
Marcus Hüwe [Wed, 26 Nov 2008 23:26:01 +0000 (23:26 +0000)]
- adding download on demand feature to svn trunk (as discussed with ScriptRipper)
  (see http://lists.opensuse.org/opensuse-buildservice/2008-09/msg00025.html for a brief description)
- this is a preliminary version - there are some design issues and some parts need a cleanup
- this shouldn't break any existing code and this feature has to be
  enabled manually
- if there's something you don't like please tell me or fix it or revert it:)

15 years ago- build all image types
Michael Schröder [Wed, 26 Nov 2008 17:14:56 +0000 (17:14 +0000)]
- build all image types

15 years ago- use all imagetypes unless they are marked with "optional"
Michael Schröder [Wed, 26 Nov 2008 17:06:00 +0000 (17:06 +0000)]
- use all imagetypes unless they are marked with "optional"
- fix boot repo usage

15 years ago- only run checkscripts if we built some rpms
Michael Schröder [Tue, 25 Nov 2008 15:00:58 +0000 (15:00 +0000)]
- only run checkscripts if we built some rpms

15 years ago- fix kernel_module_package_buildreq definition
Michael Schröder [Tue, 25 Nov 2008 14:39:51 +0000 (14:39 +0000)]
- fix kernel_module_package_buildreq definition

15 years ago- fix spelling of "succeeded"
Michael Schröder [Tue, 25 Nov 2008 14:25:25 +0000 (14:25 +0000)]
- fix spelling of "succeeded"

15 years ago- fix geniso call
Michael Schröder [Tue, 25 Nov 2008 13:38:22 +0000 (13:38 +0000)]
- fix geniso call

15 years ago- fix kiwi iso generation loop
Michael Schröder [Tue, 25 Nov 2008 11:18:39 +0000 (11:18 +0000)]
- fix kiwi iso generation loop
- rename do_img to do_kiwi

15 years ago- return name and version
Michael Schröder [Tue, 25 Nov 2008 11:15:56 +0000 (11:15 +0000)]
- return name and version

15 years ago- added: missing last parts of Cross Development support
Martin Mohring [Sat, 22 Nov 2008 16:38:40 +0000 (16:38 +0000)]
- added: missing last parts of Cross Development support
   * although other targets do work, only activated arm and sh4 targets for Cross Build
   * powerpc could also be used for Cross Build, but uses Native Build atm
   * thes limited switching on of Cross Build is due to a new interface for workers that will handle workers with *super capabilites* in the future.
   * then you can configure Cross Build at configure/runtime, not by changing the code

15 years ago- add parse method to Build::Kiwi
Michael Schröder [Fri, 21 Nov 2008 14:28:45 +0000 (14:28 +0000)]
- add parse method to Build::Kiwi
- support kiwi product builds

15 years agowrite abuild user also to /etc/shadow. Mandriva 2009 needs it for some
Adrian Schröter [Thu, 20 Nov 2008 16:04:53 +0000 (16:04 +0000)]
write abuild user also to /etc/shadow. Mandriva 2009 needs it for some
reason.

15 years ago- work around kiwi's obs: parsing
Michael Schröder [Thu, 20 Nov 2008 14:40:42 +0000 (14:40 +0000)]
- work around kiwi's obs: parsing