]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: Change logic to unistall packages
authorMariano Lopez <mariano.lopez@linux.intel.com>
Thu, 26 Nov 2015 09:34:59 +0000 (09:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:40 +0000 (23:31 +0000)
commit5aae19959a443c6ac4b0feef10715c8acf3c6376
treed1f9b58d287386707db8162948a24cccd8d1929a
parent59c6c13a8fa1bfc8e0615463e00ccdef04a87a47
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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/rootfs.py