summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-24 13:18:16 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-24 13:18:16 -0300
commitaece3e3d2e07953b9aab2a3bb4e3ed9fd926197f (patch)
treea93f3de699c7c7ba5f28d1bf7259737785a246f7 /archiso
parent594fc08b29bfd188ddb05cb1a1854987f6419eda (diff)
downloadarchiso32-aece3e3d2e07953b9aab2a3bb4e3ed9fd926197f.tar.xz
[archiso] Remove uneeded cleanup /tmp
/tmp is mounted as tmpfs since archiso implements own chroot code. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso4
1 files changed, 0 insertions, 4 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index b9f12c1..b8d14e1 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -259,10 +259,6 @@ _cleanup () {
if [[ -d "${work_dir}/root-image/var/tmp" ]]; then
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
fi
- # Delete all temporary files and dirs
- if [[ -d "${work_dir}/root-image/tmp" ]]; then
- find "${work_dir}/root-image/tmp" -mindepth 1 -delete
- fi
# Delete package pacman related files.
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
_msg_info "Done!"