summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-02-27 12:17:20 +0100
committerJonathan Bauer2019-02-27 12:17:20 +0100
commit72c2d578f9928e6fa3b6117c71ce658254683857 (patch)
treefe33481d05df7e12d9a4ce23051968666ff096d0
parent[slx-tpm] fix bad copying of library links (diff)
downloadsystemd-init-72c2d578f9928e6fa3b6117c71ce658254683857.tar.gz
systemd-init-72c2d578f9928e6fa3b6117c71ce658254683857.tar.xz
systemd-init-72c2d578f9928e6fa3b6117c71ce658254683857.zip
[slx-partitioner] fix param for save_part_info
-rwxr-xr-xbuilder/modules.d/slx-partitioner/scripts/dmsetup-slx-device2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device b/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
index 832073a6..59079870 100755
--- a/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
+++ b/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
@@ -268,7 +268,7 @@ if ! dmsetup_create_noudevsync "${scratch_device##*/}" \
# TODO do not bail directly, but try to to create the linear devices at least?
ramdisk_fallback
fi
-save_partition_info "$scratch_device" "*" "1" "$scratch_device_size"
+save_partition_info "${scratch_device##*/}" "*" "1" "$scratch_device_size"
# encrypt the scratch device, if configured
if [ "$crypt" -ne 0 ] && encrypt_device \