tools/obs-build.git
16 years agokill qemu and uml via fuser
Ludwig Nussel [Thu, 26 Jun 2008 14:00:14 +0000 (14:00 +0000)]
kill qemu and uml via fuser

16 years agodetect and use qemu-kvm automatically
Ludwig Nussel [Thu, 26 Jun 2008 14:00:01 +0000 (14:00 +0000)]
detect and use qemu-kvm automatically

16 years agoinstall trap to call cleanup_and_exit always on EXIT
Ludwig Nussel [Thu, 26 Jun 2008 13:59:47 +0000 (13:59 +0000)]
install trap to call cleanup_and_exit always on EXIT

without the trap it could happen that an image stays mounted when the build script exits

16 years agotell halt to power off to avoid kernel panic message
Ludwig Nussel [Thu, 26 Jun 2008 13:59:37 +0000 (13:59 +0000)]
tell halt to power off to avoid kernel panic message

16 years agodon't umount /dev
Ludwig Nussel [Thu, 26 Jun 2008 13:59:29 +0000 (13:59 +0000)]
don't umount /dev

when using qemu as user init_buildsystem outside the vm cannot create devices so one has to rely on udev populating /dev.

16 years agouse init= as last parameter for qemu so no arguments get passed to the build script
Ludwig Nussel [Thu, 26 Jun 2008 13:59:08 +0000 (13:59 +0000)]
use init= as last parameter for qemu so no arguments get passed to the build script

16 years agoadd qemu workaround for 11.0 initrd not honoring root=
Ludwig Nussel [Mon, 23 Jun 2008 13:33:02 +0000 (13:33 +0000)]
add qemu workaround for 11.0 initrd not honoring root=

16 years agofix build root owner check
Ludwig Nussel [Mon, 23 Jun 2008 13:32:57 +0000 (13:32 +0000)]
fix build root owner check

16 years agoalways accept build root that is owned by root
Ludwig Nussel [Mon, 23 Jun 2008 09:51:22 +0000 (09:51 +0000)]
always accept build root that is owned by root

16 years ago- pass DO_LINT to xen build
Michael Schröder [Tue, 10 Jun 2008 12:59:26 +0000 (12:59 +0000)]
- pass DO_LINT to xen build

16 years ago- add workaround for mandriva so that it obeys or
Michael Schröder [Mon, 9 Jun 2008 17:22:23 +0000 (17:22 +0000)]
- add workaround for mandriva so that it obeys or
  debuginfo setting

16 years ago- support publishfilter
Michael Schröder [Sat, 7 Jun 2008 11:00:59 +0000 (11:00 +0000)]
- support publishfilter

16 years ago- support %kernel_module_package_buildreq in sles10
Michael Schröder [Fri, 6 Jun 2008 15:26:19 +0000 (15:26 +0000)]
- support %kernel_module_package_buildreq in sles10
- update sl11.0 config
- support exportfilter

16 years ago- use uname -m instead of arch
Michael Schröder [Tue, 3 Jun 2008 15:50:48 +0000 (15:50 +0000)]
- use uname -m instead of arch

16 years ago- fix origin check
Michael Schröder [Tue, 3 Jun 2008 15:42:18 +0000 (15:42 +0000)]
- fix origin check

