commit | 29d6a2fad853427062c13cbaea5872a6be0c4955 | [log] [tgz] |
---|---|---|
author | Anil Altinay <aaltinay@google.com> | Thu Feb 25 07:16:34 2021 +0000 |
committer | Anil Altinay <aaltinay@google.com> | Tue Mar 02 21:29:06 2021 +0000 |
tree | cd4fde66ca0aa401260b1dcab35ad55a6abb003e | |
parent | 0168a98d43feb8b29a0b7b2e7e0059ff85878251 [diff] |
project-lakitu: sys-auth/pambase: fix python compatibility and validation test failures BUG=b/179427028 TEST=presubmit RELEASE_NOTE=None Change-Id: I942c645bb4ab0ee84a23076d99aa52464915d107 Reviewed-on: https://cos-review.googlesource.com/c/cos/overlays/board-overlays/+/13211 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Roy Yang <royyang@google.com>
diff --git a/project-lakitu/sys-auth/pambase/pambase-20201103-r1.ebuild b/project-lakitu/sys-auth/pambase/pambase-20201103-r2.ebuild similarity index 100% rename from project-lakitu/sys-auth/pambase/pambase-20201103-r1.ebuild rename to project-lakitu/sys-auth/pambase/pambase-20201103-r2.ebuild
diff --git a/project-lakitu/sys-auth/pambase/pambase-20201103.ebuild b/project-lakitu/sys-auth/pambase/pambase-20201103.ebuild index 2f756da..5b4384a 100644 --- a/project-lakitu/sys-auth/pambase/pambase-20201103.ebuild +++ b/project-lakitu/sys-auth/pambase/pambase-20201103.ebuild
@@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit pam python-any-r1 readme.gentoo-r1 @@ -60,6 +60,11 @@ } src_configure() { + # Remove envfile option. Otherwise, validation tests fail. + # Tried setting envfile to /etc/profile instead of /etc/profile.env, + # it caused journald_test to fail. + sed -i 's:envfile=/etc/profile\.env::' ./templates/system-login.tpl + ${EPYTHON} ./${PN}.py \ $(usex caps '--caps' '') \ $(usex debug '--debug' '') \