- use wait_for_dev in livenet - clarify log message and fix missing newline in dmsquash-live Signed-off-by: Will Woods <wwoods@xxxxxxxxxx> --- modules.d/90dmsquash-live/parse-dmsquash-live.sh | 4 ++-- modules.d/90livenet/parse-livenet.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules.d/90dmsquash-live/parse-dmsquash-live.sh b/modules.d/90dmsquash-live/parse-dmsquash-live.sh index a733144..d60db01 100755 --- a/modules.d/90dmsquash-live/parse-dmsquash-live.sh +++ b/modules.d/90dmsquash-live/parse-dmsquash-live.sh @@ -41,9 +41,9 @@ case "$liveroot" in live:/*.[Ii][Mm][Gg]|/*.[Ii][Mm][Gg]) [ -f "${root#live:}" ] && rootok=1 ;; esac -info "liveroot was $liveroot, is now $root" +info "root was $liveroot, is now $root" # make sure that init doesn't complain [ -z "$root" ] && root="live" -wait_for_dev /dev/mapper/live-rw \ No newline at end of file +wait_for_dev /dev/mapper/live-rw diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh index 323fd4a..2e6bc4b 100755 --- a/modules.d/90livenet/parse-livenet.sh +++ b/modules.d/90livenet/parse-livenet.sh @@ -16,4 +16,4 @@ case "$liveurl" in rootok=1 ;; esac -echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/livenet.sh +wait_for_dev /dev/root -- 1.7.7.5 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html