diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-08 11:59:25 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-08 11:59:38 -0500 |
commit | 46a0bfedd14001bd6df2e3ca7b96261ddabdfb71 (patch) | |
tree | 36ac9a536fa35db0c76e1c086588323ff74e486a /scripts | |
parent | 803aa1c637c42352c05a520dbb02bee6c03ccf75 (diff) |
build: fix symlinks
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/meson_script_links.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |