]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Mount /dev on initramfs too
authorArtur Frysiak <artur@frysiak.net>
Sat, 3 Dec 2011 19:52:12 +0000 (19:52 +0000)
committerArtur Frysiak <artur@frysiak.net>
Sat, 3 Dec 2011 19:52:12 +0000 (19:52 +0000)
svn-id: @12423

geninitrd

index 4c1bdabdfd86586f306f47de90412cf2e7d12f86..b295f438b339fe4819aad9ca27afcea5974b794d 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -142,11 +142,6 @@ add_linuxrc() {
 # can be called multiple times. /dev is cleaned up (umounted) automatically at
 # the end of script.
 mount_dev() {
-    if [ "$INITRDFS" = "initramfs" ]; then
-               # initramfs is read-write filesystem, no need for tmpfs
-               return
-       fi
-
        # we already generated tmpfs code; return
        if is_yes "$dev_mounted"; then
                return
This page took 0.039458 seconds and 4 git commands to generate.