From a253d2878abc48537951533c2aea6a191e5a6e37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 29 Jan 2010 10:34:47 +0100 Subject: [PATCH] Do not run "createrepo" for kiwi builds when --no-init is used --- build_kiwi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4