rootfsinstall.sh: don't fail if removing packages fails (assuming because they are missing)
This commit is contained in:
parent
25e73d71a2
commit
31e7177127
@ -375,10 +375,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$REMOVEPACKAGES" ]; then
|
if [ "$REMOVEPACKAGES" ]; then
|
||||||
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || {
|
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || true
|
||||||
echo "ERROR: error running chroot command 'smart remove $REMOVEPACKAGES'; aborting."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`
|
KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`
|
||||||
|
Loading…
Reference in New Issue
Block a user