diff options
author | André Draszik <andre.draszik@jci.com> | 2018-12-03 15:28:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 12:37:02 +0000 |
commit | 2e7141a78558b7dae34db1f29f0a6943b4ae948b (patch) | |
tree | 26143c07336414bfcbd31d1bdf24071a6f4fd147 /meta | |
parent | 71460428e4a82b922af5d75b061f92c1b7daf342 (diff) | |
download | poky-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.inc | 5 |
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" | |||
27 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ | 27 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ |
28 | " | 28 | " |
29 | 29 | ||
30 | PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ | 30 | PACKAGES =+ "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-*.*" | |||
74 | FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.la" | 74 | FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.la" |
75 | 75 | ||
76 | FILES_util-linux-agetty = "${base_sbindir}/agetty" | 76 | FILES_util-linux-agetty = "${base_sbindir}/agetty" |
77 | FILES_util-linux-blkdiscard = "${sbindir}/blkdiscard" | ||
77 | FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}" | 78 | FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${BPN}" |
78 | FILES_util-linux-fstrim = "${base_sbindir}/fstrim.${BPN}" | 79 | FILES_util-linux-fstrim = "${base_sbindir}/fstrim.${BPN}" |
79 | FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk" | 80 | FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk" |
@@ -126,7 +127,7 @@ RDEPENDS_util-linux-su += "libpam" | |||
126 | RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk" | 127 | RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk" |
127 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" | 128 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" |
128 | 129 | ||
129 | RRECOMMENDS_${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" | 130 | RRECOMMENDS_${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 | ||
131 | RRECOMMENDS_${PN}_class-native = "" | 132 | RRECOMMENDS_${PN}_class-native = "" |
132 | RRECOMMENDS_${PN}_class-nativesdk = "" | 133 | RRECOMMENDS_${PN}_class-nativesdk = "" |