generic-poky/meta/lib/oe
Mariano Lopez 9c0186fd57 rootfs.py: Change logic to unistall packages
In the current state some of the base utils (update-rc.d,
base-passwd, shadow, and update-alternatives) are unistalled
when there is no package manager in the image. Checking for
previous commits, the unistall of these utils were to be
done in a read-only filesystem.

It is a valid option to have these utils without a package
manager, and also make sense to remove them when building a
read-only filesystem.

This changes the check logic from having a package mananger
to if is a read-only filesystem to remove the utils.

Another change implemented with this patch is that delayed
post installs now doesn't depend if there is a package manager.
Also it is a valid option to have post install scripts without
package manger.

[YOCTO #8235]

(From OE-Core rev: 5aae19959a443c6ac4b0feef10715c8acf3c6376)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-12 23:42:51 +00:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py classes/buildhistory: add additional variables to image information 2013-12-03 17:45:50 +00:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend: Fix nativesdk double name mapping 2015-07-31 10:32:36 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
copy_buildsystem.py classes/populate_sdk_ext: tweak reporting of workspace exclusion 2015-12-01 21:32:00 +00:00
data.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
distro_check.py lib/oe/distro_check: don't set empty proxy keys 2015-11-24 15:55:41 +00:00
image.py image.py: avoid mkdir race when building multiple images 2015-12-01 21:32:03 +00:00
license.py license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation 2015-05-09 22:28:14 +01:00
lsb.py lib/oe/lsb.py: Prioritize parsing of /etc/os-release 2015-03-22 14:42:18 +00:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
manifest.py populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation 2014-06-25 13:51:47 +01:00
package.py split_and_strip_files: regroup hardlinks to make build deterministic 2015-04-29 10:58:55 +01:00
package_manager.py lib/oe/package_manager: Introducing PACKAGE_FEED_BASE_PATHS/PACKAGE_FEED_ARCHS 2015-12-09 08:48:25 +00:00
packagedata.py bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
packagegroup.py Rename PACKAGE_GROUP variable to FEATURE_PACKAGES 2014-03-07 14:45:21 +00:00
patch.py lib/oe/patch: improve extraction of patch header 2015-12-01 21:32:03 +00:00
path.py lib/oe: drop custom implementation of oe.path.relative 2014-03-07 14:58:44 +00:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
recipeutils.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00
rootfs.py rootfs.py: Change logic to unistall packages 2015-12-12 23:42:51 +00:00
sdk.py sdk.py / OpkgSdk: remove_packaging_data() after install 2015-12-09 08:48:25 +00:00
sstatesig.py lib/oe/sstate: Add tasks_resolved handler for virtual/xxx mappings 2015-10-01 07:43:35 +01:00
terminal.py lib/oe/terminal: use C locale when determining version 2015-12-01 21:32:02 +00:00
types.py oe.types: add 'path' type 2013-08-26 11:47:18 +01:00
utils.py oe/utils.py: Add support for init/end helper functions in ThreadWorker. 2015-06-26 09:27:30 +01:00