summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/util-linux-ng/util-linux-ng.inc')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc8
1 files changed, 8 insertions, 0 deletions
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"