]> code.ossystems Code Review - openembedded-core.git/commit
base-passwd: Fix the broken preinst/postinstall
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Nov 2011 12:45:57 +0000 (12:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:39:02 +0000 (16:39 +0000)
commit0f4156c0735e28812c3f8ab27075d3de5360badb
treea4287d439a6dd3809b42dee0443119d181a3aee7
parent56800b9906cf228331083256664407947f831185
base-passwd: Fix the broken preinst/postinstall

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.

(From OE-Core rev: fc708d88f97e40a5bf929e4e02ed805fb3684ffe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-passwd/base-passwd_3.5.22.bb