From: Michael Schröder Date: Thu, 12 Apr 2007 14:18:58 +0000 (+0000) Subject: - add --root option in reorder rpm call to work around a bug in rpm X-Git-Tag: obs_2.0~443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=251f195cb0619885f3ef4d54436c08d06335c5f5;p=tools%2Fobs-build.git - add --root option in reorder rpm call to work around a bug in rpm --- diff --git a/init_buildsystem b/init_buildsystem index 4ace7d5..c36cbb8 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -166,7 +166,7 @@ $PKG.rpm" fi # manifest must be at least 96 bytes... echo "################################################################################################" "$REORDER_HAVE" > $BUILD_ROOT/.reorder/MANIFEST.rpm - bash -c "cd $BUILD_ROOT/.init_b_cache/rpms && rpm -Uvv --dbpath $BUILD_ROOT/.reorder/.db --nosuggest --nodigest --nosignature --ignoresize --force --nodeps --test $BUILD_ROOT/.reorder/MANIFEST.rpm" 2>&1 | sed -n -e 's/-[^- ]*-[^- ]* / /' -e 's/^D: install: \([^ ]*\) .*/\1/p' > $BUILD_ROOT/.reorder/.list + bash -c "cd $BUILD_ROOT/.init_b_cache/rpms && rpm -Uvv --root $BUILD_ROOT --dbpath /.reorder/.db --nosuggest --nodigest --nosignature --ignoresize --force --nodeps --test $BUILD_ROOT/.reorder/MANIFEST.rpm" 2>&1 | sed -n -e 's/-[^- ]*-[^- ]* / /' -e 's/^D: install: \([^ ]*\) .*/\1/p' > $BUILD_ROOT/.reorder/.list rm -f $BUILD_ROOT/.reorder/MANIFEST.rpm REORDER_HAVE= for PKG in `cat $BUILD_ROOT/.reorder/.list`; do