debian: create /etc/mtab as symlink to /proc/self/mounts

Recommended by systemd.
This commit is contained in:
Marek Marczykowski-Górecki 2014-07-26 16:26:09 +02:00
parent 178d120182
commit 04da34e545

View File

@ -29,6 +29,9 @@ xen /proc/xen xenfs defaults 0 0
/dev/xvdi /mnt/removable auto noauto,user,rw 0 0 /dev/xvdi /mnt/removable auto noauto,user,rw 0 0
EOF EOF
rm -f $INSTALLDIR/etc/mtab
ln -s ../proc/self/mounts $INSTALLDIR/etc/mtab
mkdir -p $INSTALLDIR/lib/modules mkdir -p $INSTALLDIR/lib/modules
echo "--> Installing qubes packages" echo "--> Installing qubes packages"