Fixing mtab creation

This commit is contained in:
Wintemrute 2010-12-04 10:33:45 +01:00 committed by Stephan Raue
parent 2394b09424
commit 5ddf2d9b8c

View File

@ -32,7 +32,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
ln -sf /var/cache/resolv.conf $INSTALL/etc/resolv.conf
# /etc/mtab is needed by udisks etc...
ln -sf /proc/mounts $INSTALL/etc/mtab
ln -sf /proc/self/mounts $INSTALL/etc/mtab
# create /etc/hostname
echo $HOSTNAME > $INSTALL/etc/hostname