From 31e71771276aac27c772660dce5875a850002490 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 6 Mar 2017 15:46:29 +0100 Subject: [PATCH] rootfsinstall.sh: don't fail if removing packages fails (assuming because they are missing) --- src/rootfsinstall.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index 4364942..e3f3f63 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -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"`