runit-void: Standardise/improve os-release
This commit is contained in:
parent
f578bc2984
commit
1dfc401d12
|
@ -1,4 +1,9 @@
|
||||||
NAME="void"
|
NAME="Void"
|
||||||
ID="void"
|
ID="void"
|
||||||
|
PRETTY_NAME="Void Linux"
|
||||||
|
HOME_URL="https://voidlinux.org/"
|
||||||
|
DOCUMENTATION_URL="https://docs.voidlinux.org/"
|
||||||
|
LOGO="void-logo"
|
||||||
|
ANSI_COLOR="0;38;2;71;128;97"
|
||||||
|
|
||||||
DISTRIB_ID="void"
|
DISTRIB_ID="void"
|
||||||
PRETTY_NAME="void"
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20210314
|
version=20210314
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="void-runit-${version}"
|
wrksrc="void-runit-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Void Linux runit scripts"
|
short_desc="Void Linux runit scripts"
|
||||||
|
@ -32,10 +32,12 @@ post_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
vconf ${FILESDIR}/hostname
|
vconf ${FILESDIR}/hostname
|
||||||
vconf ${FILESDIR}/os-release
|
|
||||||
vconf ${FILESDIR}/locale.conf
|
vconf ${FILESDIR}/locale.conf
|
||||||
vinstall ${FILESDIR}/apparmor 644 /etc/default/
|
vinstall ${FILESDIR}/apparmor 644 /etc/default/
|
||||||
vinstall ${FILESDIR}/09-apparmor.sh 644 /etc/runit/core-services/
|
vinstall ${FILESDIR}/09-apparmor.sh 644 /etc/runit/core-services/
|
||||||
|
vmkdir usr/lib
|
||||||
|
vinstall ${FILESDIR}/os-release 644 /usr/lib/
|
||||||
|
ln -s ../usr/lib/os-release ${DESTDIR}/etc/os-release
|
||||||
# Enable services at post-install time instead.
|
# Enable services at post-install time instead.
|
||||||
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
||||||
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
||||||
|
|
Loading…
Reference in a new issue