From 13671658cb909c35add810ecb3d3e82c852d3490 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 8 Sep 2008 11:19:23 +0000 Subject: rootfs_rpm.bbclass: Add recommends handling git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/rootfs_rpm.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 4059a43af..8d467eb9d 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -69,6 +69,10 @@ EOF fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL} fi + # Add any recommended packages to the image + # (added as an extra script since yum itself doesn't support this) + yum-install-recommends.py ${IMAGE_ROOTFS} "fakechroot yum ${YUMARGS} -y install" + # Symlinks created under fakeroot are wrong, now we have to fix them... cd ${IMAGE_ROOTFS} for f in `find . -type l -print` -- cgit v1.2.3