commit: 934192b55ae7ecc82be37fad7b9060e2bd1abd3d Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Mon Aug 28 22:21:45 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Sep 3 01:14:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934192b5
x11-misc/sddm: call systemd_reenable in postinst Bug: https://bugs.gentoo.org/627984 Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17 x11-misc/sddm/sddm-0.14.0-r2.ebuild | 4 +++- x11-misc/sddm/sddm-0.14.0-r4.ebuild | 4 +++- x11-misc/sddm/sddm-0.15.0.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/x11-misc/sddm/sddm-0.14.0-r2.ebuild b/x11-misc/sddm/sddm-0.14.0-r2.ebuild index 8946151552d..f3ac6dba4c9 100644 --- a/x11-misc/sddm/sddm-0.14.0-r2.ebuild +++ b/x11-misc/sddm/sddm-0.14.0-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils user +inherit cmake-utils systemd user DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -68,6 +68,8 @@ pkg_postinst() { enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video + systemd_reenable sddm.service + if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login) if [[ -z ${line} ]]; then diff --git a/x11-misc/sddm/sddm-0.14.0-r4.ebuild b/x11-misc/sddm/sddm-0.14.0-r4.ebuild index a79ea8f1a2f..f67abdc0bdc 100644 --- a/x11-misc/sddm/sddm-0.14.0-r4.ebuild +++ b/x11-misc/sddm/sddm-0.14.0-r4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils user +inherit cmake-utils systemd user DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -74,6 +74,8 @@ pkg_postinst() { enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video + systemd_reenable sddm.service + if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login) if [[ -z ${line} ]]; then diff --git a/x11-misc/sddm/sddm-0.15.0.ebuild b/x11-misc/sddm/sddm-0.15.0.ebuild index 0099ac086cd..acd5a8fc755 100644 --- a/x11-misc/sddm/sddm-0.15.0.ebuild +++ b/x11-misc/sddm/sddm-0.15.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils user +inherit cmake-utils systemd user DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -59,4 +59,6 @@ src_configure() { pkg_postinst() { enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video + + systemd_reenable sddm.service }
