[Openembedded-users] Using pkg_postinst for adding users/groups
Rahul Gundecha
rahul.gundecha at gmail.com
Fri Jun 10 04:45:52 UTC 2011
On Fri, Jun 10, 2011 at 4:03 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On 06/09/2011 04:43 AM, Rahul Gundecha wrote:
>
>> Hi all,
>>
>> In dbus recipe pkg_postinst_${PN}() function contains the instructions
>> to add user and groups to corresponding files in the rootfs. However in
>> cross-compilation environment it can not run after package installation.
>> My query is when/where does the script in this function gets executed.
>>
>> I see many more packages also contain this function. But I wonder how it
>> works. A quick pointer is really appreciated.
>>
>>
> they are executed after package installation on target.
>
But where these scripts get installed in rootfs? I do not see these scripts
in rootfs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20110610/9e5e6b5f/attachment-0002.html>
More information about the Openembedded-users
mailing list