aboutsummaryrefslogtreecommitdiff
path: root/package/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* util-linux: add missing indirect dependency on !avr32 for setprivGravatar Arnout Vandecappelle2015-02-071-0/+1
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: target command more needs ncursesGravatar Peter Seiderer2015-02-071-0/+1
| | | | | | | | | | | | Fixes [1]: configure: error: more selected, but required ncurses, tinfo or termcap libraries not available [1] http://autobuild.buildroot.net/results/f3b/f3b318c904b6325fd143a55f2f9fd1c55bb9cfd5 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: disable more command host build because of ncurses dependencyGravatar Peter Seiderer2015-02-011-0/+2
| | | | | | | | | | | | Build on host without ncurses/curses development files and option HOST_UTIL_LINUX enabled (introduced by [1]) failes because of text-utils/more.c ncurses dependency (see old commit [2] for details). [1] http://git.buildroot.net/buildroot/commit/?id=2b18d093cd8a5baaf2e22ce13cc9e527c1937777 [2] http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/util-linux: add more tool select optionsGravatar Maxim Mikityanskiy2015-01-262-3/+78
| | | | | | | | | | Add more options to Config.in to allow optionally select or deselect util-linux tools. Also fix s/BR2_PACKAGE_WDCTL/BR2_PACKAGE_UTIL_LINUX_WDCTL/ Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: install bash-completion files only with bashGravatar Maxim Mikityanskiy2015-01-261-1/+6
| | | | | | | | | | | | | | | | | package/systemd, package/kmod, package/util-linux: don't install bash-completion files if bash is not selected to be installed. Otherwise, install bash-completion files. package/systemd: don't install zsh-completion files is zsh is not selected to be installed. Otherwise, install zsh-completion files. package/util-linux: don't install empty /usr/share/bash-completion/completions directory if bash is not going to be installed, and install bash-completion files if bash is selected to be installed. Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: Add an option to compile 'nsenter' binary.Gravatar Nicolas Cavallari2014-12-262-0/+10
| | | | | | | | | | nsenter is a tool to enter the namespace of another process. [Thomas: add dependency to 3.0 kernel headers, since the setns() system call was added in Linux 3.0.] Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSGravatar Thomas Petazzoni2014-12-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* util-linux: add an option to build host programsGravatar Thierry Bultel2014-12-101-2/+10
| | | | | Signed-off-by: Thierry Bultel <tbultel@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: add security patch for CVE-2014-9114Gravatar Gustavo Zacarias2014-12-104-0/+168
| | | | | | | | | Fixes CVE-2014-9114 - command injection flaw in blkid. See https://bugzilla.redhat.com/show_bug.cgi?id=1168485 Patch upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/util-linux: libuuid needs -lintlGravatar Yann E. MORIN2014-12-011-0/+8
| | | | | | | | | | | | | | | | | | | When gettext is needed (with locales), libuuid needs to be linked against -lintl. In dynamic link, this is solved via the DT_NEEDED ELF tag, but for static links, it does not get pulled in automatically. Fix that by adding a Libs.private section to uuid.pc, but only if it needed. First part at fixing: http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: re-enable libmount and binaries on MicroblazeGravatar Thomas Petazzoni2014-11-111-4/+0
| | | | | | | | | | | | | | | | | | | | | | In commit 442aa88f95d6c4a921aa3d4de91f54d50bd0cd35 ("util-linux: bump version and revamp options"), Gustavo disabled util-linux libmount and binaries on microblaze, as it was not building properly. However, as mentionned in the comment, these options were disabled on Microblaze due to "libc lacks UTIME_NOW & UTIME_COMMIT for libmount". This was true specifically for the microblaze external toolchain that we were using at the time. But we are no longer using this external toolchain (which proved to be broken in many ways), and have microblaze support in our internal backend. I have verified that with our internal toolchain, util-linux with libmount and the binaries enabled builds fine. Those options are not selected by anything else in Buildroot, so there's no other package impacted by this dependency change. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: bump to version 2.25.2Gravatar Gustavo Zacarias2014-10-252-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: use configure option instead of patching makefileGravatar Peter Seiderer2014-10-221-7/+1
| | | | | | | | | | | | | | | | | | | Use --disable-all-programs configure option instead of sed base patching of Makefile.am in case no util-linux binaries are selected. Suggested by Thomas Petazzoni ([1]). With this patch applied the following libs are no longer build by default: util-linux-2.25.1/.libs/libfdisk.a util-linux-2.25.1/.libs/libsmartcols.a util-linux-2.25.1/.libs/libsmartcols.so.1.1.0 [1] http://lists.busybox.net/pipermail/buildroot/2014-October/109818.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-5/+5
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_STAGING_OPT into FOO_INSTALL_STAGING_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_STAGING_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_STAGING_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_OPT into FOO_INSTALL_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: disable all programs for host buildGravatar Peter Seiderer2014-09-251-6/+2
| | | | | | | | | | | | | | | | | | | | Disable all programs for host build using '--disable-all-programs' as suggested by Thomas Petazzoni ([1]). Build libs before patch: build/host-util-linux-2.25.1/.libs/libsmartcols.so build/host-util-linux-2.25.1/.libs/libuuid.so build/host-util-linux-2.25.1/.libs/libfdisk.a build/host-util-linux-2.25.1/.libs/libcommon.a Build libs after patch: build/host-util-linux-2.25.1/.libs/libuuid.so build/host-util-linux-2.25.1/.libs/libcommon.a [1] http://lists.busybox.net/pipermail/buildroot/2014-September/106933.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: disable more command for host buildGravatar Peter Seiderer2014-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following compile error (in case neither curses or ncurses development files are installed on the build host): text-utils/more.c: In function ‘screen’: text-utils/more.c:692:4: warning: implicit declaration of function ‘my_putstring’ [-Wimplicit-function-declaration] text-utils/more.c:692:4: warning: nested extern declaration of ‘my_putstring’ [-Wnested-externs] text-utils/more.c: In function ‘initterm’: text-utils/more.c:1798:3: warning: implicit declaration of function ‘my_setupterm’ [-Wimplicit-function-declaration] text-utils/more.c:1798:3: warning: nested extern declaration of ‘my_setupterm’ [-Wnested-externs] text-utils/more.c:1806:5: warning: implicit declaration of function ‘my_tgetnum’ [-Wimplicit-function-declaration] text-utils/more.c:1806:5: warning: nested extern declaration of ‘my_tgetnum’ [-Wnested-externs] text-utils/more.c:1806:22: error: ‘TERM_LINES’ undeclared (first use in this function) text-utils/more.c:1806:22: note: each undeclared identifier is reported only once for each function it appears in text-utils/more.c:1807:23: error: ‘TERM_COLS’ undeclared (first use in this function) text-utils/more.c:1816:4: warning: implicit declaration of function ‘my_tgetflag’ [-Wimplicit-function-declaration] text-utils/more.c:1816:4: warning: nested extern declaration of ‘my_tgetflag’ [-Wnested-externs] text-utils/more.c:1816:34: error: ‘TERM_HARD_COPY’ undeclared (first use in this function) text-utils/more.c:1821:20: error: ‘TERM_EAT_NEW_LINE’ undeclared (first use in this function) text-utils/more.c:1827:23: error: ‘TERM_AUTO_RIGHT_MARGIN’ undeclared (first use in this function) text-utils/more.c:1828:25: error: ‘TERM_CEOL’ undeclared (first use in this function) text-utils/more.c:1829:4: warning: implicit declaration of function ‘my_tgetstr’ [-Wimplicit-function-declaration] text-utils/more.c:1829:4: warning: nested extern declaration of ‘my_tgetstr’ [-Wnested-externs] text-utils/more.c:1829:25: error: ‘TERM_CLEAR_TO_LINE_END’ undeclared (first use in this function) text-utils/more.c:1830:23: error: ‘TERM_CLEAR’ undeclared (first use in this function) text-utils/more.c:1831:24: error: ‘TERM_STANDARD_MODE’ undeclared (first use in this function) text-utils/more.c:1832:23: error: ‘TERM_EXIT_STANDARD_MODE’ undeclared (first use in this function) text-utils/more.c:1833:31: error: ‘TERM_STD_MODE_GLITCH’ undeclared (first use in this function) text-utils/more.c:1842:20: error: ‘TERM_UNDERLINE’ undeclared (first use in this function) text-utils/more.c:1843:23: error: ‘TERM_OVER_STRIKE’ undeclared (first use in this function) text-utils/more.c:1845:27: error: ‘TERM_UNDERLINE_CHAR’ undeclared (first use in this function) text-utils/more.c:1848:21: error: ‘TERM_ENTER_UNDERLINE’ undeclared (first use in this function) text-utils/more.c:1850:17: error: ‘TERM_EXIT_UNDERLINE’ undeclared (first use in this function) text-utils/more.c:1862:29: error: ‘TERM_PAD_CHAR’ undeclared (first use in this function) text-utils/more.c:1864:22: error: ‘TERM_HOME’ undeclared (first use in this function) text-utils/more.c:1867:21: error: ‘TERM_CURSOR_ADDRESS’ undeclared (first use in this function) text-utils/more.c:1869:10: warning: implicit declaration of function ‘my_tgoto’ [-Wimplicit-function-declaration] text-utils/more.c:1869:10: warning: nested extern declaration of ‘my_tgoto’ [-Wnested-externs] text-utils/more.c:1869:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] text-utils/more.c:1876:24: error: ‘TERM_CLEAR_TO_SCREEN_END’ undeclared (first use in this function) text-utils/more.c:1877:27: error: ‘TERM_LINE_DOWN’ undeclared (first use in this function) text-utils/more.c: In function ‘reset_tty’: text-utils/more.c:2142:3: warning: implicit declaration of function ‘tputs’ [-Wimplicit-function-declaration] text-utils/more.c:2142:3: warning: nested extern declaration of ‘tputs’ [-Wnested-externs] make[4]: *** [text-utils/more-more.o] Error 1 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: add hashGravatar Gustavo Zacarias2014-09-181-0/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: disable python for host variant as wellGravatar Gustavo Zacarias2014-09-141-0/+3
| | | | | | | | It's bindings, and there's no need/use for them. Fixes: http://autobuild.buildroot.net/results/f3d/f3dfe6bd9031645fb068385af4054c0cc7522b2b/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: bump to version 2.25.1Gravatar Gustavo Zacarias2014-09-133-78/+61
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux-pam: unavailable for static buildsGravatar Gustavo 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 ↵Gravatar 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.2Gravatar Gustavo 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 dependenciesGravatar Samuel 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 filesGravatar Thomas 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 binariesGravatar Paul 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-ngGravatar Romain 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()Gravatar 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_* definesGravatar Romain 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.1Gravatar Mischa 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 !MMUGravatar Thomas 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"Gravatar 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 variantGravatar Danomi 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"Gravatar 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 binariesGravatar Paul 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 optionGravatar Shawn 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 symlinkGravatar Gustavo 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 filesGravatar Gustavo 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 patchGravatar Gustavo 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 cleanupGravatar Thomas 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 avr32Gravatar Simon 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-linuxGravatar Olivier 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 dependenciesGravatar Thomas 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 wellGravatar Peter 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 systemsGravatar Ryan 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 possibleGravatar Jerzy 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.23Gravatar Ryan 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>