]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm.bbclass: Add recommends handling
authorRichard Purdie <richard@openedhand.com>
Mon, 8 Sep 2008 11:19:23 +0000 (11:19 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 8 Sep 2008 11:19:23 +0000 (11:19 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_rpm.bbclass

index 4059a43af8a7a42b700ec31803929f29c0130e86..8d467eb9d38541b181df6a227b70dcc8367b4e65 100644 (file)
@@ -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`