stage4: add /etc/mtab symlink

pull/85/head
Serge Schneider 2017-05-15 16:40:31 +01:00
parent dc7b589e7a
commit 921202e371
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ rm -f ${ROOTFS_DIR}/var/lib/dbus/machine-id
true > ${ROOTFS_DIR}/etc/machine-id
ln -nsf /proc/mounts ${ROOTFS_DIR}/etc/mtab
for _FILE in $(find ${ROOTFS_DIR}/var/log/ -type f); do
true > ${_FILE}
done