stage4: add /etc/mtab symlink
This commit is contained in:
parent
dc7b589e7a
commit
921202e371
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue