summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-02-21 11:07:33 -0500
committerMike Gilbert <floppym@gentoo.org>2024-02-21 11:07:33 -0500
commitdc2218c97fed493ded478538f5b64176b3149c3e (patch)
treefd14725e406ded24f2f7a2b1df507b6858386e30
parentnet-misc/dropbox: add 193.4.5594 (diff)
downloadgentoo-dc2218c97fed493ded478538f5b64176b3149c3e.tar.gz
gentoo-dc2218c97fed493ded478538f5b64176b3149c3e.tar.bz2
gentoo-dc2218c97fed493ded478538f5b64176b3149c3e.zip
sys-apps/systemd: override debug-shell and default-user-shell
We need to match /etc/shells to allow users to log in. Closes: https://bugs.gentoo.org/919749 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--sys-apps/systemd/systemd-255.3-r1.ebuild (renamed from sys-apps/systemd/systemd-255.3.ebuild)3
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-255.3.ebuild b/sys-apps/systemd/systemd-255.3-r1.ebuild
index 2e6dc0eacdce..6297e312e107 100644
--- a/sys-apps/systemd/systemd-255.3.ebuild
+++ b/sys-apps/systemd/systemd-255.3-r1.ebuild
@@ -287,6 +287,9 @@ multilib_src_configure() {
# no deps
-Dima=true
-Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
+ # Match /etc/shells, bug 919749
+ -Ddebug-shell="${EPREFIX}/bin/sh"
+ -Ddefault-user-shell="${EPREFIX}/bin/bash"
# Optional components/dependencies
$(meson_native_use_bool acl)
$(meson_native_use_bool apparmor)
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 85965aed1d27..6437ef1e3b47 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -287,6 +287,9 @@ multilib_src_configure() {
# no deps
-Dima=true
-Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
+ # Match /etc/shells, bug 919749
+ -Ddebug-shell="${EPREFIX}/bin/sh"
+ -Ddefault-user-shell="${EPREFIX}/bin/bash"
# Optional components/dependencies
$(meson_native_use_bool acl)
$(meson_native_use_bool apparmor)