summaryrefslogtreecommitdiffstats
path: root/package/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* linux-pam: unavailable for static buildsGustavo Zacarias2014-07-311-6/+10
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/3bb/3bb8d4662995a11e8e6cc5fdaaba9e25d4c0e0ec/ [Thomas: add more details about the non availability for static builds as a comment in the Config.in file.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: fix installation of shared libraries to not mess with pure ↵Thomas Petazzoni2014-06-131-0/+57
| | | | | | | | | | | | | | | | | | static lib Even when compiled with --enable-static --disable-shared, util-linux creates some incorrect libuuid.so, libblkid.so and libmount.so symbolic links, which confuses the compiler which thinks that a shared library is available. This causes some build issues such as: http://autobuild.buildroot.org/results/990/9909d198ce14969d0e9d29a34fcc33f0ef79220d/ This commit fixes that by adding a patch to util-linux that fixes this issue. The patch has been submitted upstream at http://article.gmane.org/gmane.linux.utilities.util-linux-ng/9262. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: bump to version 2.24.2Gustavo Zacarias2014-04-293-45/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: fix chfn/chsh missing dependenciesSamuel Martin2014-04-211-0/+5
| | | | | | | | | | chfn/chsh utilities need linux-pam. Fixes: http://autobuild.buildroot.org/results/cfc/cfc5fd00b9db21b60efe8b74e9966b6192b1da17/ Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: do not install bash completion filesThomas Petazzoni2014-04-201-1/+4
| | | | | | | | In most embedded systems, there is not much point in installing bash completion files, especially since bash may not necessarily be present on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: Add config switches for some more binariesPaul Cercueil2014-04-202-1/+25
| | | | | Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: add missing dependency on libcap-ngRomain Naour2014-04-081-0/+4
| | | | | Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: add a check for mkostemp()Romain Naour2014-04-081-0/+50
| | | | | | | | | | | | | | | | | | | mkostemp() is missing with older version of uClibc (uClibc <= 0.9.33). So, we need to check if mkostemp() is available. If not, we use a wrapper function based on mkstemp() to implement it. Since util-linux v2.23, mkostemp() is called with O_CLOEXEC flag. If we use a define to mkstemp() to implement mkostemp(), flags will be discared. mkstemp() will pass O_RDWR|O_CREAT|O_EXCL, but not O_CLOEXEC, which means that the file descriptor will no longer be closed automatically upon exec(). To avoid to discard the flags, we add a call to fcntl() to set O_CLOEXEC flag just after mkstemp(). Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: unshare: include libmount.h to provide missing MS_* definesRomain Naour2014-04-061-0/+44
| | | | | | | upstream patch: d754315c54af9cb8222e0a04ed5b2b4b927ed176 Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: bump version to 2.24.1Mischa Jonker2014-04-034-214/+6
| | | | | | | | | | | | | | | Removed "support older machines" patch as it has been fixed upstream, fixed up other patches. This removes some arch-dependencies in fdiskbsdlabel.h, fixing the build for the ARC-architecture. This fixes: http://autobuild.buildroot.net/results/8863799d856ccab51ee8ffd499378574ef166aee/ Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: libblkid needs fork(), disable on !MMUThomas Petazzoni2014-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libblkid library in util-linux uses fork. While it seems potentially possible to disable the parts of the library that use fork (the only parts using fork are parts related to LVM and Device Mapper, which are said to be legacy as they are replaced by sysfs based scanning, instead of having to fork to run a separate process). However, since libblkid is used by: - e2fsprogs, which uses lots of fork all over the place - udev, which most likely will also need fork There is not much point in making libblkid fork-less. As a consequence, this commit makes util-linux/libblkid unavailable on non-MMU architectures, and propagates the relevant dependency to the reverse dependencies of libblkid. This fixes the e2fsprogs build failure seen on Blackfin. The failure was due to a configure test of e2fsprogs which was trying to link a small test program against libblkid, which failed because there was an undefined reference to fork() in the libblkid code. Fixes: http://autobuild.buildroot.net/results/ee2c1568d16ac040011dd4d6d8b543ff9e9e2622/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "util-linux: add nsenter option"Peter Korsgaard2014-02-082-6/+0
| | | | | | | | | | | | This reverts commit 9f91d79601da42516752318beecfd080dc05aac9. Not all toolchains have setns(), and the configure script automatically enables nsenter if it does, so get rid of the explicit option. See http://lists.busybox.net/pipermail/buildroot/2014-February/088669.html for details. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/util-linux: add a host variantDanomi Manchego2014-02-041-0/+8
| | | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "util-linux: Add config switches for some more binaries"Thomas Petazzoni2013-12-252-30/+0
| | | | | | | | | | | | | | | This reverts commit 2746158497cdaf80a5b85584e3972857ac2e7e82. This commit is causing build issues when chfn/chsh are selected, due to bad interactions with PAM. The initial submitter of the patch has agreed to work on an improved version that fixes those problems, but in the mean time, we revert this commit to prevent the problem from occuring in the autobuilders. Fixes: http://autobuild.buildroot.org/results/820/8204008da6944923034fa17ecbcfefcf15373ee5/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: Add config switches for some more binariesPaul Cercueil2013-12-202-0/+30
| | | | | Signed-Off-By: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: add nsenter optionShawn Landden2013-12-092-0/+6
| | | | | | [Peter: adjust white space and commit message] Signed-off-by: Shawn Landden <shawn@churchofgit.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: add agetty->getty symlinkGustavo Zacarias2013-12-031-0/+11
| | | | | | | | When busybox isn't installed symlink agetty->getty to make the default inittab work. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: install PAM configuration filesGustavo Zacarias2013-12-033-0/+38
| | | | | | | | | | Install PAM configuration files for su (with "su -" variant) and login when the tools are enabled. This finally fixes bug #5366 and now we can login with an util-linux /bin/login. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: tweak sscanf-no-ms-as patchGustavo Zacarias2013-11-281-1/+1
| | | | | | | | | The patch has a minor mistake so fix it. Credit go to Daniel Mentz <daniel@exxm.de> for the detailed bug report. Closes bug #6428 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupThomas De Schampheleire2013-11-111-1/+1
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: disable fallocate for avr32Simon Dawson2013-11-111-0/+1
| | | | | | | | | | | The fallocate syscall is not implemented in the avr32 toolchain. Fixes build failures such as the following. http://autobuild.buildroot.net/results/bc4/bc41a3fea20181526eb247ac910244aa2aa4c4c0/ Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: Add --without-ncurses to host-util-linuxOlivier Schonken2013-11-011-1/+1
| | | | | | | | | | Ncurses not necessary when building host-util-linux, so passing --without-ncurses avoids from misdetecting an installed host ncurses on the build machine. [Thomas: improve commit message] Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-2/+2
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-inux: MKINSTALLDIRS workaround is needed for host install as wellPeter Korsgaard2013-10-071-0/+1
| | | | | | Fixes http://autobuild.buildroot.net/results/3c8/3c8c78a5c0421b9079190ddf97b366fc7f0c0859 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: fix build failure with older systemsRyan Barnett2013-09-093-10/+216
| | | | | | | | | | | | | Adding patch util-linux-002-support-older-machines.patch to fix issues when building for older systems. Making all util-linux patches apply cleanly (fuzz fixes) Fixes http://autobuild.buildroot.org/results/349/349d6ff938b093623618669a1acb390aa2a5fafe Fixes http://autobuild.buildroot.org/results/57e/57e2c612c46b9e3b5f7bb213fcb3825b23fb7fc7 Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* change package tarball compression to xz whenever possibleJerzy Grzegorek2013-09-081-1/+1
| | | | | | [Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: bump version to 2.23Ryan Barnett2013-09-055-167/+117
| | | | | | | | Removed patches that were are now in version 2.23 of util-linux along with fixed up other patches so they apply cleanly. Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: only needs gettext if locale is selectedArnout Vandecappelle (Essensium/Mind)2013-07-302-1/+2
| | | | | | | | Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* host util-linux: disable login and su since they depend on PAMChristophe Vu-Brugier2013-03-181-5/+6
| | | | | | | | | | | This fixes the following errors when building util-linux v2.22.2 for the host in case the PAM headers are missing: configure: error: login selected, but required PAM header file not available configure: error: su selected, but required PAM header file not available Signed-off-by: Christophe Vu-Brugier <cvubrugier@lacie.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: bump version and revamp optionsGustavo Zacarias2013-03-098-169/+311
| | | | | | | | | | | | | | | Bump to latest 2.22.2 version and revamp available options. * Remove the assumed enable/disable defaults since these seem to change quite often, so do what's wise and always enable/disable things. * Switch from build "X" menu options to just X, add some help and sort. * Introduce new option to install binaries (or not) to reduce bloat for packages that just need libblkid and/or libuuid. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: add support for XtensaChris Zankel2013-02-051-0/+11
| | | | | | | | | [Thomas Petazzoni: rename patch to not have the package version in the patch file name, adjust the commit title.] Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: add numbers to patchesThomas Petazzoni2013-02-053-0/+0
| | | | | | | | | | As we are going to add an Xtensa related patch that needs to be applied *after* the AArch64 patch, let's first add a number to each util-linux patch file name, so that we know they will be applied in the right order. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix build on AArch64Thomas Petazzoni2012-12-151-0/+22
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/5b63022f4c2d8bdd72697e8007e8a6101a64dd12/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: rename versioned patch without versionThomas Petazzoni2012-12-151-0/+0
| | | | | | | | | | | | util-linux-2.20.1-sscanf-no-ms-as.patch has a version in its name, and therefore the other patch, unversioned, util-linux-uclibc-build-fix.patch, never gets applied. Fix this by renaming util-linux-2.20.1-sscanf-no-ms-as.patch to util-linux-sscanf-no-ms-as.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix typo in configuration option labelThomas Petazzoni2012-12-111-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: add license infoArnout Vandecappelle (Essensium/Mind)2012-11-141-0/+6
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all references to libintlThomas Petazzoni2012-09-201-2/+2
| | | | | | | | | | | | | | | From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: fix libmount build under uClibcPeter Korsgaard2012-03-151-0/+87
| | | | | | Patch taken from gentoo. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: bump to version 2.20.1Gustavo Zacarias2012-03-112-31/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: add host variant for host-lttng-babeltraceThomas Petazzoni2012-01-311-0/+14
| | | | | | | | | | lttng-babeltrace needs libuuid, which is provided by util-linux, and since we want to build lttng-babeltrace for the host, we need to build libuuid for the host. It's a shame that libuuid is part of such a big package as util-linux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix partx build breakageGustavo Zacarias2011-11-082-5/+6
| | | | | | | | | addpart, delpart and partx are enabled by default so --disable now to avoid build breaking when we lack libblkid. Also select libblkid when it's enabled now. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: bump versionPeter Korsgaard2011-09-052-2/+32
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix install when locales are enabledPeter Korsgaard2011-08-121-0/+5
| | | | | | | | | | | | | | util-linux uses mkinstalldirs to install .po files when locales are enabled, but the definition of MKINSTALLDIRS comes from a tweaked nls.m4 (based on the one from gettext). When we autoreconf the package, we end up using the system (staging) version of nls.m4, so MKINSTALLDIRS doesn't get defined. Fix it by passing a definition of MKINSTALLDIRS to make during the install steps. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix libintl linking if presentPeter Korsgaard2011-08-091-0/+4
| | | | | | | The configure script correctly detects presence of libintl, but it forgets to link against it, breaking the build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* util-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD optionSven Neumann2011-08-081-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud