From: Jose V Beneyto Date: Wed, 20 Jul 2011 23:51:33 +0000 (+0200) Subject: mkinitrd.sh script should create /media directory on the target device X-Git-Url: http://gitweb/?a=commitdiff_plain;h=3392dc0d7cd266cf8f28ad18914e3126838ad27b;p=initrd.git mkinitrd.sh script should create /media directory on the target device --- 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 && \