diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-25 01:16:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-25 01:16:47 +0100 |
commit | 048623e8446a4d53dd74995e742967f80f75742d (patch) | |
tree | 2e70a112072683d724b63eb61759e59b8c65a474 | |
parent | d0194d32e8efe4508c08e51586a076d8adef6916 (diff) |
sys-apps/openrc : drop openrc-settingsd, as it breaks timezone setup
-rw-r--r-- | sys-apps/openrc/openrc-0.42.1-r5.ebuild (renamed from sys-apps/openrc/openrc-0.42.1-r4.ebuild) | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-0.42.1-r4.ebuild b/sys-apps/openrc/openrc-0.42.1-r5.ebuild index cf078f96..cc6befcf 100644 --- a/sys-apps/openrc/openrc-0.42.1-r4.ebuild +++ b/sys-apps/openrc/openrc-0.42.1-r5.ebuild @@ -18,7 +18,7 @@ fi LICENSE="BSD-2" SLOT="0" -IUSE="+apparmor audit bash debug +dkms elogind +entropy ncurses pam newnet prefix +netifrc selinux +settingsd +splash static-libs sysv-utils unicode" +IUSE="+apparmor audit bash debug +dkms elogind +entropy ncurses pam newnet prefix +netifrc selinux +splash static-libs sysv-utils unicode" COMMON_DEPEND=" apparmor? ( @@ -41,7 +41,6 @@ COMMON_DEPEND=" sys-apps/policycoreutils >=sys-libs/libselinux-2.6 ) - settingsd? ( app-admin/openrc-settingsd ) splash? ( sys-boot/plymouth-openrc-plugin ) !<sys-apps/baselayout-2.1-r1 !<sys-fs/udev-init-scripts-27" @@ -241,4 +240,12 @@ pkg_postinst() { "${ROOT}"/sbin/rc-update add haveged default fi fi + + if [ -e "${ROOT}"/etc/init.d/openrc-settingsd ]; then + if [ "$(rc-config list default | grep openrc-settingsd)" != "" ]; then + einfo + else + "${ROOT}"/sbin/rc-update del openrc-settingsd default + fi + fi } |