diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-28 15:03:36 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-28 15:10:21 +0200 |
commit | 8e27a8ebff1a3b3151bfae0282f527f77669652b (patch) | |
tree | 5ea7e3442695b05c6575e46adb2cb4a642ed166e /main/alpine-baselayout | |
parent | fdc8fa29100af2e4e174613a9be8bd787d4f8dca (diff) | |
download | aports-8e27a8ebff1a3b3151bfae0282f527f77669652b.tar.bz2 aports-8e27a8ebff1a3b3151bfae0282f527f77669652b.tar.xz |
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.
Diffstat (limited to 'main/alpine-baselayout')
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD index da8b699ce8..e3493f36f5 100644 --- a/main/alpine-baselayout/APKBUILD +++ b/main/alpine-baselayout/APKBUILD @@ -1,7 +1,7 @@ # 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 |