]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - geninitrd
Create proc and sys directories when firwmare is needed.
[projects/geninitrd.git] / geninitrd
index dd520a438600144dd18bd8c267290868fafeaf0a..477fb8c0ce45e7451064f2060f507b9af956d61d 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -662,6 +662,8 @@ firmware_install_module_pre() {
        firmware_files="$3"
 
        [ -n "$verbose" ] && echo "Adding Firmwares ($firmware_files) to initrd for module $module"
+       mkdir -p $MNTIMAGE/proc
+       mkdir -p $MNTIMAGE/sys
        # firmware not yet installed
        if [ ! -f "$MNTIMAGE/lib/firmware/firmware.sh" ]; then
                mkdir -p $MNTIMAGE/lib/firmware
This page took 0.022517 seconds and 4 git commands to generate.