stage2: extend /boot cleaner stoplist

Minor fix: /boot directory is not cleaned for livecd if there are
homeros-install or luwrain-install files (in addition to live-install
and livecd-install being already checked).
This commit is contained in:
Michael Pozhidaev 2013-08-06 02:38:41 +07:00 committed by Michael Shigorin
parent 49b400378d
commit 99a7a97284

View File

@ -1,7 +1,8 @@
#!/bin/sh
# don't cripple the image to be copied over
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install ] && exit 0
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install -o \
-x /usr/sbin/homeros-install -o -x /usr/sbin/luwrain-install ] && exit 0
# no need for the kernel in live root otherwise: it's been booted already
rm -f /boot/*