[projects/geninitrd] accept rootfs= kernel commandline argument
glen
glen at pld-linux.org
Wed Jun 29 21:48:46 CEST 2016
commit b13c409df04d048f45d246603a779e39f2fed2b4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 29 22:48:43 2016 +0300
accept rootfs= kernel commandline argument
geninitrd | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index e94ca12..432999c 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1580,6 +1580,9 @@ add_linuxrc <<-'EOF'
if [ "${arg##root=}" != "${arg}" ]; then
ROOT=${arg##root=}
fi
+ if [ "${arg##rootfs=}" != "${arg}" ]; then
+ ROOTFS=${arg##rootfs=}
+ fi
if [ "${arg##rootflags=}" != "${arg}" ]; then
ROOTFLAGS=${arg##rootflags=}
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/b13c409df04d048f45d246603a779e39f2fed2b4
More information about the pld-cvs-commit
mailing list