]> 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>
Tue, 15 Nov 2011 11:54:43 +0000 (11:54 +0000)
commitfc708d88f97e40a5bf929e4e02ed805fb3684ffe
tree1785f87b1e5f2092f783f4b58e54186be94e65b7
parent4013de36a60b8f69f04e58cf5751efaf0d26d5ea
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.

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