Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso2
-rw-r--r--archiso/install/archiso1
2 files changed, 2 insertions, 1 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index 839be9b..d03914a 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -167,7 +167,7 @@ archiso_mount_handler() {
_init_loop_dev
- _mnt_dev "${archisodevice}" "/run/archiso/bootmnt" "-r"
+ mountpoint -q "/run/archiso/bootmnt" || _mnt_dev "${archisodevice}" "/run/archiso/bootmnt" "-r"
if [[ ! -f "${aitab}" ]]; then
echo "ERROR: '${aitab}' file does not exist."
diff --git a/archiso/install/archiso b/archiso/install/archiso
index 7984c53..3b4e223 100644
--- a/archiso/install/archiso
+++ b/archiso/install/archiso
@@ -8,6 +8,7 @@ build ()
add_binary /lib/udev/cdrom_id
add_binary /sbin/blockdev
add_binary /sbin/dmsetup
+ add_binary /bin/mountpoint
add_file /lib/udev/rules.d/60-cdrom_id.rules
add_file /lib/udev/rules.d/10-dm.rules