Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
[opensuse-buildservice] Re: [PATCH] Do not run "createrepo" for kiwi builds when --no-init is used
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Fri, 29 Jan 2010 10:39:23 +0100
  • Message-id: <20100129093923.GA12300@xxxxxxx>
On Fri, Jan 29, 2010 at 10:42:03AM +0100, OBS build wrote:
From: Adrian Schröter <adrian@xxxxxxx>

---
build_kiwi.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build_kiwi.sh b/build_kiwi.sh
index 93330ee..4eaf556 100644
--- a/build_kiwi.sh
+++ b/build_kiwi.sh
@@ -5,7 +5,7 @@ run_kiwi()
imagename=$(perl -I$BUILD_DIR -MBuild::Kiwi -e Build::Kiwi::show
$BUILD_ROOT/$TOPDIR/SOURCES/$SPECFILE filename)
imageversion=$(perl -I$BUILD_DIR -MBuild::Kiwi -e Build::Kiwi::show
$BUILD_ROOT/$TOPDIR/SOURCES/$SPECFILE version)
# prepare rpms as source and createrepo on the repositories
- if test -d $BUILD_ROOT/$TOPDIR/SOURCES/repos ; then
+ if test -d $BUILD_ROOT/$TOPDIR/SOURCES/repos -a "$DO_INIT" = true ; then
(
ln -sf $TOPDIR/SOURCES/repos $BUILD_ROOT/repos
cd $BUILD_ROOT/$TOPDIR/SOURCES/repos
--
1.6.5.7

I thinks this breaks kiwi builds in a VM as DO_INIT dies not get transfered.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups