[archiso] Remove old code (now redundant)
/etc/mtab symlink is part of [filesystem] since long time Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
ae2e58c927
commit
594fc08b29
@ -265,10 +265,6 @@ _cleanup () {
|
|||||||
fi
|
fi
|
||||||
# Delete package pacman related files.
|
# Delete package pacman related files.
|
||||||
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
|
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
|
||||||
# Create etc/mtab if not is a symlink.
|
|
||||||
if [[ ! -L "${work_dir}/root-image/etc/mtab" ]]; then
|
|
||||||
ln -sf "/proc/self/mounts" "${work_dir}/root-image/etc/mtab"
|
|
||||||
fi
|
|
||||||
_msg_info "Done!"
|
_msg_info "Done!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user