From 7524b7da6384d711b88642d6d7e4eea4fd7825cb Mon Sep 17 00:00:00 2001 From: David Wildasin Date: Sun, 13 Feb 2022 23:05:53 -0500 Subject: [PATCH] runit-void: Standardise/improve os-release --- srcpkgs/runit-void/files/os-release | 9 +++++++-- srcpkgs/runit-void/template | 6 ++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/runit-void/files/os-release b/srcpkgs/runit-void/files/os-release index 12dcabd1f3e604..e652642b557109 100644 --- a/srcpkgs/runit-void/files/os-release +++ b/srcpkgs/runit-void/files/os-release @@ -1,4 +1,9 @@ -NAME="void" +NAME="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" -PRETTY_NAME="void" diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 0c98cadc9e18d5..a0aef0484c0bf9 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void version=20210314 -revision=2 +revision=3 wrksrc="void-runit-${version}" build_style=gnu-makefile short_desc="Void Linux runit scripts" @@ -32,10 +32,12 @@ post_install() { vmkdir usr/bin mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin vconf ${FILESDIR}/hostname - vconf ${FILESDIR}/os-release vconf ${FILESDIR}/locale.conf vinstall ${FILESDIR}/apparmor 644 /etc/default/ 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. rm -f ${DESTDIR}/etc/runit/runsvdir/current rm -rf ${DESTDIR}/etc/runit/runsvdir/default