xbps-src: remove vestiges of the systemd-services hook.
This commit is contained in:
parent
2a3ce373aa
commit
e03593db73
|
@ -35,9 +35,6 @@ unset -v dkms_modules
|
|||
# xbps-triggers: kernel-hooks
|
||||
unset -v kernel_hooks_version
|
||||
|
||||
# xbps-triggers: systemd-service
|
||||
unset -v systemd_services
|
||||
|
||||
# xbps-triggers: mkdirs
|
||||
unset -v make_dirs
|
||||
|
||||
|
|
|
@ -124,29 +124,6 @@ _EOF
|
|||
echo "export binfmts=\"${binfmts}\"" >> $tmpf
|
||||
fi
|
||||
#
|
||||
# Handle systemd services.
|
||||
#
|
||||
if [ -n "$build_option_systemd" ]; then
|
||||
if [ -n "${systemd_services}" ]; then
|
||||
_add_trigger systemd-service
|
||||
echo "export systemd_services=\"${systemd_services}\"" >> $tmpf
|
||||
fi
|
||||
if [ -d ${PKGDESTDIR}/usr/lib/tmpfiles.d ]; then
|
||||
for f in ${PKGDESTDIR}/usr/lib/tmpfiles.d/*; do
|
||||
_tmpfiles="${_tmpfiles} $(basename $f)"
|
||||
done
|
||||
_add_trigger systemd-service
|
||||
echo "export systemd_tmpfiles=\"${_tmpfiles}\"" >> $tmpf
|
||||
fi
|
||||
if [ -d ${PKGDESTDIR}/usr/lib/modules-load.d ]; then
|
||||
for f in ${PKGDESTDIR}/usr/lib/modules-load.d/*; do
|
||||
_mods="${_mods} $(basename $f)"
|
||||
done
|
||||
_add_trigger systemd-service
|
||||
echo "export systemd_modules=\"${_mods}\"" >> $tmpf
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Handle GNU Info files.
|
||||
#
|
||||
if [ -d "${PKGDESTDIR}/usr/share/info" ]; then
|
||||
|
|
Loading…
Reference in New Issue