summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index a1614c22fa..c0f25409a6 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1715f5ee3e01203ca1e1e0b9ee65918c
17 file://libmount/COPYING;md5=fb93f01d4361069c5616327705373b16 \ 17 file://libmount/COPYING;md5=fb93f01d4361069c5616327705373b16 \
18 file://libblkid/COPYING;md5=fb93f01d4361069c5616327705373b16" 18 file://libblkid/COPYING;md5=fb93f01d4361069c5616327705373b16"
19 19
20inherit autotools gettext pkgconfig systemd update-alternatives python-dir ptest bash-completion 20inherit autotools gettext pkgconfig systemd update-alternatives python3-dir ptest bash-completion
21DEPENDS = "zlib ncurses" 21DEPENDS = "zlib ncurses"
22DEPENDS_append_class-native = " lzo-native" 22DEPENDS_append_class-native = " lzo-native"
23DEPENDS_append_class-nativesdk = " lzo-native" 23DEPENDS_append_class-nativesdk = " lzo-native"
@@ -60,14 +60,14 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_u
60PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng," 60PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng,"
61 61
62# Build python bindings for libmount 62# Build python bindings for libmount
63PACKAGECONFIG[pylibmount] = "--with-python --enable-pylibmount,--without-python --disable-pylibmount,python" 63PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3"
64 64
65# Readline support 65# Readline support
66PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" 66PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
67 67
68FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" 68FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
69 69
70FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/dist-packages/libmount/pylibmount.la" 70FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.la"
71 71
72FILES_util-linux-agetty = "${base_sbindir}/agetty" 72FILES_util-linux-agetty = "${base_sbindir}/agetty"
73FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}" 73FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}"
@@ -89,8 +89,9 @@ FILES_util-linux-findfs = "${sbindir}/findfs"
89FILES_util-linux-getopt = "${base_bindir}/getopt.${BPN}" 89FILES_util-linux-getopt = "${base_bindir}/getopt.${BPN}"
90FILES_util-linux-runuser = "${sbindir}/runuser" 90FILES_util-linux-runuser = "${sbindir}/runuser"
91 91
92FILES_util-linux-pylibmount = "${libdir}/${PYTHON_DIR}/dist-packages/libmount/pylibmount.so \ 92FILES_util-linux-pylibmount = "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so \
93 ${libdir}/${PYTHON_DIR}/dist-packages/libmount/__init__.*" 93 ${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.* \
94 ${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__/*"
94FILES_util-linux-lscpu = "${bindir}/lscpu" 95FILES_util-linux-lscpu = "${bindir}/lscpu"
95 96
96FILES_util-linux-fsck = "${base_sbindir}/fsck*" 97FILES_util-linux-fsck = "${base_sbindir}/fsck*"