From dff644500de121b262d06193f7db60b48d5f3774 Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 28 May 2016 20:54:08 -0300 Subject: [PATCH] init_functions: rename 'fstype' parameter to 'rootfstype' The latter is more standard, used by every other initramfs implementation and documented in the kernel docs. Fixes FS#45117 --- init_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_functions b/init_functions index 11ce3ca..ecba9ae 100644 --- a/init_functions +++ b/init_functions @@ -323,7 +323,7 @@ default_mount_handler() { fi msg ":: mounting '$root' on real root" - if ! mount ${fstype:+-t $fstype} -o ${rwopt:-ro}${rootflags:+,$rootflags} "$root" "$1"; then + if ! mount ${rootfstype:+-t $rootfstype} -o ${rwopt:-ro}${rootflags:+,$rootflags} "$root" "$1"; then echo "You are now being dropped into an emergency shell." launch_interactive_shell msg "Trying to continue (this will most likely fail) ..." -- 2.8.3