index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2020-08-02 15:37:30 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2020-08-11 06:58:06 +0300 |
commit | 8b759cb0ad95b8da9a7dfc029dbcac770abd4364 (patch) | |
tree | fe4f856a73675e5a8a4b963ab519d0b1b46891a7 /hooks/archiso | |
parent | 509043fd7d587c39d581b5114572296c205201e3 (diff) |
-rw-r--r-- | hooks/archiso | 2 |
diff --git a/hooks/archiso b/hooks/archiso index a12c260..716c69e 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -14,7 +14,7 @@ _mnt_dmsnapshot() { ro_dev="$(losetup --find --show --read-only -- "${img}")" echo "${ro_dev}" >> /run/archiso/used_block_devices - ro_dev_size="$(blockdev --getsz -- "${ro_dev}")" + ro_dev_size="$(blockdev --getsz "${ro_dev}")" if [ "${cow_persistent}" = "P" ]; then if [ -f "/run/archiso/cowspace/${cow_directory}/${img_name}.cow" ]; then |