Commit 99a7a972 authored by Michael Pozhidaev's avatar Michael Pozhidaev Committed by Michael Shigorin

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).
parent 49b40037
#!/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/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment