Bug 5387

Summary: /sys in initrd is needed for swsusp2
Product: Sisyphus Reporter: Andrey Rahmatullin <wrar>
Component: mkinitrdAssignee: Michael Shigorin <mike>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: led, vsu
Version: unstable   
Hardware: all   
OS: Linux   
URL: http://lists.altlinux.ru/pipermail/devel-kernel/2004-October/004553.html

Description Andrey Rahmatullin 2004-10-24 10:48:51 MSD
--- mkinitrd.orig       2004-10-24 12:47:21 +0600
+++ mkinitrd    2004-10-24 12:46:59 +0600
@@ -394,7 +394,7 @@
        MNTDIR="$WORKDIR/tree"
        RCFILE="$MNTDIR/linuxrc"

-       Mkdir -p $MNTDIR/{etc,dev,safedev,loopfs} ||
+       Mkdir -p $MNTDIR/{etc,dev,safedev,loopfs,sys} ||
                Fatal "Failed to create directories."

        Install /lib/mkinitrd/busybox "$MNTDIR/bin/sh"
Comment 1 Sergey Vlasov 2005-02-09 17:02:46 MSK
Fixed in mkinitrd-2.9.2-alt1.