From 6937b7f6dc9dac7d8f9bad92b5ca599d8e3702a1 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 2 Feb 2016 11:26:08 +0100 Subject: Don't abort if the udev rules file is not present in the initrd. --- make_slackware_live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index a9827c6..b48585d 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1342,7 +1342,7 @@ cat $LIVE_TOOLDIR/liveinit | sed \ > ${LIVE_ROOTDIR}/boot/initrd-tree/init cat /dev/null > ${LIVE_ROOTDIR}/boot/initrd-tree/luksdev # We do not add openobex to the initrd and don't want to see irrelevant errors: -rm ${LIVE_ROOTDIR}/boot/initrd-tree/lib/udev/rules.d/*openobex*rules 2>${DBGOUT} +rm ${LIVE_ROOTDIR}/boot/initrd-tree/lib/udev/rules.d/*openobex*rules 2>${DBGOUT} || true # Wrap up the initrd.img again: chroot ${LIVE_ROOTDIR} /sbin/mkinitrd 1>/dev/null 2>${DBGOUT} rm -rf ${LIVE_ROOTDIR}/boot/initrd-tree -- cgit v1.2.3