Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390050 Details for
Bug 525828
Update enewuser/enewgroup phase suggestions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
update-the-wording-in-common-pkg_preinst-tasks.patch
update-the-wording-in-common-pkg_preinst-tasks.patch (text/plain), 1.58 KB, created by
Michael Orlitzky
on 2014-11-22 13:47:38 UTC
(
hide
)
Description:
update-the-wording-in-common-pkg_preinst-tasks.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2014-11-22 13:47:38 UTC
Size:
1.58 KB
patch
obsolete
>From 17afba83e8703d8fadc9d3b15fd83cb0a125b006 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <mjo@gentoo.org> >Date: Sat, 22 Nov 2014 08:18:14 -0500 >Subject: [PATCH 1/2] Bug #525828: Update the wording in "Common pkg_preinst > tasks". > >The original wording here suggested unconditionally that pkg_setup() >is a better place in which to create users. We have bug #217042 that >points out that this is not usually the case, and the new text >explains the situation in which pkg_setup() is preferred. >--- > ebuild-writing/functions/pkg_preinst/text.xml | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/ebuild-writing/functions/pkg_preinst/text.xml b/ebuild-writing/functions/pkg_preinst/text.xml >index 9cdeb4a..a799427 100644 >--- a/ebuild-writing/functions/pkg_preinst/text.xml >+++ b/ebuild-writing/functions/pkg_preinst/text.xml >@@ -61,9 +61,11 @@ There are a few things that are often done in <c>pkg_preinst</c>: > > <ul> > <li> >- Adding users and groups. However, since <c>pkg_preinst</c> may be called >- after <c>src_compile</c>, <c>pkg_setup</c> is the more suitable location for >- user creation <d/> see <uri link="::ebuild-writing/users-and-groups"/>. >+ Adding users and groups. However, note that <c>pkg_preinst</c> is >+ called after <c>src_compile</c> and <c>src_install</c>, so if the >+ new user is required in one of those phases, then <c>pkg_setup</c> >+ is a more suitable location for user creation. See <uri >+ link="::ebuild-writing/users-and-groups"/> for more information. > </li> > <li> > Modifying the install image for a particular system. This function >-- >2.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 525828
: 390050 |
390052