From c62ab88a3751b0ab61f9c83c7dfd270df0fbce92 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 7 Sep 2017 10:16:38 +0200 Subject: [PATCH] rootfsinstall: silence removal of packages so that it does not seem an error if they are not present --- src/rootfsinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index a2dfc0b..f522f6e 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -376,7 +376,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" ]; then fi if [ "$REMOVEPACKAGES" ]; then - chroot $ROOTMP smart remove -y $REMOVEPACKAGES || true + chroot $ROOTMP smart remove -y $REMOVEPACKAGES 2>/dev/null || true fi KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`