Bug 5387 - /sys in initrd is needed for swsusp2
Summary: /sys in initrd is needed for swsusp2
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mkinitrd (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL: http://lists.altlinux.ru/pipermail/de...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 10:48 MSD by Andrey Rahmatullin
Modified: 2005-08-29 18:25 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.