diff options
author | Phil Blundell <pb@pbcl.net> | 2011-06-01 11:41:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-02 14:47:26 +0100 |
commit | 87780fc09b066525e47d0f50ee5497db54d304cd (patch) | |
tree | 181b102d2c8bab90b449e8b513356a9c10d42400 /scripts/contrib/python | |
parent | b90e9c2318fc421f37c57788ece54ce791a90b62 (diff) | |
download | openembedded-core-87780fc09b066525e47d0f50ee5497db54d304cd.tar.gz openembedded-core-87780fc09b066525e47d0f50ee5497db54d304cd.tar.bz2 openembedded-core-87780fc09b066525e47d0f50ee5497db54d304cd.tar.xz openembedded-core-87780fc09b066525e47d0f50ee5497db54d304cd.zip |
rootfs_ipk: delete opkg metadata if package management not required and all packages are configured
If all the postinsts were successfully run in offline mode, and
package-management hasn't been requested as an IMAGE_FEATURE, the opkg
metadata is now redundant and can safely be deleted.
Also, the update-rc.d and base-passwd packages can be removed since
they will serve no further purpose in this situation.
If some packages are still unconfigured at this point then we need to
keep their metadata around so that either opkg or the awk script can
configure the packages at boot time. In theory it would be possible to
strip out the data for packages that have already been configured, but
right now we just hold on to the whole status file in that situation.
Signed-off-by: Phil Blundell <philb@gnu.org>
Diffstat (limited to 'scripts/contrib/python')
0 files changed, 0 insertions, 0 deletions