summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-12-03 15:28:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-05 12:37:02 +0000
commit2e7141a78558b7dae34db1f29f0a6943b4ae948b (patch)
tree26143c07336414bfcbd31d1bdf24071a6f4fd147 /meta
parent71460428e4a82b922af5d75b061f92c1b7daf342 (diff)
downloadpoky-2e7141a78558b7dae34db1f29f0a6943b4ae948b.tar.gz
util-linux: split out blkdiscard into its own package
For systems that don't otherwise depend on the full util-linux package, blkdiscard is a mere 18k (on cortexa7t2hf-neon). (From OE-Core rev: 96bfdea8e0ec891b44fc4b0c69120669954426ad) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index a05c1cabbe..b5f77f7b6b 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -27,7 +27,7 @@ DEPENDS_append_class-nativesdk = " lzo-native"
27SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ 27SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \
28 " 28 "
29 29
30PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ 30PACKAGES =+ "util-linux-agetty util-linux-blkdiscard util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \
31 util-linux-swaponoff util-linux-losetup util-linux-umount \ 31 util-linux-swaponoff util-linux-losetup util-linux-umount \
32 util-linux-mount util-linux-readprofile util-linux-uuidd \ 32 util-linux-mount util-linux-readprofile util-linux-uuidd \
33 util-linux-uuidgen util-linux-lscpu util-linux-fsck.cramfs util-linux-fsck \ 33 util-linux-uuidgen util-linux-lscpu util-linux-fsck.cramfs util-linux-fsck \
@@ -74,6 +74,7 @@ FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
74FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.la" 74FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.la"
75 75
76FILES_util-linux-agetty = "${base_sbindir}/agetty" 76FILES_util-linux-agetty = "${base_sbindir}/agetty"
77FILES_util-linux-blkdiscard = "${sbindir}/blkdiscard"
77FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}" 78FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}"
78FILES_util-linux-fstrim = "${base_sbindir}/fstrim.${BPN}" 79FILES_util-linux-fstrim = "${base_sbindir}/fstrim.${BPN}"
79FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk" 80FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk"
@@ -126,7 +127,7 @@ RDEPENDS_util-linux-su += "libpam"
126RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk" 127RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk"
127RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" 128RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}"
128 129
129RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs util-linux-mountpoint util-linux-prlimit util-linux-ionice util-linux-switch-root" 130RRECOMMENDS_${PN} = "util-linux-blkdiscard util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs util-linux-mountpoint util-linux-prlimit util-linux-ionice util-linux-switch-root"
130 131
131RRECOMMENDS_${PN}_class-native = "" 132RRECOMMENDS_${PN}_class-native = ""
132RRECOMMENDS_${PN}_class-nativesdk = "" 133RRECOMMENDS_${PN}_class-nativesdk = ""