public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT)
@ 2022-12-06 22:24 James Le Cuirot
  2022-12-06 22:24 ` [gentoo-dev] [PATCH 2/4] acct-user.eclass: " James Le Cuirot
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: James Le Cuirot @ 2022-12-06 22:24 UTC (permalink / raw
  To: gentoo-dev; +Cc: James Le Cuirot

Groups are largely irrelevant for prefix, but we still don't want the
build to break.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
---
 eclass/acct-group.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index 590a2f20ed8e..ada5fe386693 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -176,7 +176,7 @@ acct-group_pkg_preinst() {
 	fi
 
 	if [[ -n ${ROOT} ]]; then
-		opts+=( --prefix "${ROOT}" )
+		opts+=( --prefix "${EROOT}" )
 	fi
 
 	elog "Adding group ${ACCT_GROUP_NAME}"
-- 
2.38.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-07 17:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 22:24 [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT) James Le Cuirot
2022-12-06 22:24 ` [gentoo-dev] [PATCH 2/4] acct-user.eclass: " James Le Cuirot
2022-12-06 22:24 ` [gentoo-dev] [PATCH 3/4] user-info.eclass: " James Le Cuirot
2022-12-06 23:57   ` Mike Gilbert
2022-12-06 22:24 ` [gentoo-dev] [PATCH 4/4] user.eclass: " James Le Cuirot
2022-12-06 23:55   ` Mike Gilbert
2022-12-06 23:54 ` [gentoo-dev] [PATCH 1/4] acct-group.eclass: " Mike Gilbert
2022-12-07  9:24   ` James Le Cuirot
2022-12-07 16:52     ` Mike Gilbert
2022-12-07 17:19       ` Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox