From: Zoltán Felleg Date: Mon, 20 Jun 2022 14:26:49 +0000 (+0200) Subject: Updated c3.sh (separately copy the rpm database under /usr). X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=c4a0ad62f0e6125ef264c6654cfefdc3a2a38951;p=user-lxc.git Updated c3.sh (separately copy the rpm database under /usr). --- diff --git a/scripts/c3.sh b/scripts/c3.sh index c9d547a..8b8c6a1 100755 --- a/scripts/c3.sh +++ b/scripts/c3.sh @@ -75,6 +75,13 @@ copy_and_install() ;; esac done + # the rpm database has moved to /usr + for DIRECTORY in usr/lib/sysimage + do + rm --force --recursive $CONTAINER_BUILDROOT/$DIRECTORY + cp --archive $BASE_CONTAINER_PATH/rootfs/$DIRECTORY \ + $CONTAINER_BUILDROOT/$DIRECTORY + done echo "Installing special packages."