diff options
Diffstat (limited to 'builder')
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/mount/mount-root-device.sh | 3 |
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" |
