Commit 1dcf439c authored by Gerardo Exequiel Pozzi's avatar Gerardo Exequiel Pozzi
Browse files

[archiso] Create /etc/mtab as symlink.

This is now supported since util-linux pkg enable it.

Signed-off-by: default avatarGerardo Exequiel Pozzi <>
parent cb619dfa
......@@ -201,9 +201,9 @@ _cleanup () {
if [[ -d "${work_dir}/root-image/tmp" ]]; then
find "${work_dir}/root-image/tmp" -mindepth 1 -delete
# Delete etc/mtab if not is a symlink.
# Create etc/mtab if not is a symlink.
if [[ ! -L "${work_dir}/root-image/etc/mtab" ]]; then
rm -f "${work_dir}/root-image/etc/mtab"
ln -sf "/proc/self/mounts" "${work_dir}/root-image/etc/mtab"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment