Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293629 - devmanual does not accurately describe group behavior in pkg_preinst
Summary: devmanual does not accurately describe group behavior in pkg_preinst
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Devmanual Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 14:45 UTC by Richard Freeman
Modified: 2012-11-03 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to implement my suggested change. (patch.txt,559 bytes, patch)
2011-12-06 13:44 UTC, Richard Freeman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2009-11-18 14:45:57 UTC
From:
http://devmanual.gentoo.org/ebuild-writing/users-and-groups/index.html

You may also use the pkg_preinst or pkg_setup functions for user creation, if the user is not required during src_compile.

However, it appears that pkg_preinst runs after src_install.  So, that sentence should probably be modified to indicate that pkg_preinst is only acceptable if the user/group is not required during or before src_install.
Comment 1 Richard Freeman gentoo-dev 2011-12-06 13:44:50 UTC
Created attachment 294991 [details, diff]
Patch to implement my suggested change.

Attached patch to fix issue.
Comment 2 Richard Freeman gentoo-dev 2012-11-03 18:43:40 UTC
I committed my change.