]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
accept rootfs= kernel commandline argument
authorElan Ruusamäe <glen@delfi.ee>
Wed, 29 Jun 2016 19:48:43 +0000 (22:48 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 29 Jun 2016 19:48:43 +0000 (22:48 +0300)
geninitrd

index e94ca12fc00faa8dc4f430bf8d905254caf8e792..432999c1214f43c9b1508bded01254bf1abb4dac 100755 (executable)
--- 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
This page took 0.297122 seconds and 4 git commands to generate.