Commit 8e27a8eb authored by Natanael Copa's avatar Natanael Copa

main/alpine-baselayout: make /var/run a symlink

openrc will migrate the /var/run dir to a symlink that points to /run so
all running systems should have this as symlink already. This will make
sure that it is symlink for non-openrc users too.
parent fdc8fa29
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=3.0.4
pkgver=3.0.5
pkgrel=0
pkgdesc="Alpine base dir structure and init scripts"
url="http://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
......@@ -102,11 +102,11 @@ package() {
var/lock/subsys \
var/log \
var/opt \
var/run \
var/spool \
var/spool/cron \
|| return 1
ln -s /run var/run
install -d -m 0555 var/empty || return 1
install -d -m 0700 "$pkgdir"/root || return 1
install -d -m 1777 "$pkgdir"/tmp "$pkgdir"/var/tmp || return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment