From: | James Le Cuirot <chewi@g.o> |
---|---|
To: | gentoo-dev <gentoo-dev@l.g.o> |
Cc: | James Le Cuirot <chewi@g.o> |
Subject: | [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT) |
Date: | Tue, 06 Dec 2022 22:24:32 |
Message-Id: | 20221206222414.13633-1-chewi@gentoo.org |
1 | Groups are largely irrelevant for prefix, but we still don't want the |
2 | build to break. |
3 | |
4 | Signed-off-by: James Le Cuirot <chewi@g.o> |
5 | --- |
6 | eclass/acct-group.eclass | 2 +- |
7 | 1 file changed, 1 insertion(+), 1 deletion(-) |
8 | |
9 | diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass |
10 | index 590a2f20ed8e..ada5fe386693 100644 |
11 | --- a/eclass/acct-group.eclass |
12 | +++ b/eclass/acct-group.eclass |
13 | @@ -176,7 +176,7 @@ acct-group_pkg_preinst() { |
14 | fi |
15 | |
16 | if [[ -n ${ROOT} ]]; then |
17 | - opts+=( --prefix "${ROOT}" ) |
18 | + opts+=( --prefix "${EROOT}" ) |
19 | fi |
20 | |
21 | elog "Adding group ${ACCT_GROUP_NAME}" |
22 | -- |
23 | 2.38.1 |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 2/4] acct-user.eclass: Fix for when building in a rooted prefix (EROOT) | James Le Cuirot <chewi@g.o> |
[gentoo-dev] [PATCH 3/4] user-info.eclass: Fix for when building in a rooted prefix (EROOT) | James Le Cuirot <chewi@g.o> |
[gentoo-dev] [PATCH 4/4] user.eclass: Fix for when building in a rooted prefix (EROOT) | James Le Cuirot <chewi@g.o> |
Re: [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT) | Mike Gilbert <floppym@g.o> |