build: fix symlinks

This commit is contained in:
William Hubbs committed 2021-09-08 11:59:38 -05:00
1 parent 803aa1c637
commit 46a0bfedd1
3 files changed
+14 -1

No files matched your search

+5
View File
@@ -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