summaryrefslogtreecommitdiff
path: root/setup-lbu.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-05 06:24:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-07 19:17:07 +0000
commit5427c716f6bee896942219cc7cee76eb07288e16 (patch)
treeac31667d3e67a59b045be0cce2b1e46330ebc4ca /setup-lbu.in
parent6a86cecb2c844e5ebb2a174b3ea152c9f8cd757c (diff)
downloadalpine-conf-5427c716f6bee896942219cc7cee76eb07288e16.zip
setup-lbu: don't add APKOVL to fstab as read-only
apk cache needs a writable, mounted partition to work. Adjust fstab accordingly.
Diffstat (limited to 'setup-lbu.in')
-rw-r--r--setup-lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index 5dc1526..6f0f4ad 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,ro 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
+ printf "%s\t%s\t%s\tnoauto,defaults 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
fi
# hack in case we have alpine_dev mounted on /media/usbdisk but