summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortorben2015-11-27 14:35:24 +0100
committertorben2015-11-27 14:35:24 +0100
commit9d76403abb1083b1d233ea17e84942907074766e (patch)
tree2376f06227183e6a0b2576051d41ab2fc6eeeb4c
parentChange slx configuration parameter name since the old one doesn't match (diff)
downloadsystemd-init-9d76403abb1083b1d233ea17e84942907074766e.tar.gz
systemd-init-9d76403abb1083b1d233ea17e84942907074766e.tar.xz
systemd-init-9d76403abb1083b1d233ea17e84942907074766e.zip
Fix.
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/mount/mount-root-device.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh b/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh
index 3da6e07c..97059aae 100755
--- a/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh
+++ b/builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh
@@ -1,5 +1,4 @@
mount /dev/mapper/root "$NEWROOT" $SLX_MOUNT_ROOT_OPTIONS && \
# Write fstab for recognized system partition.
-# TODO make ubuntu compatible
-sed --in-place --quiet "/^LABEL=${SLX_SYSTEM_PARTITION_LABEL}.*/!s/.*//" \
+sed --in-place --quiet "/${SLX_SYSTEM_PARTITION_IDENTIFIER}.*/!s/.*//" \
"$NEWROOT/etc/fstab"