base-files: new profile script that provides XDG_RUNTIME_DIR if unset.
This makes weston work without systemd.
This commit is contained in:
parent
ca4bfa8d46
commit
6c6d397a83
2 changed files with 11 additions and 2 deletions
9
srcpkgs/base-files/files/xdg-runtime-dir.sh
Normal file
9
srcpkgs/base-files/files/xdg-runtime-dir.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Sets and creates XDG_RUNTIME_DIR.
|
||||
|
||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
fi
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.99
|
||||
revision=2
|
||||
version=0.100
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
build_style="meta"
|
||||
makedepends="base-directories xbps-triggers"
|
||||
|
|
Loading…
Reference in a new issue