From 9d76403abb1083b1d233ea17e84942907074766e Mon Sep 17 00:00:00 2001 From: torben Date: Fri, 27 Nov 2015 14:35:24 +0100 Subject: Fix. --- builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'builder') 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" -- cgit v1.2.3-55-g7522