summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2024-04-20 08:16:55 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2024-04-20 08:20:18 +0200
commitc48f8498e72928778a0501f8c958f0f61c214858 (patch)
treef8520922af4f34be7128086a86f1fbcb3119fdc7
parenteeca95d195652ef3506a154e9d18fd98f0dbf5b2 (diff)
abuild: allow packages to install under runHEADmaster
I have some vauge memory that it is conveinent for Docker users that the state dir under /run exists. Allow this for alpine 3.20 and revisit later.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index ac0b6ff..f873620 100644
--- a/abuild.in
+++ b/abuild.in
@@ -782,7 +782,7 @@ postcheck() {
msg "Running postcheck for $name"
# checking for FHS compat
if ! options_has "!fhs"; then
- for i in srv usr/local opt run var/run tmp var/tmp var/lock var/empty home sys proc mnt dev; do
+ for i in srv usr/local opt var/run tmp var/tmp var/lock var/empty home sys proc mnt dev; do
for j in "$dir"/"$i"/* "$dir"/"$i"/.[!.]* "$dir"/"$i"/..?*; do
if [ -L "$j" ] || [ -e "$j" ]; then
error "Packages must not put anything under /$i"