diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index d439b78..c7a6a54 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -431,12 +431,12 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" -a ! "${IMAGEMODE}" ]; then cp /etc/resolv.conf $ROOTMP/etc/resolv.conf chroot $ROOTMP bash -c /etc/profile.d/gpg-key-openmamba.sh #chroot $ROOTMP smart channel --enable devel-kernel - chroot $ROOTMP smart update || { - echo "ERROR: error running chroot command 'smart update'; aborting." + chroot $ROOTMP dnf update -y || { + echo "ERROR: error running chroot command 'dnf update -y'; aborting." exit 1 } - chroot $ROOTMP smart install -y $INSTALLPACKAGES || { - echo "ERROR: error running chroot command 'smart install $INSTALLPACKAGES'; aborting." + chroot $ROOTMP dnf install -y $INSTALLPACKAGES || { + echo "ERROR: error running chroot command 'dnf install -y $INSTALLPACKAGES'; aborting." exit 1 } #chroot $ROOTMP smart channel --disable devel-kernel @@ -444,7 +444,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" -a ! "${IMAGEMODE}" ]; then fi if [ "$REMOVEPACKAGES" -a ! "${IMAGEMODE}" ]; then - chroot $ROOTMP smart remove -y $REMOVEPACKAGES 2>/dev/null || true + chroot $ROOTMP dnf remove -y $REMOVEPACKAGES 2>/dev/null || true fi KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`