platform/upstream/build.git
14 years agochangelog2spec: further escape %... statements if at begin of line,
Ruediger Oertel [Wed, 2 Sep 2009 10:27:26 +0000 (10:27 +0000)]
changelog2spec: further escape %... statements if at begin of line,
%% is not enough for %ifarch for example

14 years agoask for reports
Adrian Schröter [Fri, 21 Aug 2009 12:35:34 +0000 (12:35 +0000)]
ask for reports

14 years agoadd check for another running xen instance just before xm create
Adrian Schröter [Fri, 21 Aug 2009 12:33:57 +0000 (12:33 +0000)]
add check for another running xen instance just before xm create

14 years ago-added: baselib support for dpkg based targets.
Martin Mohring [Wed, 19 Aug 2009 12:22:12 +0000 (12:22 +0000)]
-added: baselib support for dpkg based targets.
 The code for this was written by David Greaves from project maemo/mer
 It is the counterpart of the rpm implementation. Both are used e.g. to
 provide transparent cross compilation - but not limited to.
 You can activate this by adding 'Support: libparse-debcontrol-perl' to
 meta prjconf and then adding
 the file baselibs-deb.conf, which is separate from the rpm
 baselibs.conf.
 Work is tested and finally integrated with the help of by Martin Mohring
 Idea inspired by the rpm version from Jan-Simon Moeller. Reviewed by
 Jan-Simon Moeller and Martin Mohring

M    build
M    mkbaselibs
A    baselibs_global-deb.conf

14 years agoAdd support for --overlay and --rsync-{src,dest} to build and osc.
Jan-Simon Möller [Tue, 18 Aug 2009 21:28:33 +0000 (21:28 +0000)]
Add support for --overlay and --rsync-{src,dest} to build and osc.
--overlay OVERLAY
              Copy overlay filesystem to buildroot after installing
              all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
              Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
              inside the buildroot using rsync.
              It will "%define RSYNCDONE 1" for handling %setup in your
              specfile. E.g.:
              %prep
              %if 0%{?RSYNCDONE}
              %setup -n aaa_base -T -D -b 5 -b 7
              %else
              %setup -n aaa_base -b 5 -b 7
              %endif
--rsync-dest RSYNCDEST

Todo: tell rpmbuild not to delete the folders.

