From 8065ed2cd86f347e7d2103751bfffa027b9e5c1a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 17 Nov 2016 14:48:43 +0100 Subject: [rfs-stage32] Support GPT for ID44 --- .../rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remote/rootfs') 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 -- cgit v1.2.3-55-g7522