1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 10_validateroot.dpatch by Christian Hofstaedtler <ch@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: add live-bottom/10validateroot
8 Index: b/scripts/live-bottom/10validateroot
9 ===================================================================
10 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
11 +++ b/scripts/live-bottom/10validateroot 2011-07-24 22:08:00.000000000 +0200
17 +# initramfs-tools header
33 +. /scripts/live-functions
34 +. /scripts/live-helpers
36 +if ! [ -x "/root/sbin/init" ] ; then
37 + panic "rootfs can not be mounted as supposed because of fatal error during bootup."