rootfs_rpm.bbclass: Add recommends handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
7c72bf73b8
commit
13671658cb
|
@ -69,6 +69,10 @@ EOF
|
||||||
fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL}
|
fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL}
|
||||||
fi
|
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...
|
# Symlinks created under fakeroot are wrong, now we have to fix them...
|
||||||
cd ${IMAGE_ROOTFS}
|
cd ${IMAGE_ROOTFS}
|
||||||
for f in `find . -type l -print`
|
for f in `find . -type l -print`
|
||||||
|
|
Loading…
Reference in New Issue