This allows to avoid pulling in ncurses if only sgdisk is needed.

Signed-off-by: Andreas Oberritter <o...@opendreambox.org>
---
 meta/recipes-devtools/fdisk/gptfdisk_1.0.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.1.bb 
b/meta/recipes-devtools/fdisk/gptfdisk_1.0.1.bb
index d62a903..047aa97 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.1.bb
+++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.1.bb
@@ -23,4 +23,10 @@ do_install() {
     install -m 0755 fixparts ${D}${sbindir}
 }
 
+PACKAGES =+ "${PN}-sgdisk"
+
+RRECOMMENDS_${PN} = "${PN}-sgdisk"
+
+FILES_${PN}-sgdisk = "${sbindir}/sgdisk"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to