From 99a7a972842c7f1437b669d1a39d2775da06acfc Mon Sep 17 00:00:00 2001 From: Michael Pozhidaev Date: Tue, 6 Aug 2013 02:38:41 +0700 Subject: [PATCH] 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). --- sub.in/stage2/image-scripts.d/99-cleanup-boot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sub.in/stage2/image-scripts.d/99-cleanup-boot b/sub.in/stage2/image-scripts.d/99-cleanup-boot index df7e3bac..230aefa8 100755 --- a/sub.in/stage2/image-scripts.d/99-cleanup-boot +++ b/sub.in/stage2/image-scripts.d/99-cleanup-boot @@ -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/*