14 years ago- first part of the "inject-local-packagedata" patch
Marcus Hüwe [Tue, 18 Aug 2009 13:59:52 +0000 (13:59 +0000)]
- first part of the "inject-local-packagedata" patch
- rewrote readdeps():
  * it parses build's current internal format (which is created by the create*deps scripts)
  * it expects a self-provides entry for each package
  * the $pkginfo hashref can be used to store additional information (version, release, arch)
  * at the moment it does not support different architectures per file (because we don't need it)

14 years ago- fixed: in case debtransform is no called SOURCES.DEB should still be present
Martin Mohring [Tue, 18 Aug 2009 13:14:35 +0000 (13:14 +0000)]
- fixed: in case debtransform is no called SOURCES.DEB should still be present

14 years ago- added: more *.conf files to come
Martin Mohring [Sun, 16 Aug 2009 20:17:49 +0000 (20:17 +0000)]
- added: more *.conf files to come

14 years agosupport opposite order of repository priorities for smart
Adrian Schröter [Fri, 14 Aug 2009 10:22:28 +0000 (10:22 +0000)]
support opposite order of repository priorities for smart

14 years agosupport autogenerated spec files
Adrian Schröter [Mon, 3 Aug 2009 08:59:29 +0000 (08:59 +0000)]
support autogenerated spec files

15 years agofix renaming of _service:* files
Adrian Schröter [Sat, 1 Aug 2009 10:00:19 +0000 (10:00 +0000)]
fix renaming of _service:* files

15 years agoadd build-ids for debuginfo packages for subpacks
Ruediger Oertel [Mon, 27 Jul 2009 15:00:08 +0000 (15:00 +0000)]
add build-ids for debuginfo packages for subpacks

15 years agofix for ccache support from
Adrian Schröter [Wed, 22 Jul 2009 16:04:59 +0000 (16:04 +0000)]
fix for ccache support from
Joshua Plautz <jplautz@cray.com>

15 years agomount proc filesystem for build compare run
Adrian Schröter [Wed, 22 Jul 2009 10:56:50 +0000 (10:56 +0000)]
mount proc filesystem for build compare run

15 years ago- also add rpmv3 compatibility hack to createrpmdeps
Michael Schröder [Fri, 17 Jul 2009 13:20:15 +0000 (13:20 +0000)]
- also add rpmv3 compatibility hack to createrpmdeps

15 years agohandle files from service correctly and strip their prefix.
Adrian Schröter [Fri, 10 Jul 2009 18:45:52 +0000 (18:45 +0000)]
handle files from service correctly and strip their prefix.

15 years agoreturn with value 3, if basic file system creation fails.
Michael Schröder [Tue, 7 Jul 2009 11:07:09 +0000 (11:07 +0000)]
return with value 3, if basic file system creation fails.
bs_worker will mark the build host as bad and retries on another one.

15 years agodo not call depmod until we use also the native kernel,
Michael Schröder [Fri, 19 Jun 2009 09:45:57 +0000 (09:45 +0000)]
do not call depmod until we use also the native kernel,
it can't match otherwise

15 years agoalso consider patches as sources
Ludwig Nussel [Wed, 17 Jun 2009 12:20:08 +0000 (12:20 +0000)]
also consider patches as sources

15 years agouse UTC as default timezone
Ludwig Nussel [Wed, 17 Jun 2009 12:20:03 +0000 (12:20 +0000)]
use UTC as default timezone

15 years ago- only print parse warnings if $config->{'warnings'} is set
Michael Schröder [Wed, 10 Jun 2009 13:08:05 +0000 (13:08 +0000)]
- only print parse warnings if $config->{'warnings'} is set
- set warnings for expanddeps/substitutedeps

15 years ago- support for legacy releasepkg mechanism
Michael Schröder [Tue, 9 Jun 2009 17:05:18 +0000 (17:05 +0000)]
- support for legacy releasepkg mechanism

15 years agofix typo in getchangetarget
Jan-Simon Möller [Thu, 4 Jun 2009 11:39:25 +0000 (11:39 +0000)]
fix typo in getchangetarget

15 years ago- rpm3 compatibility: retrofit missing self provides
Michael Schröder [Wed, 3 Jun 2009 12:54:22 +0000 (12:54 +0000)]
- rpm3 compatibility: retrofit missing self provides

15 years agochangetarget - allow change of rpmbuilds --target through a macro in prjconf.
Jan-Simon Möller [Wed, 3 Jun 2009 10:25:20 +0000 (10:25 +0000)]
changetarget - allow change of rpmbuilds --target through a macro in prjconf.
For building ARM packages, we need to be able to set the target of the build because in the qemu-usermode environment
this is not what rpmbuild autodetects. With this patch we can use this in the prjconf:
%ifarch armv5el
Changetarget: armv5tel-suse-linux
%endif
'osc build' needs this change, too. Otherwise we'd end up with a wrong autodetection when doing a osc build on real hardware > armv5.

15 years agouse bzip2 compression at all places for image results
Adrian Schröter [Wed, 3 Jun 2009 06:56:25 +0000 (06:56 +0000)]
use bzip2 compression at all places for image results

15 years agosimplify .src.rpm handling a bit (bnc#500397)
Ludwig Nussel [Thu, 28 May 2009 13:49:48 +0000 (13:49 +0000)]
simplify .src.rpm handling a bit (bnc#500397)

15 years agoprint warning if macros cannot be expanded (bnc#496189)
Ludwig Nussel [Thu, 28 May 2009 12:41:57 +0000 (12:41 +0000)]
print warning if macros cannot be expanded (bnc#496189)

15 years agonew spec file tool
Ludwig Nussel [Thu, 28 May 2009 12:41:51 +0000 (12:41 +0000)]
new spec file tool

15 years agoalso extract source, patch and url tags from main spec preamble
Ludwig Nussel [Thu, 28 May 2009 12:41:46 +0000 (12:41 +0000)]
also extract source, patch and url tags from main spec preamble

15 years ago- restore the original file mode. This should fix #503027 ("osc vc" (or rather "vc...
Marcus Hüwe [Sun, 17 May 2009 20:32:42 +0000 (20:32 +0000)]
- restore the original file mode. This should fix #503027 ("osc vc" (or rather "vc") changes file mode of .changes file)

15 years agoanother try, doable results are wanted in ovc & vmx case.
Lars Vogdt [Fri, 8 May 2009 11:56:51 +0000 (11:56 +0000)]
another try, doable results are wanted in ovc & vmx case.

15 years agofix double build results in some cases caused by last commit
Adrian Schröter [Fri, 8 May 2009 11:43:42 +0000 (11:43 +0000)]
fix double build results in some cases caused by last commit

15 years agomake sure to compress images built with bootprofile=xen correctly
Christoph Thiel [Fri, 8 May 2009 11:29:32 +0000 (11:29 +0000)]
make sure to compress images built with bootprofile=xen correctly

15 years agoexclude changelog from specfile diff during build
Ruediger Oertel [Tue, 5 May 2009 13:12:02 +0000 (13:12 +0000)]
exclude changelog from specfile diff during build

15 years ago- fixed: build script can also be run via XEN, so we need also initscript_qemu_vm...
Martin Mohring [Mon, 4 May 2009 21:30:10 +0000 (21:30 +0000)]
- fixed: build script can also be run via XEN, so we need also initscript_qemu_vm script

15 years agomake raw files from oemboot build results directly accessable
Adrian Schröter [Wed, 29 Apr 2009 12:07:00 +0000 (12:07 +0000)]
make raw files from oemboot build results directly accessable

15 years agofixing export of debian sources again after blocklist export mechanism
Adrian Schröter [Mon, 27 Apr 2009 11:50:44 +0000 (11:50 +0000)]
fixing export of debian sources again after blocklist export mechanism

15 years agoexplain "build root is broken" options a bit
Adrian Schröter [Mon, 27 Apr 2009 08:45:36 +0000 (08:45 +0000)]
explain "build root is broken" options a bit

15 years ago -added: file with common functions
Martin Mohring [Sat, 25 Apr 2009 12:32:21 +0000 (12:32 +0000)]
 -added: file with common functions

15 years agoadd some scripts for quick build script testing
Ludwig Nussel [Fri, 24 Apr 2009 11:18:31 +0000 (11:18 +0000)]
add some scripts for quick build script testing

15 years agomove space check from init_buildsystem to build script
Ludwig Nussel [Fri, 24 Apr 2009 11:18:25 +0000 (11:18 +0000)]
move space check from init_buildsystem to build script

15 years agointroduce common_functions file to be shared between programs
Ludwig Nussel [Fri, 24 Apr 2009 11:18:19 +0000 (11:18 +0000)]
introduce common_functions file to be shared between programs

move set_build_arch to common_functions
introduce $BUILD_HOST_ARCH (not used yet)

15 years ago- fixed: remove also .root dir in buildroot. but this is not the final solution,...
Martin Mohring [Thu, 23 Apr 2009 23:28:53 +0000 (23:28 +0000)]
- fixed: remove also .root dir in buildroot. but this is not the final solution, since all files except those passed down should be cleaned

15 years ago- removed: reset_mmap_min_addr() hack, have a fixed qemu which doesnt need this anymore
Martin Mohring [Thu, 23 Apr 2009 09:47:28 +0000 (09:47 +0000)]
- removed: reset_mmap_min_addr() hack, have a fixed qemu which doesnt need this anymore

15 years agojust edit option for buildvc and osc vc commands, used /usr/lib/build/vc in osc vc
Michal Vyskocil [Wed, 22 Apr 2009 14:44:17 +0000 (14:44 +0000)]
just edit option for buildvc and osc vc commands, used /usr/lib/build/vc in osc vc

15 years agorun vc when calling buildvc
Adrian Schröter [Wed, 22 Apr 2009 10:51:00 +0000 (10:51 +0000)]
run vc when calling buildvc

15 years agoinstall getbinaryid and killchroot as well
Adrian Schröter [Wed, 22 Apr 2009 08:21:12 +0000 (08:21 +0000)]
install getbinaryid and killchroot as well

15 years agoavoid running fsck on ext3 fs VM instances
Adrian Schröter [Wed, 22 Apr 2009 08:13:55 +0000 (08:13 +0000)]
avoid running fsck on ext3 fs VM instances

15 years ago- fixed: forgot quoting the regexp
Martin Mohring [Mon, 20 Apr 2009 19:53:20 +0000 (19:53 +0000)]
- fixed: forgot quoting the regexp

15 years ago-changed: print not only start time but also end time
Martin Mohring [Mon, 20 Apr 2009 15:26:39 +0000 (15:26 +0000)]
-changed: print not only start time but also end time

15 years ago* move rpms in correct architecture subdirectories
Adrian Schröter [Mon, 20 Apr 2009 14:15:33 +0000 (14:15 +0000)]
* move rpms in correct architecture subdirectories
* fix debian/kiwi export

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