From e03593db73a905c18329399722286185c54bf20d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 11 Jul 2015 11:30:09 +0200 Subject: [PATCH] xbps-src: remove vestiges of the systemd-services hook. --- common/environment/setup-subpkg/subpkg.sh | 3 --- .../04-create-xbps-metadata-scripts.sh | 23 ------------------- 2 files changed, 26 deletions(-) diff --git a/common/environment/setup-subpkg/subpkg.sh b/common/environment/setup-subpkg/subpkg.sh index afa3efd34fc..a73b76abd1a 100644 --- a/common/environment/setup-subpkg/subpkg.sh +++ b/common/environment/setup-subpkg/subpkg.sh @@ -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 diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh index d5e62b6aefc..90704ff16f5 100644 --- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh +++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh @@ -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