From 3392dc0d7cd266cf8f28ad18914e3126838ad27b Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 21 Jul 2011 01:51:33 +0200 Subject: [PATCH] mkinitrd.sh script should create /media directory on the target device --- mkinitrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitrd.sh b/mkinitrd.sh index 312220a..2a3200d 100755 --- a/mkinitrd.sh +++ b/mkinitrd.sh @@ -44,7 +44,7 @@ main() { mkfs.$IMG_TYPE -F -m 0 -b 1024 initrd $IMG_SIZE && \ mount -v -o loop -t $IMG_TYPE initrd $MNT_PATH && \ rm -rf $MNT_PATH/lost+found && \ - install -d -m 0755 $MNT_PATH/{mnt,etc,dev,sys,proc,lib,usr,var/{log,lock,run},tmp} && \ + install -d -m 0755 $MNT_PATH/{mnt,media,etc,dev,sys,proc,lib,usr,var/{log,lock,run},tmp} && \ mknod $MNT_PATH/dev/console c 5 1 && chmod 666 $MNT_PATH/dev/console && \ mknod $MNT_PATH/dev/null c 1 3 && chmod 666 $MNT_PATH/dev/null && \ mknod $MNT_PATH/dev/tty c 5 0 && chmod 666 $MNT_PATH/dev/tty && \ -- 2.26.2