[arch-releng] [PATCH 3/5] [archiso] Remove uneeded cleanup /tmp
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Tue Oct 23 11:03:50 EDT 2012
/tmp is mounted as tmpfs since archiso implements own chroot code.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
archiso/mkarchiso | 4 ----
1 file changed, 4 deletions(-)
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 95bb67f..a1ff68d 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -263,10 +263,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!"
--
1.7.12.3
More information about the arch-releng
mailing list