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:
parent
49b400378d
commit
99a7a97284
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user