rootfsinstall.sh: don't fail if removing packages fails (assuming because they are missing)

This commit is contained in:
Silvan Calarco 2017-03-06 15:46:29 +01:00
parent 25e73d71a2
commit 31e7177127

View File

@ -375,10 +375,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" ]; then
fi
if [ "$REMOVEPACKAGES" ]; then
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || {
echo "ERROR: error running chroot command 'smart remove $REMOVEPACKAGES'; aborting."
exit 1
}
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || true
fi
KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`