stage4: add /etc/mtab symlink

This commit is contained in:
Serge Schneider 2017-05-15 16:40:31 +01:00
parent dc7b589e7a
commit 921202e371

View File

@ -35,6 +35,8 @@ rm -f ${ROOTFS_DIR}/var/lib/dbus/machine-id
true > ${ROOTFS_DIR}/etc/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 for _FILE in $(find ${ROOTFS_DIR}/var/log/ -type f); do
true > ${_FILE} true > ${_FILE}
done done