[OE-core] [PATCH] base-passwd: Fix the broken preinst/postinstall

Phil Blundell philb at gnu.org
Mon Nov 14 12:52:44 UTC 2011


On Mon, 2011-11-14 at 12:49 +0000, Richard Purdie wrote:
> The preinst accesses file which may not yet have been unpacked.
> The postinst is too late for the creation of these files
> for at least the opkg backend.
> 
> This patch therefore encodes the file contents into the preinst,
> resolving the various issues once and for all.
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

If you're going to do that (which does look reasonable) then you might
as well stop the package from shipping passwd.master and group.master at
all.  I don't think anything else uses those files so they're just
wasting space at the moment.

p.






More information about the Openembedded-core mailing list