- add --root option in reorder rpm call to work around a bug in rpm
authorMichael Schröder <mls@suse.de>
Thu, 12 Apr 2007 14:18:58 +0000 (14:18 +0000)
committerMichael Schröder <mls@suse.de>
Thu, 12 Apr 2007 14:18:58 +0000 (14:18 +0000)
init_buildsystem

index 4ace7d5..c36cbb8 100755 (executable)
@@ -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