Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchiso/mkarchiso4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 6fb5d06..e434bb2 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -201,9 +201,9 @@ _cleanup () {
if [[ -d "${work_dir}/root-image/tmp" ]]; then
find "${work_dir}/root-image/tmp" -mindepth 1 -delete
fi
- # Delete etc/mtab if not is a symlink.
+ # Create etc/mtab if not is a symlink.
if [[ ! -L "${work_dir}/root-image/etc/mtab" ]]; then
- rm -f "${work_dir}/root-image/etc/mtab"
+ ln -sf "/proc/self/mounts" "${work_dir}/root-image/etc/mtab"
fi
}