stage4: add /etc/mtab symlink
This commit is contained in:
parent
dc7b589e7a
commit
921202e371
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user