Skip to content

Commit

Permalink
Make sysroot work without --clean
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Apr 23, 2021
1 parent 9b332b7 commit a6166cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-pkg-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pkg_sysrootinstall_rpm() {
chroot $BUILD_ROOT mkdir -p "$BUILD_SYSROOT"
chroot $BUILD_ROOT rpm --root "$BUILD_SYSROOT" --initdb
local installed=$(chroot $BUILD_ROOT rpm --root "$BUILD_SYSROOT" -qa)
test -n "$installed" && chroot $BUILD_ROOT rpm --root "$BUILD_SYSROOT" -e --allmatches $installed
test -n "$installed" && chroot $BUILD_ROOT rpm --root "$BUILD_SYSROOT" --nodeps --noscripts -e --allmatches $installed
return
fi
if test "x$1" = "x--finalize" ; then
Expand Down

0 comments on commit a6166cb

Please sign in to comment.