Lines 61-69
There are a few things that are often done in <c>pkg_preinst</c>:
Link Here
|
61 |
|
61 |
|
62 |
<ul> |
62 |
<ul> |
63 |
<li> |
63 |
<li> |
64 |
Adding users and groups. However, since <c>pkg_preinst</c> may be called |
64 |
Adding users and groups. However, note that <c>pkg_preinst</c> is |
65 |
after <c>src_compile</c>, <c>pkg_setup</c> is the more suitable location for |
65 |
called after <c>src_compile</c> and <c>src_install</c>, so if the |
66 |
user creation <d/> see <uri link="::ebuild-writing/users-and-groups"/>. |
66 |
new user is required in one of those phases, then <c>pkg_setup</c> |
|
|
67 |
is a more suitable location for user creation. See <uri |
68 |
link="::ebuild-writing/users-and-groups"/> for more information. |
67 |
</li> |
69 |
</li> |
68 |
<li> |
70 |
<li> |
69 |
Modifying the install image for a particular system. This function |
71 |
Modifying the install image for a particular system. This function |
70 |
- |
|
|