diff options
author | Simon Rettberg | 2016-11-17 14:48:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-11-17 14:48:43 +0100 |
commit | 8065ed2cd86f347e7d2103751bfffa027b9e5c1a (patch) | |
tree | 913c6b99e17fe69edb64750782b7fb5ef87f1485 /remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | |
parent | [kernel-vanilla] 4.8.8 (diff) | |
download | tm-scripts-8065ed2cd86f347e7d2103751bfffa027b9e5c1a.tar.gz tm-scripts-8065ed2cd86f347e7d2103751bfffa027b9e5c1a.tar.xz tm-scripts-8065ed2cd86f347e7d2103751bfffa027b9e5c1a.zip |
[rfs-stage32] Support GPT for ID44
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions')
-rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index 4dc84828..c3813af9 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -127,7 +127,8 @@ done # space, thus no normal filesystem will be incidentally deleted or # corrupted HAVE_TEMP=no -for PART_DEV in $(get_all_with_id 44); do +for PART_DEV in $(get_all_with_id 44) "/dev/disk/by-partlabel/OpenSLX-ID44"; do + [ -e "$PART_DEV" ] || continue # Since OpenSLX-ID44 is hard-coded and might not exist # check for supported filesystem and formatter if format_disk "$PART_DEV"; then # echo "$PART_DEV is mounted to /mnt/tmp at $(sysup)" >/tmp/tmpready |