summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-18 16:24:28 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-18 16:24:28 +0100
commitb929d162791f56eac01d2f0e90c3f4baba6cca0a (patch)
tree28a71278dc5acaab708a69e45f83a9891c203969
parentf7038ce6552a5d0a43265ab88f253ce3bc15f6f1 (diff)
downloadalpine-conf-b929d162791f56eac01d2f0e90c3f4baba6cca0a.zip
Revert "setup-lbu: don't add APKOVL to fstab as read-only"
ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14064 ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10531 This reverts commit 5427c716f6bee896942219cc7cee76eb07288e16.
-rw-r--r--setup-lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index 3af1f8e..28cfae0 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -105,7 +105,7 @@ set_media() {
case "$media" in
LABEL=*|UUID=*) UUID="$media";;
esac
- printf "%s\t%s\t%s\tnoauto,defaults 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
+ printf "%s\t%s\t%s\tnoauto,ro 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
fi
# hack in case we have alpine_dev mounted on /media/usbdisk but