[arch-releng] [PATCH 1/5] [archiso] Remove old code (now redundant)

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Tue Oct 23 11:03:48 EDT 2012


/etc/mtab symlink is part of [filesystem] since long time

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 e3a3346..b9f12c1 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -265,10 +265,6 @@ _cleanup () {
     fi
     # Delete package pacman related files.
     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!"
 }
 
-- 
1.7.12.3



More information about the arch-releng mailing list