]> code.ossystems Code Review - openembedded-core.git/commitdiff
syslinux: rdepends on mtools
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 22 May 2011 13:21:45 +0000 (13:21 +0000)
committerSaul Wold <sgw@linux.intel.com>
Tue, 24 May 2011 06:39:09 +0000 (23:39 -0700)
To be able to install into a disk, mtools are required thus we add it
as rdepends of 'syslinux' package.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/recipes-devtools/syslinux/syslinux_4.03.bb

index dc0785e5665e50eb8772267513897212843efa3a..e76fe1faf83fce65881459d5bba83489b6fb2a68 100644 (file)
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 # If you really want to run syslinux, you need mtools.  We just want the
 # ldlinux.* stuff for now, so skip mtools-native
 DEPENDS = "nasm-native"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 \
            file://cross-build.patch"
@@ -48,6 +48,8 @@ do_install() {
 
 PACKAGES =+ "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux"
 
+RDEPENDS_${PN} += "mtools"
+
 FILES_${PN} = "${bindir}/syslinux"
 FILES_${PN}-extlinux = "${sbindir}/extlinux"
 FILES_${PN}-mbr = "${libdir}/${PN}/mbr.bin"