From 4a53062e0805c418f99d4c48ac5514eb0bf09f24 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 8 Aug 2019 23:36:08 +0200 Subject: [PATCH] rrootfsinstall: use dnf instead of smart --- src/rootfsinstall.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"`