Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-12-10 10:42:24 +0200
committernl6720 <nl6720@gmail.com>2021-12-10 10:42:24 +0200
commit5dfbb5327c741e287d22dc0db0f74db12b1ba624 (patch)
tree1c7f052220f3c384abf64a3589bc5953424fd547 /hooks
parent499823a569acfc7246da5ffc644486bfbb11cfbc (diff)
parentbed586442c84579de1d7ac66239d4d3ba8e36764 (diff)
Merge branch 'remove-mnt_dev-fstype'
* remove-mnt_dev-fstype: hooks/archiso: remove unneeded file system type from _mnt_dev
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso5
1 files changed, 2 insertions, 3 deletions
diff --git a/hooks/archiso b/hooks/archiso
index 0ba4d07..9391b46 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -113,7 +113,7 @@ _mnt_erofs() {
fi
erofs_dev="$(losetup --find --show --read-only -- "${img}")"
echo "${erofs_dev}" >>/run/archiso/used_block_devices
- _mnt_dev "${erofs_dev}" "${mnt}" "-r" "defaults" "erofs"
+ _mnt_dev "${erofs_dev}" "${mnt}" "-r" "defaults"
}
# args: device, mountpoint, flags, opts
@@ -122,7 +122,6 @@ _mnt_dev() {
local mnt="${2}"
local flg="${3}"
local opts="${4}"
- local fstype="${5:-auto}"
mkdir -p "${mnt}"
@@ -135,7 +134,7 @@ _mnt_dev() {
launch_interactive_shell
done
- if mount -t "${fstype}" -o "${opts}" "${flg}" "${dev}" "${mnt}"; then
+ if mount -o "${opts}" "${flg}" "${dev}" "${mnt}"; then
msg ":: Device '${dev}' mounted successfully."
else
echo "ERROR; Failed to mount '${dev}'"