From 42914174cbbe509619b229f594fac1a497a1bc9e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Jul 2014 10:31:31 +0200 Subject: [PATCH] runit-void: provide /etc/{hostname,locale.conf,os-release} files (close #500). --- srcpkgs/runit-void/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 01bef3382f..eb875f5cff 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void -version=20140729 -revision=3 +version=20140730 +revision=1 build_style=gnu-makefile homepage="http://www.voidlinux.eu" short_desc="Void Linux runit scripts" @@ -11,7 +11,7 @@ license="Public domain" hostmakedepends="git" makedepends="runit" depends="${makedepends}" -conf_files="/etc/rc.conf /etc/rc.local" +conf_files="/etc/hostname /etc/locale.conf /etc/rc.conf /etc/rc.local" make_dirs=" /etc/zzz.d/suspend 0755 root root /etc/zzz.d/resume 0755 root root" @@ -19,3 +19,8 @@ make_dirs=" do_fetch() { git clone git://github.com/voidlinux/runit-void ${pkgname}-${version} } +post_install() { + vconf ${XBPS_SRCPKGDIR}/systemd/files/hostname + vconf ${XBPS_SRCPKGDIR}/systemd/files/os-release + vconf ${XBPS_SRCPKGDIR}/systemd/files/locale.conf +}