[OE-core] [PATCH 1/2] image.bbclass: allow override for ROOTFS_BOOTSTRAP_INSTALL

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 2 11:21:17 UTC 2013


On Tue, 2013-04-02 at 11:31 +0800, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
> 
> Previously, if 'package-management' is in IMAGE_FEATURES, this variable
> is set to "", otherwise, it's ${ROOTFS_PKGMANAGE_BOOTSTRAP}. It works fine
> with deb and ipk, because their postinsts rely on their package managers.
> However, rpm is a little different, as its postinsts are just shell scripts.

Why don't we just make the rpm package RDEPEND on the postinst scripts
package like opkg and dpkg do?

I can't think of any case where that dependency would be an issue...

Cheers,

Richard





More information about the Openembedded-core mailing list