summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-09-08 11:19:23 +0000
committerRichard Purdie <richard@openedhand.com>2008-09-08 11:19:23 +0000
commit13671658cb909c35add810ecb3d3e82c852d3490 (patch)
tree7b6cf3e894d5717b4202e00c65629d045a8efeea /meta/classes
parent7c72bf73b8064da0f98fe83a549ddbb1b82d4dea (diff)
downloadpoky-13671658cb909c35add810ecb3d3e82c852d3490.tar.gz
rootfs_rpm.bbclass: Add recommends handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 4059a43af8..8d467eb9d3 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -69,6 +69,10 @@ EOF
69 fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL} 69 fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL}
70 fi 70 fi
71 71
72 # Add any recommended packages to the image
73 # (added as an extra script since yum itself doesn't support this)
74 yum-install-recommends.py ${IMAGE_ROOTFS} "fakechroot yum ${YUMARGS} -y install"
75
72 # Symlinks created under fakeroot are wrong, now we have to fix them... 76 # Symlinks created under fakeroot are wrong, now we have to fix them...
73 cd ${IMAGE_ROOTFS} 77 cd ${IMAGE_ROOTFS}
74 for f in `find . -type l -print` 78 for f in `find . -type l -print`