From: Michael Schroeder Date: Fri, 10 Dec 2010 12:06:47 +0000 (+0100) Subject: - run createrepo with --simple-md-filenames if possible X-Git-Tag: upstream/20120927~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5edc095389f95e100dad8153a9e858bfc9ea9a1d;p=platform%2Fupstream%2Fbuild.git - run createrepo with --simple-md-filenames if possible --- diff --git a/build_kiwi.sh b/build_kiwi.sh index 286af24..a825e16 100644 --- a/build_kiwi.sh +++ b/build_kiwi.sh @@ -21,8 +21,12 @@ run_kiwi() repo="$TOPDIR/SOURCES/repos/${rc%/*}/${rc##*/}/" fi if test "$imagetype" != product ; then - echo "creating repodata for $repo" - chroot $BUILD_ROOT createrepo "$repo" + echo "creating repodata for $repo" + if chroot $BUILD_ROOT createrepo --simple-md-filenames --help >/dev/null 2>&1 ; then + chroot $BUILD_ROOT createrepo --simple-md-filenames "$repo" + else + chroot $BUILD_ROOT createrepo "$repo" + fi fi done # unpack root tar