abuild: allow packages to install under run
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.
This commit is contained in:
parent
eeca95d195
commit
c48f8498e7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue