From: Andreas Oberritter Date: Thu, 15 Sep 2016 14:37:15 +0000 (+0200) Subject: gptfdisk: put sgdisk into its own package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe0cebb8edb58123ef293369f33becca13204083;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gptfdisk: put sgdisk into its own package This allows to avoid pulling in ncurses if only sgdisk is needed. Signed-off-by: Andreas Oberritter --- diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb index b043c965435..f2746713e25 100644 --- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb +++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb @@ -30,4 +30,11 @@ do_install() { install -m 0755 fixparts ${D}${sbindir} } +PACKAGES =+ "${BPN}-sgdisk" + +RRECOMMENDS_${PN} = "${BPN}-sgdisk" +RRECOMMENDS_${PN}_class-native = "" + +FILES_${BPN}-sgdisk = "${sbindir}/sgdisk" + BBCLASSEXTEND = "native nativesdk"