16 years ago- merge Build-Depends-Indep into Build-Depends [#396663]
Michael Schröder [Tue, 3 Jun 2008 14:17:24 +0000 (14:17 +0000)]
- merge Build-Depends-Indep into Build-Depends [#396663]

16 years ago- fix if no debtarfile is found
Michael Schröder [Fri, 30 May 2008 15:58:53 +0000 (15:58 +0000)]
- fix if no debtarfile is found

16 years ago- add 11.0 config
Michael Schröder [Thu, 29 May 2008 14:05:58 +0000 (14:05 +0000)]
- add 11.0 config

16 years ago- support multiple debtar files
Michael Schröder [Thu, 29 May 2008 13:45:33 +0000 (13:45 +0000)]
- support multiple debtar files
- fix chdir

16 years ago- update mkbaselibs to current version
Michael Schröder [Wed, 21 May 2008 23:56:05 +0000 (23:56 +0000)]
- update mkbaselibs to current version

16 years agodebtransform: chdir to source directory
Ludwig Nussel [Fri, 16 May 2008 14:31:57 +0000 (14:31 +0000)]
debtransform: chdir to source directory

16 years ago* harmonize --xen options in scripts
Adrian Schröter [Fri, 16 May 2008 09:44:40 +0000 (09:44 +0000)]
* harmonize --xen options in scripts
* fix support for using native devices

16 years agodon't let the shell parse $RELEASE
Ludwig Nussel [Fri, 16 May 2008 07:37:07 +0000 (07:37 +0000)]
don't let the shell parse $RELEASE

16 years agonasty hack to prevent rpath on known paths (bnc#386489)
Ludwig Nussel [Fri, 16 May 2008 07:36:54 +0000 (07:36 +0000)]
nasty hack to prevent rpath on known paths (bnc#386489)

16 years agomodify check to accept all kinds of nodes, including device nodes.
Adrian Schröter [Thu, 15 May 2008 14:52:33 +0000 (14:52 +0000)]
modify check to accept all kinds of nodes, including device nodes.
This is needed to support build with lvm.

16 years agofixed: ignore architecture so you can install pkgs from another arch
Martin Mohring [Thu, 15 May 2008 08:10:07 +0000 (08:10 +0000)]
fixed: ignore architecture so you can install pkgs from another arch
fixed: this can be used for cross-builds

16 years ago- pass BUILD_DEBUG to xen
Michael Schröder [Wed, 14 May 2008 20:19:37 +0000 (20:19 +0000)]
- pass BUILD_DEBUG to xen

16 years ago- add release workaround for kernel folks
Michael Schröder [Wed, 14 May 2008 18:13:15 +0000 (18:13 +0000)]
- add release workaround for kernel folks
- support --debug

16 years ago- fix host setting
Michael Schröder [Wed, 14 May 2008 10:34:17 +0000 (10:34 +0000)]
- fix host setting
- use umount on build root, it's more stable

16 years agoforgot to revert this line :/
Adrian Schröter [Thu, 17 Apr 2008 16:37:07 +0000 (16:37 +0000)]
forgot to revert this line :/

16 years ago- adapt to latest changes
Michael Schröder [Thu, 10 Apr 2008 12:05:41 +0000 (12:05 +0000)]
- adapt to latest changes

16 years agochange user and group it from 99 to 399 to avoid conflicts on Fedora.
Adrian Schröter [Thu, 10 Apr 2008 07:05:40 +0000 (07:05 +0000)]
change user and group it from 99 to 399 to avoid conflicts on Fedora.
(#258913)

16 years agomake it work with new findutils
Michal Marek [Tue, 8 Apr 2008 13:21:12 +0000 (13:21 +0000)]
make it work with new findutils

16 years agodo not fail on Kiwi:parse, even though it is not yet implemented.
Adrian Schröter [Tue, 8 Apr 2008 08:32:11 +0000 (08:32 +0000)]
do not fail on Kiwi:parse, even though it is not yet implemented.

16 years ago- support baselibs and rpmlint in the build service
Michael Schröder [Mon, 7 Apr 2008 18:07:13 +0000 (18:07 +0000)]
- support baselibs and rpmlint in the build service

16 years agorevert "use_ignore", handle this in OBS code instead.
Adrian Schröter [Mon, 7 Apr 2008 17:39:57 +0000 (17:39 +0000)]
revert "use_ignore", handle this in OBS code instead.

16 years agofirst version for kiwi support, not really usable yet, but enough
Adrian Schröter [Mon, 7 Apr 2008 17:17:28 +0000 (17:17 +0000)]
first version for kiwi support, not really usable yet, but enough
to allow image building with the OBS without XEN.

16 years ago- always add self-provides
Michael Schröder [Fri, 4 Apr 2008 15:56:01 +0000 (15:56 +0000)]
- always add self-provides

16 years ago- fix order of things, grrr...
Michael Schröder [Fri, 4 Apr 2008 08:18:15 +0000 (08:18 +0000)]
- fix order of things, grrr...

16 years agoswitch to ext2 for now due to problems with reiserfs in XEN
Adrian Schröter [Fri, 4 Apr 2008 08:00:09 +0000 (08:00 +0000)]
switch to ext2 for now due to problems with reiserfs in XEN

16 years ago- make it work in the buildservice again
Michael Schröder [Mon, 31 Mar 2008 08:15:15 +0000 (08:15 +0000)]
- make it work in the buildservice again

16 years ago- use lzma for payload decompression if it is not supported in rpm
Michael Schröder [Fri, 28 Mar 2008 14:30:38 +0000 (14:30 +0000)]
- use lzma for payload decompression if it is not supported in rpm

16 years ago- define %nil macro
Michael Schröder [Fri, 28 Mar 2008 14:01:09 +0000 (14:01 +0000)]
- define %nil macro
- work around some multiline macro problem

16 years agofix some wrongly placed %endif
Ludwig Nussel [Fri, 14 Mar 2008 16:07:21 +0000 (16:07 +0000)]
fix some wrongly placed %endif

16 years ago- fix keyword parsing [bnc#343814]
Michael Schröder [Thu, 13 Mar 2008 14:38:10 +0000 (14:38 +0000)]
- fix keyword parsing [bnc#343814]

16 years agobetter rm -rf message
Ludwig Nussel [Thu, 13 Mar 2008 10:05:36 +0000 (10:05 +0000)]
better rm -rf message

16 years agouse builtin rpm query to detect distribution
Ludwig Nussel [Thu, 13 Mar 2008 10:05:29 +0000 (10:05 +0000)]
use builtin rpm query to detect distribution

16 years agofix distribution detection (bnc#346106)
Ludwig Nussel [Thu, 13 Mar 2008 10:05:23 +0000 (10:05 +0000)]
fix distribution detection (bnc#346106)

16 years agoclean the build root centrally in init_buildsystem
Ludwig Nussel [Tue, 11 Mar 2008 14:47:16 +0000 (14:47 +0000)]
clean the build root centrally in init_buildsystem

16 years agoallow to continue despite potentially broken build root
Ludwig Nussel [Tue, 11 Mar 2008 14:47:11 +0000 (14:47 +0000)]
allow to continue despite potentially broken build root

16 years agodon't set memory limit when using a vm
Ludwig Nussel [Tue, 11 Mar 2008 14:47:05 +0000 (14:47 +0000)]
don't set memory limit when using a vm

16 years agofix check that was always false
Ludwig Nussel [Tue, 11 Mar 2008 14:46:59 +0000 (14:46 +0000)]
fix check that was always false

16 years agofix shell quoting
Ludwig Nussel [Tue, 11 Mar 2008 14:46:52 +0000 (14:46 +0000)]
fix shell quoting

16 years agoqemu and uml support
Ludwig Nussel [Tue, 11 Mar 2008 12:21:40 +0000 (12:21 +0000)]
qemu and uml support

Intended to be used as regular user. User must be allowed to mount the disk
image file via /etc/fstab for that to work.

16 years agofix multi cd handling
Ludwig Nussel [Fri, 7 Mar 2008 08:48:15 +0000 (08:48 +0000)]
fix multi cd handling

16 years agoalternative approach for BUILD_RPMS compatability
Ludwig Nussel [Fri, 22 Feb 2008 13:43:37 +0000 (13:43 +0000)]
alternative approach for BUILD_RPMS compatability

16 years agosupport for rpmmd and yast repos
Ludwig Nussel [Fri, 22 Feb 2008 13:43:28 +0000 (13:43 +0000)]
support for rpmmd and yast repos

also speedup determining packages to keep by passing the rpmids

16 years agorm -rf $BUILD_ROOT/.build-srcdir before use in xen case
Ludwig Nussel [Fri, 22 Feb 2008 13:43:22 +0000 (13:43 +0000)]
rm -rf $BUILD_ROOT/.build-srcdir before use in xen case

16 years agobetter handling of multiple spec files and directories with spaces
Ludwig Nussel [Fri, 22 Feb 2008 13:43:15 +0000 (13:43 +0000)]
better handling of multiple spec files and directories with spaces

16 years agomake setting the build architecture a function
Ludwig Nussel [Fri, 22 Feb 2008 13:43:10 +0000 (13:43 +0000)]
make setting the build architecture a function

16 years agoget rid of useless BUILD_INIT_BUILDSYSTEM variable
Ludwig Nussel [Fri, 22 Feb 2008 13:43:03 +0000 (13:43 +0000)]
get rid of useless BUILD_INIT_BUILDSYSTEM variable

16 years agomove variable initializations to top of file
Ludwig Nussel [Fri, 22 Feb 2008 13:42:57 +0000 (13:42 +0000)]
move variable initializations to top of file

16 years agomake xen detection a function
Ludwig Nussel [Fri, 22 Feb 2008 13:42:49 +0000 (13:42 +0000)]
make xen detection a function

16 years agoonly set default repo if not using RPMLIST mode
Ludwig Nussel [Thu, 21 Feb 2008 13:25:13 +0000 (13:25 +0000)]
only set default repo if not using RPMLIST mode

16 years agofix default repository
Ludwig Nussel [Fri, 15 Feb 2008 15:54:30 +0000 (15:54 +0000)]
fix default repository

16 years agoset memory limit
Ludwig Nussel [Fri, 15 Feb 2008 15:11:40 +0000 (15:11 +0000)]
set memory limit

16 years agoadd support for ccache and icecream
Ludwig Nussel [Fri, 15 Feb 2008 15:11:33 +0000 (15:11 +0000)]
add support for ccache and icecream

16 years agoadd missing helptexts
Ludwig Nussel [Fri, 15 Feb 2008 15:11:27 +0000 (15:11 +0000)]
add missing helptexts

16 years agoadd --repository to replace --rpms (bnc#346113)
Ludwig Nussel [Fri, 15 Feb 2008 15:11:17 +0000 (15:11 +0000)]
add --repository to replace --rpms (bnc#346113)

16 years agoadd support for --define, --with and --without
Ludwig Nussel [Fri, 15 Feb 2008 15:11:00 +0000 (15:11 +0000)]
add support for --define, --with and --without

17 years ago- add sl10.3 config [#310089]
Michael Schröder [Fri, 14 Sep 2007 16:31:05 +0000 (16:31 +0000)]
- add sl10.3 config [#310089]
- also look for BuildRequires in subpackage definitions [#305568]
- allow removal of more config parameters

17 years ago- fix dependency substitution for deps with '('
Michael Schröder [Mon, 23 Jul 2007 17:04:54 +0000 (17:04 +0000)]
- fix dependency substitution for deps with '('
- new config parameter: order, enforce package ordering
- make query function support generic  options
- support description queries

17 years ago- changelog2spec: fix bug in date folding
Michael Schröder [Fri, 22 Jun 2007 13:55:08 +0000 (13:55 +0000)]
- changelog2spec: fix bug in date folding
- changelog2spec: remove dead code

17 years ago- don't create empty files in todelete
Michael Schröder [Thu, 21 Jun 2007 15:50:32 +0000 (15:50 +0000)]
- don't create empty files in todelete

17 years ago- make debtransfrom configurable via the dsc file
Michael Schröder [Wed, 20 Jun 2007 17:14:26 +0000 (17:14 +0000)]
- make debtransfrom configurable via the dsc file
- print error and abort if debtransform fails
- add new setdeps function to Build.pm
- support macros in config files
- remove cp call from init_buildsystem (cp may depend on libacl)

17 years ago- we need path requires for rpm ordering
Michael Schröder [Wed, 13 Jun 2007 16:12:53 +0000 (16:12 +0000)]
- we need path requires for rpm ordering

17 years ago- new script
Michael Schröder [Wed, 13 Jun 2007 15:10:35 +0000 (15:10 +0000)]
- new script

17 years ago- implement rpm installation order calculation in perl
Michael Schröder [Wed, 13 Jun 2007 15:08:46 +0000 (15:08 +0000)]
- implement rpm installation order calculation in perl
- make substitute code modify requires, too
- add filelist query support
- add prereq parsing support
- speed up version comparison a bit

17 years ago- fix bug in debian helper test
Michael Schröder [Sun, 27 May 2007 20:56:39 +0000 (20:56 +0000)]
- fix bug in debian helper test
- add getbinaryid program

17 years ago- add _vendor to configs
Michael Schröder [Thu, 10 May 2007 18:07:08 +0000 (18:07 +0000)]
- add _vendor to configs
- fix deban dependency compare
- allow not operator in configs
- fix build from source rpms

17 years ago- add --root option in reorder rpm call to work around a bug in rpm
Michael Schröder [Thu, 12 Apr 2007 14:18:58 +0000 (14:18 +0000)]
- add --root option in reorder rpm call to work around a bug in rpm

17 years ago- revert norootforbuild semantics for now to be consistent with the
Michael Schröder [Thu, 5 Apr 2007 13:53:42 +0000 (13:53 +0000)]
- revert norootforbuild semantics for now to be consistent with the
  build service

17 years ago- fix typo in createrpmdeps
Michael Schröder [Thu, 5 Apr 2007 13:48:19 +0000 (13:48 +0000)]
- fix typo in createrpmdeps
- support submodule selection

17 years agomake needsrootforbuild / norootforbuild work
Dr. Peter Poeml [Wed, 21 Mar 2007 00:27:26 +0000 (00:27 +0000)]
make needsrootforbuild / norootforbuild work

17 years ago- support %global
Michael Schröder [Tue, 20 Mar 2007 13:12:54 +0000 (13:12 +0000)]
- support %global
- fix bug in macro name parsing

17 years ago- support vminstall directive
Michael Schröder [Tue, 13 Mar 2007 15:10:26 +0000 (15:10 +0000)]
- support vminstall directive
- obey versioned build-requires/depends
- do not delete SOURCES.DEB

17 years ago- obey versions in provides/requires
Michael Schröder [Mon, 12 Mar 2007 12:05:18 +0000 (12:05 +0000)]
- obey versions in provides/requires

17 years agofix missing in front of in some places
Dr. Peter Poeml [Fri, 9 Mar 2007 08:24:58 +0000 (08:24 +0000)]
fix missing  in front of  in some places

17 years ago- new deptransfrom script to automatically create a debian diff file
Michael Schröder [Thu, 8 Mar 2007 15:47:37 +0000 (15:47 +0000)]
- new deptransfrom script to automatically create a debian diff file
- fix host setting in XEN
- fix changelog setting in XEN
- add vminstall config parameter

17 years ago- split dep and rpm parts into submodules
Michael Schröder [Thu, 1 Mar 2007 15:01:23 +0000 (15:01 +0000)]
- split dep and rpm parts into submodules
- renamed a couple of functions
- fix debsort bug

17 years ago- some more xen workarounds, we badly need a config option...
Michael Schröder [Sun, 18 Feb 2007 19:09:17 +0000 (19:09 +0000)]
- some more xen workarounds, we badly need a config option...
- add hostname to /etc/hosts
- fix debian extraction
- push ambiguous stuff back in expansion
- make rpmq more like BSRPMQ
- work around perl bug in fh glob passing
- add new querybinary function

17 years ago- support for debian dependency choices
Michael Schröder [Mon, 12 Feb 2007 19:22:34 +0000 (19:22 +0000)]
- support for debian dependency choices
- do not create changelog dates < 1997

17 years ago- pass console=ttyS0 to get console output with new xen versions
Michael Schröder [Mon, 12 Feb 2007 16:31:59 +0000 (16:31 +0000)]
- pass console=ttyS0 to get console output with new xen versions

17 years ago- add --test option to changelog2spec to make it die on unordered
Michael Schröder [Fri, 9 Feb 2007 20:49:59 +0000 (20:49 +0000)]
- add --test option to changelog2spec to make it die on unordered
  dates
- preinstall device-mapper in xen builds
- preinstall mount in xen builds (mandriva & debian)
- create emtpy /etc/default/rcS (debian)
- create empty /etc/fstab to get rid of some error messages
- order packages in host system, not guest system, works around a bug
  in Fedora's rpm package
- add hostname to /etc/hosts
- fix sles10 config
- fix personality switching to use right syscall on i586
- add support for "needsrootforbuild"
- lock root account if building as user abuild
- fix macro expansion to allow simple macros starting with ? or !

17 years ago- fix read_spec call, oops...
Michael Schröder [Mon, 29 Jan 2007 06:17:46 +0000 (06:17 +0000)]
- fix read_spec call, oops...

17 years ago- add --changelog option
Michael Schröder [Mon, 29 Jan 2007 06:05:05 +0000 (06:05 +0000)]
- add --changelog option
- fix bug in sl10.2 config
- run ldconfig before initializing the rpm database

17 years agore-add the lost unrpm script
Dr. Peter Poeml [Fri, 26 Jan 2007 04:21:48 +0000 (04:21 +0000)]
re-add the lost unrpm script

17 years agore-add the lost unrpm script
Dr. Peter Poeml [Fri, 26 Jan 2007 04:21:48 +0000 (04:21 +0000)]
re-add the lost unrpm script

17 years ago- make exclarch an array
Michael Schröder [Tue, 23 Jan 2007 06:30:47 +0000 (06:30 +0000)]
- make exclarch an array
- remount root rw in xen case, needed if root is not reiserfs

17 years ago- add repotype/runscripts options
Michael Schröder [Thu, 18 Jan 2007 03:57:58 +0000 (03:57 +0000)]
- add repotype/runscripts options
- remove devs in sl10.1/10.2
- fix boolean test to make "00" false like rpm does
- add rpm_verscmp for version comparison