From 8b08939dc72df8ec62a40efe091a10ff75667c2b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 24 Mar 2010 15:52:05 +0100 Subject: util-linux-ng: add native Signed-off-by: Marcin Juszkiewicz --- recipes/util-linux-ng/util-linux-ng.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'recipes') diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc index 1c6e8a89e0..079ab9da55 100644 --- a/recipes/util-linux-ng/util-linux-ng.inc +++ b/recipes/util-linux-ng/util-linux-ng.inc @@ -2,6 +2,7 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux sys SECTION = "base" LICENSE = "GPL" DEPENDS = "udev zlib ncurses virtual/libintl" +DEPENDS_virtclass-native = "zlib-native ncurses-native" inherit autotools @@ -20,6 +21,8 @@ PACKAGES =+ "${PN}-fdisk ${PN}-cfdisk ${PN}-sfdisk ${PN}-swaponoff \ ${PN}-losetup ${PN}-umount ${PN}-mount ${PN}-readprofile \ ${PN}-fsck ${PN}-blkid ${PN}-mountall" +PACKAGES_virtclass-native = "" + PACKAGES_DYNAMIC = "libblkid* libuuid*" # Provide old util-linux names (several recipes still use DEPENDS or RDEPENDS = "util-linux"): @@ -59,6 +62,9 @@ RREPLACES_${PN}-mountall = "busybox-mountall" RRECOMMENDS_${PN} = "${PN}-fdisk ${PN}-cfdisk ${PN}-sfdisk ${PN}-mount ${PN}-readprofile" RDEPENDS_${PN} = "${PN}-mountall ${PN}-umount ${PN}-swaponoff ${PN}-losetup ${PN}-fsck ${PN}-blkid" +RRECOMMENDS_${PN}_virtclass-native = "" +RDEPENDS_${PN}_virtclass-native = "" + EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \ --enable-kill --enable-last --enable-mesg --enable-raw --enable-login-utils \ --enable-arch --enable-init --enable-partx --enable-schedutils \ @@ -282,3 +288,5 @@ pkg_postinst_util-linux-ng-fsck () { pkg_prerm_util-linux-ng-fsck () { update-alternatives --remove fsck fsck.${PN} } + +BBCLASSEXTEND = "native" -- cgit v1.2.3