diff options
author | André Draszik <adraszik@tycoint.com> | 2017-09-04 08:57:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-05 15:01:02 +0100 |
commit | fc44a75e0d316ad6f189b986959d8590619f9c4e (patch) | |
tree | 14e2b969c5d9ced54b1c0de57d8a0a1050e3195f /meta | |
parent | beb089b23627f084695f17802ffc5af192bbdbee (diff) | |
download | poky-fc44a75e0d316ad6f189b986959d8590619f9c4e.tar.gz |
util-linux: split out ionice into its own package
For systems that don't otherwise depend on the full
util-linux package, ionice is a mere 31k (on mipsel).
(From OE-Core rev: 50d6f2c21eca162b82d5cbe135b87c1b1ea871b9)
Signed-off-by: André Draszik <adraszik@tycoint.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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 47c2839970..85f8ba1e3c 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -33,7 +33,8 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd | |||
33 | util-linux-blkid util-linux-mkfs util-linux-mcookie util-linux-reset \ | 33 | util-linux-blkid util-linux-mkfs util-linux-mcookie util-linux-reset \ |
34 | util-linux-lsblk util-linux-mkfs.cramfs util-linux-fstrim \ | 34 | util-linux-lsblk util-linux-mkfs.cramfs util-linux-fstrim \ |
35 | util-linux-partx util-linux-hwclock util-linux-mountpoint \ | 35 | util-linux-partx util-linux-hwclock util-linux-mountpoint \ |
36 | util-linux-findfs util-linux-getopt util-linux-sulogin util-linux-prlimit" | 36 | util-linux-findfs util-linux-getopt util-linux-sulogin util-linux-prlimit \ |
37 | util-linux-ionice" | ||
37 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', 'util-linux-pylibmount', '', d)}" | 38 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', 'util-linux-pylibmount', '', d)}" |
38 | PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" | 39 | PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" |
39 | 40 | ||
@@ -91,6 +92,7 @@ FILES_util-linux-findfs = "${sbindir}/findfs" | |||
91 | FILES_util-linux-getopt = "${base_bindir}/getopt.${BPN}" | 92 | FILES_util-linux-getopt = "${base_bindir}/getopt.${BPN}" |
92 | FILES_util-linux-runuser = "${sbindir}/runuser" | 93 | FILES_util-linux-runuser = "${sbindir}/runuser" |
93 | FILES_util-linux-prlimit = "${bindir}/prlimit" | 94 | FILES_util-linux-prlimit = "${bindir}/prlimit" |
95 | FILES_util-linux-ionice = "${bindir}/ionice" | ||
94 | FILES_util-linux-su = "${bindir}/su.util-linux ${sysconfdir}/pam.d/su-l" | 96 | FILES_util-linux-su = "${bindir}/su.util-linux ${sysconfdir}/pam.d/su-l" |
95 | CONFFILES_util-linux-su = "${sysconfdir}/pam.d/su-l" | 97 | CONFFILES_util-linux-su = "${sysconfdir}/pam.d/su-l" |
96 | 98 | ||
@@ -123,7 +125,7 @@ RDEPENDS_util-linux-su += "libpam" | |||
123 | RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk" | 125 | RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-lsblk" |
124 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" | 126 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" |
125 | 127 | ||
126 | 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" | 128 | 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" |
127 | 129 | ||
128 | RRECOMMENDS_${PN}_class-native = "" | 130 | RRECOMMENDS_${PN}_class-native = "" |
129 | RRECOMMENDS_${PN}_class-nativesdk = "" | 131 | RRECOMMENDS_${PN}_class-nativesdk = "" |