[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:
Gerardo Exequiel Pozzi 2012-10-24 13:18:16 -03:00
parent ae2e58c927
commit 594fc08b29

View File

@ -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!"
} }