From 46a0bfedd14001bd6df2e3ca7b96261ddabdfb71 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 8 Sep 2021 11:59:25 -0500 Subject: build: fix symlinks --- scripts/meson_script_links.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/meson_script_links.sh b/scripts/meson_script_links.sh index dcb8f1d5..d49a433d 100755 --- a/scripts/meson_script_links.sh +++ b/scripts/meson_script_links.sh @@ -12,3 +12,8 @@ for f in $binaries; do "${DESTDIR}${sbindir}/${f}" fi done +# sysvinit is active when halt exits +if [ -x "${DESTDIR}${rc_libexecdir}/bin/halt" ]; then + ln -snf "${DESTDIR}${sbindir}/openrc-init" \ + "${DESTDIR}${sbindir}/init" +fi -- cgit v1.2.3