summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* util-linux: package switch_root separatelyIoan-Adrian Ratiu2017-09-211-2/+4
| | | | | | | | | | | | | Having only this utility is useful for tiny initramfs'es which don't need the whole util-linux package (and neither the busybox binary which is much bigger than switch_root) to do operations like decrypt a rootfs & switch to it in the init file. (From OE-Core rev: 027f1782dfd85b47f34a4a9c8b62a22f57fece7e) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-111-0/+1
| | | | | | | | (From OE-Core rev: 56cf3a05bcc3329b32d28962089f9229a63f655a) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out ionice into its own packageAndré Draszik2017-09-051-2/+4
| | | | | | | | | | 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>
* util-linux-native: Avoid use of getrandomRichard Purdie2017-08-162-0/+22
| | | | | | | | | | getrandom() is only available in glibc 2.25+ and uninative may relocate binaries onto systems that don't have this function. For now, force the code to the older codepath until we can come up with a better solution for this kind of issue. (From OE-Core rev: 95e31e4b15573eb1cbeb4ff1d0903c5141b84d54) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix "su -" and package su separatelyPatrick Ohly2017-07-171-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | "su -" == "su --login" was broken because it uses /etc/pam.d/su-l and lacking that, falls back to /etc/pam.d/other which denies the operation. The fix is to symlink "su-l" to the normal "su" pam config file. Because "su" usually comes from "shadow" and has been broken like this without anyone noticing, it probably is not used much and thus should be packaged separately so that it can be installed only when really needed. For backwards compatibility, "util-linux" still pulls it in. It is a bit strange that DISTRO_FEATURES are getting checked when deciding whether the packages should be defined. It is not wrong, the packages will be simply empty and thus probably not created when the distro feature is on and the package config is off. Perhaps there is a reason, so this is kept unchanged. The symlink however only gets created when su.util-linux really gets built. [YOCTO #11126] (From OE-Core rev: 1ad32536c2d4a3e55e698d27d827caee788cb0f7) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.30Denys Dmytriyenko2017-06-233-104/+4
| | | | | | | | | | | | | | Drop uuid-test-error-api.patch as it's been fixed upstream differently: https://github.com/karelzak/util-linux/commit/b770b487004778f4425639c7ed1bb6ca22d157bf Drop ptest for tailf, as it got deprecated and removed: https://github.com/karelzak/util-linux/commit/70ca1a77721b41f2355eeb00d4e55e13dba3e313 (From OE-Core rev: 6b69e08cf60abbc40236cc3894b9783d720a6e6d) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.29.2Chen Qi2017-06-091-2/+2
| | | | | | | | (From OE-Core rev: 69c922764bbce8dc3df685b5677c6a4b766d40b7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux,shadow: Make 'nologin' alternative commandAmarnath Valluri2017-03-221-2/+3
| | | | | | | | | | | | Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir} and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative system to resolve the conflict. (From OE-Core rev: 07d6d0fb4dc689008bb0022d7d2ecc890c9159e5) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Make sure '${base_bindir}/reset' is part of util-linux-reset ↵Amarnath Valluri2017-03-221-1/+1
| | | | | | | | | | | | | package. update-alternative.bbclass might rename the 'reset' binary when LINK_NAME == TARGET, This is true (${base_bindir} == ${bindir}) in 'usrmerge' distros. Hence, suffix with * to properly package the renamed binary. (From OE-Core rev: ebf5cc1a6fecb0761fd88e113fac785b49bc1a45) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix packaging with "usrmerge"Jussi Kukkonen2017-03-221-3/+3
| | | | | | | | | | Make sure fsck.cramfs is packaged before fsck so the latter does not steal the fsck.cramfs binary when building with usrmerge. (From OE-Core rev: 333e959448c2bc0d2c472e0b7d1dab606ab723e6) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use update-alternatives for more manpagesPaul Gortmaker2017-03-171-1/+3
| | | | | | | | | | | | | | | | | To fix: file /usr/share/man/man1/eject.1 conflicts between attempted installs of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64 and file /usr/share/man/man1/logger.1 conflicts between attempted installs of util-linux-doc-2.29.1-r0.core2_64 and inetutils-doc-1.9.4-r0.core2_64 (From OE-Core rev: a65e69d006bceacb042b377f2cd0dd8a3e72ea62) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-2/+2
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.29.1Chen Qi2017-02-231-2/+2
| | | | | | | | | | (From OE-Core rev: b34dc23266e85006b9fdfcc1fdbc0d762f88cace) (From OE-Core rev: dd9fdf7a119792b0367f5a1893f6b700f0d3857e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: create own package for lsblkAndreas Oberritter2017-01-311-2/+4
| | | | | | | | | | Let util-linux-bash-completion depend on it, because it uses it. (From OE-Core rev: 27efae1e0ba8fc6b08117b31c4cb35638afc37e4) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: 2.28.1 -> 2.29Zheng Ruoqin2016-12-171-3/+3
| | | | | | | | | | | | Upgrade util-linux from 2.28.1 to 2.29 (From OE-Core rev: a675e8219f09a92f1c9c9fccce449d0f0753a53f) (From OE-Core rev: 9277fcfa1ceafda1439a8e229e98e741f1301be9) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-1/+1
| | | | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add su.1 to update-alternativesRoss Burton2016-11-061-3/+5
| | | | | | | | | | | | The su binary is handled by alternatives but the man page wasn't, so installing both util-linux-doc and shadow-doc produces errors. Also use d.expand() to neaten the code. (From OE-Core rev: 70a161ee88d3d54fec6d59039c181b43f1857dc3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Disable bfs supportPatrick Williams2016-09-161-1/+1
| | | | | | | | | | | | Disable building of mkfs.bfs, which is used to create BFS file-systems used by SCO UnixWare. This is highly unlikely to be utilized and there are otherwise no references to 'bfs' throughout the rest of the tree. (From OE-Core rev: 3226d89ff743c223181fda90f605c7579337941a) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Disable minix support.Patrick Williams2016-09-161-5/+4
| | | | | | | | | | | | | | | Disable building of {mkfs,fsck}.minix, which are used to support minix file-systems. Minix predates Linux and support for its file-systems is unlikely to be needed. No recipes otherwise reference minix, except in patches to autotools configuration scripts, so there should be no impact to other recipes. (From OE-Core rev: fc66762d7c112fb798c2444dd902ce03baf975c4) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: do not enable gtk-doc and explain whyAlexander Kanavin2016-09-091-0/+1
| | | | | | | (From OE-Core rev: ea98b08c65de100623a641505f3160848c8fdf20) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.28.1Chen Qi2016-08-201-2/+2
| | | | | | | (From OE-Core rev: 76e9ea8e5c74ad7ab78138bd330f70d69931410c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: make prlimit a separate packagePascal Bach2016-08-101-2/+3
| | | | | | | | | | | | | | | | Busybox doesn't provide a similar tool so having it in a separate package allows to us it in addition to busybox without having to include all of util-linux. Before it was part of the top level util-linux package. Now it is a separate package util-linux-prlimit but the top level package still RRECOMMENDS it so for most users nothing should change. (From OE-Core rev: e364ecc1216b04f2b61a88a623d2e9b5199af261) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.28Chen Qi2016-07-019-195/+49
| | | | | | | | | | | | | | | | | | | | | | | Related patches are rebased. util-linux-ng-2.16-mount_lock_path.patch is removed because there's no _PATH_MOUNTED_LOCK in the latest codes. util-linux-native.patch is removed because 2.28 version of util-linux has taken mkostemp into consideration and provide fallback if mkostemp fails. avoid_unsupported_sleep_param.patch is removed and coreutils is added as a runtime dependency to util-linux-ptest to solve the same problem. avoid_unsupported_grep_opts.patch is removed and grep is added as a runtime dependency to util-linux-ptest to solve the sanme problem. (From OE-Core rev: fccf99d9130f3c5ce358c97c97c52cd74deef25c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: move to Python 3Alexander Kanavin2016-06-031-5/+6
| | | | | | | (From OE-Core rev: 0dacdb780bce78e2c12b1ac9914a1a0194d6ff39) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: take ownership of hwclock if installedRoss Burton2016-04-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously util-linux had a lower priority for hwclock than busybox but the reasoning was lost in the mists of time, with just this enigmatic comment remaining: There seems to be problem, atleast on nslu2, with these, until they are fixed the busybox ones have higher priority. Chasing the comment back through history it first appeared in the following oe-classic commit: commit 5e01906b8433bc6a8c03be2e31758589641124c9 Author: David Karlstrom <daka@thg.se> Date: Sat Jul 23 13:36:38 2005 +0000 Updated to use update-alternatives and fix some FHS bugs Which doesn't really give a lot away. Let's assume that in the past eleven years both hwclock and hardware have improved, and restore util-linux's hwclock to it's intended priority. [ YOCTO #9103 ] (From OE-Core rev: 2ea1a73d264173d9dd8978d82de0d53e2c2164d3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out util-linux-mountpointRichard Tollerton2016-03-251-3/+7
| | | | | | | | | | | | | Allow mountpoint to be installed separately from the rest of util-linux, to conserve disk space, and to minimize the impact of switching to/from this version of mountpoint. (From OE-Core rev: ea643811f44774dd9038d76ff01e13f33478c9cb) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Change ALTERNATIVE_PRIORITY above busyboxRichard Purdie2016-02-041-1/+1
| | | | | | | | | | | | | | | http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8de5315bd519c21a114bc88b88c6caff32831c03 changed util-linux priority to match busybox (50) which means sometimes one and sometimes the other wins in image installs. We want util-linux to win compared to busybox. The old level (100) does conflict with other utils so pick 80 as a good intermediate value. (From OE-Core rev: 97afba61ab5124fab68c97609920d2cb67774174) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use bash-completion.bbclassGeorge McCollister2016-01-301-3/+2
| | | | | | | | | | Use bash-completion.bbclass to package bash completions. (From OE-Core rev: a6776e2ac597a70cb6105740eed1cf1b28204ad7) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix ptest builds on muslKhem Raj2016-01-242-0/+93
| | | | | | | | | musl doesnt implement error() API, hence provide one (From OE-Core rev: 4c7cb1f34bdb030333d83e445b5df5d06bef478f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: create util-linux-runuser iff pam in DISTRO_FEATURESIoan-Adrian Ratiu2016-01-151-1/+2
| | | | | | | | | | If pam is not present in DISTRO_FEATURES, then exclude util-linux-runuser from PACKAGES to avoid its libpam dependency. (From OE-Core rev: 9ba9807fc7c19938022c37641b171464699fc742) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: create util-linux-runuser packageIoan-Adrian Ratiu2016-01-111-1/+6
| | | | | | | | | | | | Split runuser into its own package (previously provided by util-linux). runuser is compiled only when DISTRO_FEATURES includes pam and also the package is created only when runuser exists. (From OE-Core rev: 35a86d15ed09d64cb999d35db13a2023bcaa51cc) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix floating dependency upon 'readline'Otavio Salvador2015-12-281-0/+3
| | | | | | | | | | | | The configure script checks for 'readline' availability and enables it, if available. Now, a PACKAGECONFIG (readline) controls the feature. (From OE-Core rev: 574b84132df61d421d2f99e14bdc94649fe83e38) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Upgrade to 2.27.1Khem Raj2015-12-164-107/+4
| | | | | | | | | | Patches that are dropped are already available upstream in 2.27 release (From OE-Core rev: e4b9c8efaff3b869e2944444b16078ec19dce3ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: more removals of redunant FILES_${PN}-dbgRoss Burton2015-12-161-1/+0
| | | | | | | | | | In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. (From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Add ptestTudor Florea2015-12-088-1/+192
| | | | | | | | (From OE-Core rev: 705a369e5f48dc75f2db4ef814f63d11c2285058) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogsRobert Yang2015-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | (From OE-Core rev: 2a1a92ad3a315511df0ff1d2b541226713aab1f9) Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: util-linux and ncurses have the same priority 100 for reset util-linux and procps have the same priority 100 for kill.1 util-linux and procps have the same priority 100 for kill e2fsprogs and util-linux have the same priority 100 for libblkid.3 e2fsprogs and util-linux have the same priority 100 for blkid.8 e2fsprogs and util-linux have the same priority 100 for findfs.8 e2fsprogs and util-linux have the same priority 100 for fsck.8 Turn down util-linux' priority to fix the conflict, the larger set of tools should use a lower priority. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add runuser PAM config files to fix runuser errorChen Qi2015-10-014-0/+15
| | | | | | | | | | | | | | The runuser command fails with below error message, add proper PAM config files to fix the problem. The config files are borrowed from CentOS 7.0 release. runuser: Failure setting user credentials (From OE-Core rev: a6616f1a7b8e30428e61b6437f2f48379efc101d) Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update alternatives of man pagesKai Kang2015-07-081-1/+7
| | | | | | | | | | Update alternatives of man pages in several packages. (From OE-Core rev: 2cff20f423fb9e82b44c68504be605c223bd74fb) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.26.2Chen Qi2015-06-031-2/+2
| | | | | | | | (From OE-Core rev: d024a53c8018d63348b5939cdec1ba1b34356cb4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Add lastb to alternativesBryan Evenson2015-04-241-1/+1
| | | | | | | | | | | | | | util-linux creates lastb as a symlink to last during the build. Just as other applications may provide last, other applications may provide lastb. Add alternatives designations for lastb to avoid installation conflicts with other applications. (From OE-Core rev: cde6a85fd327407320adaad21203079a8dacbf23) Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Upgrade to 2.26Khem Raj2015-04-102-182/+7
| | | | | | | | | | Drop backports Change-Id: I94d442edaf37ab8e685670f0e14ed60031a995fa (From OE-Core rev: 302844ab3302050733df5e9c5e9cb92351cd315e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out util-linux-suloginChen Qi2015-04-101-4/+8
| | | | | | | | | [YOCTO #6698] (From OE-Core rev: 4bde182ed236243547929dd98763f1c09eddd097) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add lastb.1 and nologin.8 to update-alternativesMatthieu Crapet2015-04-081-1/+3
| | | | | | | | | | | | | /usr/share/man/man1/lastb.1 is also provided by sysvinit recipe. /usr/share/man/man8/nologin.8 is also provided by shadow recipe. (From OE-Core rev: 8fdf9a355291e7341f9c9a6c219349cf95326171) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux-native: Fixed conflicts with shadow-native and ncurses-nativeCaner Altinbasak2015-03-221-0/+6
| | | | | | | | | | | | | | | | | | util-linux-native provides /bin/reset and /sbin/nologin. shadow-native provides /sbin/nologin and ncurses-native provides /bin/reset. This creates a conlict. [YOCTO #7484] This commit fixes the conflict by deleting the /bin/reset and /sbin/nologin from util-linux-native installation. Signed-off-by: Caner Altinbasak <caner.altinbasak@gmail.com> (From OE-Core rev: 56d49ee48f47ea05de26a7e922597413f81b2122) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split libraries dynamicallyRoss Burton2015-03-161-5/+10
| | | | | | | | | | | | | | | util-linux has a number of utility libraries and not noticing a new one being added in an upgrade results in many of the split-out core tools depending on the entire package for the library. To prevent this happening in the future do the library packaging dynamically. As a side-effect libsmartcols.so is no longer packaged in util-linux so util-linux-fdisk no longer depends on the full util-linux. (From OE-Core rev: a7572d7000bbc5739a1f0bec466dbcf856606f12) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix CVE-2014-9114Chen Qi2015-03-162-0/+175
| | | | | | | | | | | | | Backport a patch to fix CVE-2014-9114. The patch has been integrated in util-linux-2.26. [YOCTO #7180] (From OE-Core rev: 6a5c24f22621f41b17267a6ebedecec631d0156d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: move getopt u-a link to base_bindirMartin Jansa2015-03-161-3/+3
| | | | | | | | | | | | * busybox installs getopt u-a in base_bindir when GETOPT is enabled, move util-linux link to the same location to fix calling u-a in read-only images * remove unused variable usrbinprogs_a (From OE-Core rev: 8e59d9e2c9c94d8682208ee02a1566864aaf51ff) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: disable systemdRoss Burton2015-02-241-3/+2
| | | | | | | | | | | | | | | | | | | systemd has a build-dependency on util-linux for libmount, and util-linux has an optional build dependency on systemd. The features in util-linux that enabling systemd gives you are: * lslogins can show recent journal entries from the user * uuidd can use socket activation and has a service file * fstrim has a service file * logger can write journal entries These are not worth the overhead of maintaining two util-linux recipes to bootstrap the cycle, so disable systemd support in util-linux. (From OE-Core rev: e9b13af813ac74144fea7479208ae0e699518093) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: move readprofile to match busyboxSaul Wold2015-01-291-4/+4
| | | | | | | | | | | | | This change moves readprofile from /sbin -> /usr/sbin to match busybox, the change allows update-alternative to correctly setup the links [YOCTO #7225] (From OE-Core rev: 43424eb3c8bf03a2f9ec331b78dd4040dd39eacd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.25.2Chen Qi2015-01-2910-371/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-configure.patch is removed as it's not appropriate, and the new version of util-linux has solved the problem this patch is trying to solve. util-linux-ensure-the-existence-of-directory-for-PAT.patch is removed as the new version of util-linux has solved the problem this patch is trying to solve. util-linux-native.patch is rebased. util-linux-ng-replace-siginterrupt.patch is rebased. Add PACKAGECONFIG for 'pylibmount' to build out python bindings for libmount optionally. util-linux-pylibmount is added to PACKAGES if PACKAGECONFIG has 'pylibmount' in it. Fix PACAGECONFIG for 'systemd' as the new version has changed things related to systemd. Now util-linux would have a dependency on systemd if 'systemd' is in PACKAGECONFIG. Fix SYSTEMD_PACKAGES, SYSTEMD_SERVICE and SYSTEMD_AUTO_ENABLE variable to match the new version. Four lines in do_compile task are deleted because they caused do_compile failure and nowhere in util-linux are they used. Corresponding files are also removed. (From OE-Core rev: 264e2fde3a8624c87d2451d2752c9f3ed8911672) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>