[OE-core] [PATCH 2/2] gptfdisk: put sgdisk into its own package

Andreas Oberritter obi at opendreambox.org
Wed Nov 30 21:50:46 UTC 2016


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

Signed-off-by: Andreas Oberritter <obi at 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




More information about the Openembedded-core mailing list