Skip to content

Commit

Permalink
Merge pull request #99 from fwiesel/more_lax_part_label
Browse files Browse the repository at this point in the history
Relax constraints for partition label
  • Loading branch information
nkraetzschmar authored Nov 21, 2024
2 parents 4f27675 + 182fc62 commit b399457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/image.d/makepart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sed 's/#.*//;/^[[:space:]]*$/d' \

# check if fstab entry specifies source by UUID or LABEL
uuid="$(grep -oP '(?<=^UUID=)[a-fA-F0-9\-]*$' <<< "$source" || true)"
label="$(grep -oP '(?<=^LABEL=)[a-zA-Z0-9\_\-]*$' <<< "$source" || true)"
label="$(grep -oP '(?<=^LABEL=)[[:graph:]]*$' <<< "$source" || true)"

if [[ "$depth" = 0 ]]; then
# we iterate depth sorted, so all other partitions should already have been processed and written to fstab
Expand Down

0 comments on commit b399457

Please sign in to comment.