index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | David Runge <dvzrv@archlinux.org> | 2021-07-31 16:32:48 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2021-07-31 17:32:40 +0200 |
commit | 37529a96766a5841fc6561acfbfbf42b3d6ff98a (patch) | |
tree | 14538b925812f0d6a30672c21e8952609ff28619 /hooks/archiso_loop_mnt | |
parent | a5f57c2bfa3f7b380f572b4e86845113d6b9ef15 (diff) |
-rw-r--r-- | hooks/archiso_loop_mnt | 6 |
diff --git a/hooks/archiso_loop_mnt b/hooks/archiso_loop_mnt index 41899e4..a5a71e8 100644 --- a/hooks/archiso_loop_mnt +++ b/hooks/archiso_loop_mnt @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -run_hook () { +run_hook() { # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline() [ -n "${img_label}" ] && img_dev="/dev/disk/by-label/${img_label}" @@ -14,7 +14,7 @@ run_hook () { fi } -archiso_loop_mount_handler () { +archiso_loop_mount_handler() { newroot="${1}" local _dev_loop @@ -24,7 +24,7 @@ archiso_loop_mount_handler () { # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline() if [ "${copytoram}" != "y" ]; then - readlink -f "${img_dev}" >> /run/archiso/used_block_devices + readlink -f "${img_dev}" >>/run/archiso/used_block_devices fi if _dev_loop=$(losetup --find --show --read-only "/run/archiso/img_dev/${img_loop}"); then |