[OE-core] [PATCH 1/1] dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives

Richard Purdie richard.purdie at linuxfoundation.org
Tue Sep 13 16:11:36 UTC 2011


On Tue, 2011-09-13 at 21:30 +0800, Dexuan Cui wrote:
> [YOCTO #1070].
> 
> The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native,
> ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist.
> I think OE's version(do_install_prepend) at
> http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc
> is correct, so let's change to OE's version.
> 
> And, bth dpkg and update-alternatives-cworth supply
> /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070.
> We can resolve the issue by ask dpkg not to supply the binary.
> 
> Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>
> ---
>  meta/recipes-devtools/dpkg/dpkg.inc         |   19 ++++++++-----------
>  meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb |    2 +-
>  2 files changed, 9 insertions(+), 12 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list