diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 4457721..8573b19 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -359,7 +359,7 @@ mapdev() { target_configure_fstab() { [ -f $TMP_FSTAB ] || return 0 # we can't do anything, but not really a failure - sed -i 's/^\/dev/#\/dev/g' $var_TARGET_DIR/etc/fstab || return 1 + sed -i 's!^\(/dev/\|LABEL=\|UUID=\)!#\1!' $var_TARGET_DIR/etc/fstab || return 1 sort $TMP_FSTAB >> $var_TARGET_DIR/etc/fstab || return 1 return 0 } |