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 diff --git a/scripts/live-bottom/10validateroot b/scripts/live-bottom/10validateroot
11 +++ b/scripts/live-bottom/10validateroot
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."