From 7ad53e42ddb949898e5ce30d0e158424f781aeaa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 8 Sep 2011 16:21:19 +0200 Subject: [PATCH] Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validateroot bootscript, stripped live systems may or may not carry /usr/share/doc. --- scripts/live-bottom/10validateroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/live-bottom/10validateroot b/scripts/live-bottom/10validateroot index 23eb900..d4d1620 100755 --- a/scripts/live-bottom/10validateroot +++ b/scripts/live-bottom/10validateroot @@ -7,7 +7,7 @@ # initramfs-tools header PREREQ="" - + prereqs() { echo "${PREREQ}" @@ -23,7 +23,7 @@ esac . /scripts/live-functions . /scripts/live-helpers -if ! [ -d "/root/usr/share/doc/live-boot" ] +if ! [ -d "/root/usr/share/live-boot" ] then panic "A wrong rootfs was mounted." fi -- 2.1.4