runit-void: move os-release to base-files
This commit is contained in:
parent
e8f7c7f32d
commit
76f949037a
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.142
|
||||
revision=14
|
||||
version=0.143
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
depends="xbps-triggers"
|
||||
short_desc="Void Linux base system files"
|
||||
|
@ -97,4 +97,8 @@ do_install() {
|
|||
# udev rules
|
||||
vmkdir usr/lib/udev/rules.d
|
||||
install -m644 ${FILESDIR}/*.rules ${DESTDIR}/usr/lib/udev/rules.d
|
||||
|
||||
# os-release in the expected places
|
||||
vinstall ${FILESDIR}/os-release 644 /usr/lib/
|
||||
ln -s ../usr/lib/os-release ${DESTDIR}/etc/os-release
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'runit-void'
|
||||
pkgname=runit-void
|
||||
version=20220329
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Void Linux runit scripts"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
|
@ -35,8 +35,6 @@ post_install() {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue