Ludwig Nussel [Thu, 26 Jun 2008 14:00:14 +0000 (14:00 +0000)]
kill qemu and uml via fuser
Ludwig Nussel [Thu, 26 Jun 2008 14:00:01 +0000 (14:00 +0000)]
detect and use qemu-kvm automatically
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
Ludwig Nussel [Thu, 26 Jun 2008 13:59:37 +0000 (13:59 +0000)]
tell halt to power off to avoid kernel panic message
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.
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
Ludwig Nussel [Mon, 23 Jun 2008 13:33:02 +0000 (13:33 +0000)]
add qemu workaround for 11.0 initrd not honoring root=
Ludwig Nussel [Mon, 23 Jun 2008 13:32:57 +0000 (13:32 +0000)]
fix build root owner check
Ludwig Nussel [Mon, 23 Jun 2008 09:51:22 +0000 (09:51 +0000)]
always accept build root that is owned by root
Michael Schröder [Tue, 10 Jun 2008 12:59:26 +0000 (12:59 +0000)]
- pass DO_LINT to xen build
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
Michael Schröder [Sat, 7 Jun 2008 11:00:59 +0000 (11:00 +0000)]
- support publishfilter
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
Michael Schröder [Tue, 3 Jun 2008 15:50:48 +0000 (15:50 +0000)]
- use uname -m instead of arch
Michael Schröder [Tue, 3 Jun 2008 15:42:18 +0000 (15:42 +0000)]
- fix origin check
Michael Schröder [Tue, 3 Jun 2008 14:17:24 +0000 (14:17 +0000)]
- merge Build-Depends-Indep into Build-Depends [#396663]
Michael Schröder [Fri, 30 May 2008 15:58:53 +0000 (15:58 +0000)]
- fix if no debtarfile is found
Michael Schröder [Thu, 29 May 2008 14:05:58 +0000 (14:05 +0000)]
- add 11.0 config
Michael Schröder [Thu, 29 May 2008 13:45:33 +0000 (13:45 +0000)]
- support multiple debtar files
- fix chdir
Michael Schröder [Wed, 21 May 2008 23:56:05 +0000 (23:56 +0000)]
- update mkbaselibs to current version
Ludwig Nussel [Fri, 16 May 2008 14:31:57 +0000 (14:31 +0000)]
debtransform: chdir to source directory
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
Ludwig Nussel [Fri, 16 May 2008 07:37:07 +0000 (07:37 +0000)]
don't let the shell parse $RELEASE
Ludwig Nussel [Fri, 16 May 2008 07:36:54 +0000 (07:36 +0000)]
nasty hack to prevent rpath on known paths (bnc#386489)
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.
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
Michael Schröder [Wed, 14 May 2008 20:19:37 +0000 (20:19 +0000)]
- pass BUILD_DEBUG to xen
Michael Schröder [Wed, 14 May 2008 18:13:15 +0000 (18:13 +0000)]
- add release workaround for kernel folks
- support --debug
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
Adrian Schröter [Thu, 17 Apr 2008 16:37:07 +0000 (16:37 +0000)]
forgot to revert this line :/
Michael Schröder [Thu, 10 Apr 2008 12:05:41 +0000 (12:05 +0000)]
- adapt to latest changes
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)
Michal Marek [Tue, 8 Apr 2008 13:21:12 +0000 (13:21 +0000)]
make it work with new findutils
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.
Michael Schröder [Mon, 7 Apr 2008 18:07:13 +0000 (18:07 +0000)]
- support baselibs and rpmlint in the build service
Adrian Schröter [Mon, 7 Apr 2008 17:39:57 +0000 (17:39 +0000)]
revert "use_ignore", handle this in OBS code instead.
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.
Michael Schröder [Fri, 4 Apr 2008 15:56:01 +0000 (15:56 +0000)]
- always add self-provides
Michael Schröder [Fri, 4 Apr 2008 08:18:15 +0000 (08:18 +0000)]
- fix order of things, grrr...
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
Michael Schröder [Mon, 31 Mar 2008 08:15:15 +0000 (08:15 +0000)]
- make it work in the buildservice again
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
Michael Schröder [Fri, 28 Mar 2008 14:01:09 +0000 (14:01 +0000)]
- define %nil macro
- work around some multiline macro problem
Ludwig Nussel [Fri, 14 Mar 2008 16:07:21 +0000 (16:07 +0000)]
fix some wrongly placed %endif
Michael Schröder [Thu, 13 Mar 2008 14:38:10 +0000 (14:38 +0000)]
- fix keyword parsing [bnc#343814]
Ludwig Nussel [Thu, 13 Mar 2008 10:05:36 +0000 (10:05 +0000)]
better rm -rf message
Ludwig Nussel [Thu, 13 Mar 2008 10:05:29 +0000 (10:05 +0000)]
use builtin rpm query to detect distribution
Ludwig Nussel [Thu, 13 Mar 2008 10:05:23 +0000 (10:05 +0000)]
fix distribution detection (bnc#346106)
Ludwig Nussel [Tue, 11 Mar 2008 14:47:16 +0000 (14:47 +0000)]
clean the build root centrally in init_buildsystem
Ludwig Nussel [Tue, 11 Mar 2008 14:47:11 +0000 (14:47 +0000)]
allow to continue despite potentially broken build root
Ludwig Nussel [Tue, 11 Mar 2008 14:47:05 +0000 (14:47 +0000)]
don't set memory limit when using a vm
Ludwig Nussel [Tue, 11 Mar 2008 14:46:59 +0000 (14:46 +0000)]
fix check that was always false
Ludwig Nussel [Tue, 11 Mar 2008 14:46:52 +0000 (14:46 +0000)]
fix shell quoting
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.
Ludwig Nussel [Fri, 7 Mar 2008 08:48:15 +0000 (08:48 +0000)]
fix multi cd handling
Ludwig Nussel [Fri, 22 Feb 2008 13:43:37 +0000 (13:43 +0000)]
alternative approach for BUILD_RPMS compatability
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
Ludwig Nussel [Fri, 22 Feb 2008 13:43:22 +0000 (13:43 +0000)]
rm -rf $BUILD_ROOT/.build-srcdir before use in xen case
Ludwig Nussel [Fri, 22 Feb 2008 13:43:15 +0000 (13:43 +0000)]
better handling of multiple spec files and directories with spaces
Ludwig Nussel [Fri, 22 Feb 2008 13:43:10 +0000 (13:43 +0000)]
make setting the build architecture a function
Ludwig Nussel [Fri, 22 Feb 2008 13:43:03 +0000 (13:43 +0000)]
get rid of useless BUILD_INIT_BUILDSYSTEM variable
Ludwig Nussel [Fri, 22 Feb 2008 13:42:57 +0000 (13:42 +0000)]
move variable initializations to top of file
Ludwig Nussel [Fri, 22 Feb 2008 13:42:49 +0000 (13:42 +0000)]
make xen detection a function
Ludwig Nussel [Thu, 21 Feb 2008 13:25:13 +0000 (13:25 +0000)]
only set default repo if not using RPMLIST mode
Ludwig Nussel [Fri, 15 Feb 2008 15:54:30 +0000 (15:54 +0000)]
fix default repository
Ludwig Nussel [Fri, 15 Feb 2008 15:11:40 +0000 (15:11 +0000)]
set memory limit
Ludwig Nussel [Fri, 15 Feb 2008 15:11:33 +0000 (15:11 +0000)]
add support for ccache and icecream
Ludwig Nussel [Fri, 15 Feb 2008 15:11:27 +0000 (15:11 +0000)]
add missing helptexts
Ludwig Nussel [Fri, 15 Feb 2008 15:11:17 +0000 (15:11 +0000)]
add --repository to replace --rpms (bnc#346113)
Ludwig Nussel [Fri, 15 Feb 2008 15:11:00 +0000 (15:11 +0000)]
add support for --define, --with and --without
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
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
Michael Schröder [Fri, 22 Jun 2007 13:55:08 +0000 (13:55 +0000)]
- changelog2spec: fix bug in date folding
- changelog2spec: remove dead code
Michael Schröder [Thu, 21 Jun 2007 15:50:32 +0000 (15:50 +0000)]
- don't create empty files in todelete
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)
Michael Schröder [Wed, 13 Jun 2007 16:12:53 +0000 (16:12 +0000)]
- we need path requires for rpm ordering
Michael Schröder [Wed, 13 Jun 2007 15:10:35 +0000 (15:10 +0000)]
- new script
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
Michael Schröder [Sun, 27 May 2007 20:56:39 +0000 (20:56 +0000)]
- fix bug in debian helper test
- add getbinaryid program
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
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
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
Michael Schröder [Thu, 5 Apr 2007 13:48:19 +0000 (13:48 +0000)]
- fix typo in createrpmdeps
- support submodule selection
Dr. Peter Poeml [Wed, 21 Mar 2007 00:27:26 +0000 (00:27 +0000)]
make needsrootforbuild / norootforbuild work
Michael Schröder [Tue, 20 Mar 2007 13:12:54 +0000 (13:12 +0000)]
- support %global
- fix bug in macro name parsing
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
Michael Schröder [Mon, 12 Mar 2007 12:05:18 +0000 (12:05 +0000)]
- obey versions in provides/requires
Dr. Peter Poeml [Fri, 9 Mar 2007 08:24:58 +0000 (08:24 +0000)]
fix missing in front of in some places
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
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
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
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
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
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 !
Michael Schröder [Mon, 29 Jan 2007 06:17:46 +0000 (06:17 +0000)]
- fix read_spec call, oops...
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
Dr. Peter Poeml [Fri, 26 Jan 2007 04:21:48 +0000 (04:21 +0000)]
re-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
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
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