summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-13 10:20:57 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-13 15:52:55 +0200
commita54264fe0016c21b189798e2be7376df777a4163 (patch)
tree73b844b2c137b15ec7a59e1265a7a41c5697a54e
parent709ae9fedffa2fff9b445ee38dfd2f34eb5bfc02 (diff)
downloadalpine-conf-a54264fe0016c21b189798e2be7376df777a4163.zip
setup-lbu: create media directory relative ROOT
-rw-r--r--setup-lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index a491737..3af1f8e 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -55,7 +55,7 @@ set_media() {
local mnt=/media/$media
case "$media" in
- LABEL=*|UUID=*) mkdir -p /media/$media;;
+ LABEL=*|UUID=*) mkdir -p $ROOT/media/$media;;
esac
if [ -d "$media" ] && [ "${media#/media/}" != "$media" ]; then
mnt="$media"