[OE-core] [PATCH V2] iputils: Fix postinst to run on cross rootfs generation

Khem Raj raj.khem at gmail.com
Fri Aug 24 18:18:04 UTC 2012


On Fri, Aug 24, 2012 at 10:06 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2012-08-24 at 09:55 -0700, Khem Raj wrote:
>> On Thu, Aug 23, 2012 at 9:59 PM, Saul Wold <sgw at linux.intel.com> wrote:
>> >>
>> > Richard pointed out that with Pseudo the pkg_postinsts are un-needed, so I
>> > offered a different patch to that effect.
>>
>> yes I see
>>
>> http://git.openembedded.org/openembedded-core/commit/?id=a2bc81032c85548f7c72dc76e6020ab4df9af6de
>>
>> how does it work on device installs isnt clear to me though
>>
>> with existing patch atleast I understood that with Online Package
>> management the postinst would run
>
> The file has the right permissions in the package file now. This means
> we don't need any postinst.
>
> We used to have problems preserving permissions/owners in packages but
> with pseudo, we don't, that is its big win.
>
> So this was leftover stuff from a previous age :)
>

hmmm interesting. There are more cases of postinst I see.
may be we should look through all of them

> Cheers,
>
> Richard
>




More information about the Openembedded-core mailing list