summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2017-10-20 14:44:13 +0200
committerJonathan Bauer2017-10-20 14:44:13 +0200
commit0ee8228d18a26ea7b636e9b8054fcb74bbcdfd9f (patch)
tree63eb916d8bd88ebd9e10cf4c531e18356281ac4e
parent[run-virt] 2 second timeout for dns lookups; change fallback domain (diff)
downloadmltk-0ee8228d18a26ea7b636e9b8054fcb74bbcdfd9f.tar.gz
mltk-0ee8228d18a26ea7b636e9b8054fcb74bbcdfd9f.tar.xz
mltk-0ee8228d18a26ea7b636e9b8054fcb74bbcdfd9f.zip
[rfs-s32] meh
-rwxr-xr-xcore/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
index f0088fb9..28a69dfd 100755
--- a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
+++ b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
@@ -146,13 +146,13 @@ done
# Put detected linux partitions (83) into /etc/fstab with "noauto"
HAVE_PARTITION_45=no
-for PART_DEV in $(get_all_with_id 83) '/dev/disk/by-partlabel/OpenSLX-ID45'; do
+for PART_DEV in $(get_all_with_id 83); do
mkdir -p "/media/${PART_DEV#/dev/*}"
echo -e "${PART_DEV}\t/media/${PART_DEV#/dev/*}\tauto\t\tnoauto,noexec\t 0 0" >> "/etc/fstab"
done
# special partition 45 (persistent scratch) to $MOUNT_POINT_45
-for PART_DEV in $(get_all_with_id 45); do
+for PART_DEV in $(get_all_with_id 45) '/dev/disk/by-partlabel/OpenSLX-ID45'; do
mkdir -p "$MOUNT_POINT_45"
if ! mount -t auto -o noexec "${PART_DEV}" "$MOUNT_POINT_45"; then
format_disk "$PART_DEV" "ext4 xfs jfs ext3" || continue