summaryrefslogtreecommitdiffstats
path: root/package/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* package/util-linux: disable libsmartcols in no-MMU platformsRomain Naour2016-02-251-0/+1
| | | | | | | | | | | As reported by Thomas Petazzoni [1], the libsmartcols library can't be used on no-MMU platform since fork() is used. [1] http://lists.busybox.net/pipermail/buildroot/2016-February/153414.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/util-linux: fix typo in configure.acRomain Naour2016-02-161-0/+34
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Lada Trimasova <ltrimas@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: add findfs optionJames Knight2016-02-142-0/+6
| | | | | | | | | Add the findfs utility option for util-linux package. Signed-off-by: James Knight <james.knight@rockwellcollins.com> Cc: Zheng Yi <yzheng@techyauld.com> [Thomas: respect alphabetic ordering.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: fix static builds with uClibcLada Trimasova2016-02-022-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of uClibc librt depends on libpthread. In particular timer_create() function uses pthread_XXX(). That means in case of static builds it's required to link not librt alone but together with libpthread. So if checking timer_create function in librt fails, it is necessary to check if timer_create function successfully links with "-lpthread". That issues was spotted in Buldroot autobuilder failures: http://autobuild.buildroot.net/results/759/75960db671807091fe9155aee9e46a6245e32590/ http://autobuild.buildroot.org/results/112/112e8b85783f5aaba42a937a6eb064317615a21b/ 0005-build-sys-use-REALTIME_LIBS.patch is a back-port of upstream https://github.com/karelzak/util-linux/commit/b97edfe731fdf3d3e92e40494b22658207ab6d3c that won't apply cleanly on v2.27.1 0006-buildsys-fix-static-configuration-and-building.patch was just applied upstream, see https://github.com/karelzak/util-linux/commit/71a77ca1ddfdd7e0d14caad9e8a607a83d61a45c Both patches must be removed on util-linux version bump. Signed-off-by: Lada Trimasova <ltrimas@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: put package options in a sub-menuDanomi Manchego2016-01-191-1/+1
| | | | | | | | | | | Hide all the util-linux options in a menuconfig, as the option list is quite long. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: enable Python bindings for libmountYegor Yefremov2016-01-151-2/+14
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain-external: CodeSourcery NIOSII: support only one versionRomain Naour2015-12-181-1/+1
| | | | | | | | | | | | | | See the conclusion about external toolchains during the Buildroot meeting [1]: "In the future, we stick to a single external toolchain version. The Kconfig symbol should not encode the version (avoid legacy handling)" [1] http://elinux.org/index.php?title=Buildroot:DeveloperDaysELCE2015#Report Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: bump to version 2.27.1Gustavo Zacarias2015-11-032-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: fix last minute typo in the systemd handlingPeter Korsgaard2015-10-221-1/+1
| | | | | Reported-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: disable systemd supportPeter Korsgaard2015-10-221-0/+6
| | | | | | | | | | | | | | | | Fixes (works around) #8421 Util-linux has optional systemd support, but we cannot enable it as systemd depends on util-linux, so that would create a circular dependency. The systemd unit directory location detection also fails as pkg-config 0.9.12+ prefixes all directory variables with the sysroot, and the configure script expects to see the target location, so disable that as well for good measure. The systemd support doesn't seem to add much, so it isn't a big loss. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: update tool select optionsDanomi Manchego2015-10-042-12/+13
| | | | | | | | | | | | | | | Add missing app config options: - line - tunelp Drop app config options no longer supported by util-linux: - arch - ddate Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: show utilities alphabetically orderedVicente Olivert Riera2015-09-111-12/+12
| | | | | | | | | The list of util-linux utilities we can find on its Config.in file it seems to be alphabetically ordered in purpose. However, there are some of them which are in the wrong place. This patch fixes that. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: bump version to 2.27Vicente Olivert Riera2015-09-113-15/+4
| | | | | | | | | | | | | | | | | | | | | | Removed 0002-program-invocation-short-name.patch since the changes it does are now upstream: https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/37edac9a0ca83f311279d2e49bacd6ac80310dc8 This release includes a security fix: CVE-2015-5224 - chfn, chsh file name collision due to incorrect mkstemp use if compiled without libuser. [thanks to Qualys Security Advisory team; qualys.com] Release notes here: https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27-ReleaseNotes Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages/linux-pam: disable when using muslBrendan Heading2015-08-261-4/+6
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/e33/e337d69420ad00b2cc4017d639a31803926f2353/ linux-pam needs some surgery to build under musl, so for the time being disable it until the issues are solved. Also disables dependent package python-pam, and dependent suboptions under openvmtools, rsh-redone and util-linux. Signed-off-by: Brendan Heading <brendanheading@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/util-linux: fix vipw build with muslRomain Naour2015-08-101-0/+35
| | | | | | | | | | | | | | __P() is used for compatibility with old K&R C compilers. With ANSI C this macro has no effect. This fixes a compilation error with musl libc because of undeclared __P. Fixes: http://autobuild.buildroot.net/results/237/2377ae85bb9d85ba4c02706207f0b3bde3ccd027 Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* core/skeleton: drop /etc/securettyYann E. MORIN2015-07-131-1/+0
| | | | | | | | | | | | | | | | securetty is supposed to restrict the terminals root is allowed to login from. As it happens, login from busybox (w/ securetty support) is actually enforcing use of securetty, while login from util-linux is completely ignoring securetty altogether. Remove securetty from our skeleton altogether and stop worrying about it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove shell completion at finalize stageMaxime Hadjinlian2015-07-121-6/+0
| | | | | | | | | | | | Instead of doing a removal of the completion file package per package, do it all at the finalize stage so it's done once and for all. Note: This fixes an issue with systemd where passing a --bashcompletiondir or --zshcompletiondir would be evaluated to '.' by the autotools macro. This would create a 'target./' directory. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libcap-ng: cannot be built with nios2 CS 2014.05 toolchainPeter Korsgaard2015-05-151-0/+1
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/d13/d136f763ca3389cdc6a404db7a4fc0cd18329955/ http://autobuild.buildroot.net/results/e00/e002e2a3bd52a3cc3b0d06625de61315d86de524/ http://autobuild.buildroot.net/results/bba/bba9f7130315c9d97cc060a73663276d0fa2c1b3/ http://autobuild.buildroot.net/results/fc7/fc7bc050ef769716dedb0ad81a51e33a12deec47/ And many more. Building libcap-ng with that toolchain triggers an internal compiler / assembler bug, so blacklist that combination and propagate to the reverse dependencies. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* util-linux: bump to version 2.26.2Gustavo Zacarias2015-05-012-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: bump to version 2.26.1Gustavo Zacarias2015-03-132-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2015-03-025-219/+24
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * util-linux: bump to version 2.26Gustavo Zacarias2015-02-205-217/+24
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * packages: all salute the passing of avr32Yann E. MORIN2015-02-141-2/+0
| | | | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | util-linux: ul also requires ncursesGustavo Zacarias2015-02-211-0/+1
| | | | | | | | | | | | | | Found via auditing. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | util-linux: setterm requires ncursesGustavo Zacarias2015-02-211-0/+1
|/ | | | | | | | Fixes: http://autobuild.buildroot.net/results/7c0/7c02c0de18059bd1a633267b43a8a5e9ee2fdfdc/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* util-linux: add missing indirect dependency on !avr32 for setprivArnout 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 ncursesPeter 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 dependencyPeter 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 optionsMaxim 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 bashMaxim 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.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_LIBSThomas 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 programsThierry 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-9114Gustavo 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 -lintlYann 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 MicroblazeThomas 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.2Gustavo 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 makefilePeter 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_OPTSThomas 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_OPTSThomas 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_OPTSThomas 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_OPTSThomas 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_OPTSThomas 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 buildPeter 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 buildPeter 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 hashGustavo 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 wellGustavo 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.1Gustavo 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 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>
OpenPOWER on IntegriCloud