Commit graph

13 commits

Author SHA1 Message Date
Felix Fietkau
e64463ebde util-linux: avoid using the getrandom syscall
getrandom blocks until the random pool is being initialized.
Unfortunately, this code is being called early during init to create the
overlay filesystem, on some devices leaving little chance for a
successful random pool init.
True randomness is not that important here, so fix this issue by
sticking to using /dev/urandom, like in older versions of this code.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-09-29 12:32:44 +02:00
Daniel Engberg
e505f59bd9 utils/util-linux: Update to 2.30.1
Refresh patch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-21 21:29:45 +02:00
Daniel Engberg
cf9812dd52 utils/util-linux: Update to 2.29.2
Update util-linux to 2.29.2
Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream.
Refresh patches
Change ncurses to ncursesw to fix compilation and avoid confusion

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove faulty dependency changes]
2017-03-22 14:38:48 +01:00
John Crispin
aa729bcf14 Revert "utils/util-linux: Update to 2.29.2"
This reverts commit eac1a54857.

This patch caused the builders to blow up.

Signed-off-by: John Crispin <john@phrozen.org>
2017-03-22 12:14:08 +01:00
Daniel Engberg
eac1a54857 utils/util-linux: Update to 2.29.2
Update util-linux to 2.29.2
Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream.
Refresh patches
Change ncurses to ncursesw to fix compilation and avoid confusion

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-03-22 09:16:23 +01:00
Waldemar Brodkorb
5d8ece87a4 util-linux: fix scanf fallback detection for uClibc-ng
uClibc-ng pretends to be GNU libc 2.2 and then a fallback
scanf check is tried, so that libmount is disabled
afterwards. Add a fix already suggested upstream.
Add librt dependency required for other apps, too.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2016-06-05 23:23:57 +02:00
Hauke Mehrtens
91a508d5bf util-linux: update to version 2.28
The following patches were merged upstream:
* 0001-switch_root-improve-statfs-f_type-portability.patch
* 0002-lib-colors-use-static-buffers-when-parse-scheme.patch
* 002-mkostemp.patch

The following patch is not needed any more because all libc
implementations support alloc in sscanf:
* 001-no-printf-alloc.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 49191
2016-04-17 15:16:12 +00:00
Nicolas Thill
ba887275ca util-linux: fix pkgconfig files
Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time,
leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling...

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44627
2015-03-09 02:02:50 +00:00
Luka Perkov
3534e26463 util-linux: update to 2.25.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43443
2014-11-30 22:11:09 +00:00
Felix Fietkau
29dffbbab4 util-linux: use qsort instead of qsort_r to fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41059
2014-06-09 13:47:48 +00:00
John Crispin
89ecc2fdad util-linux: backport upstream fix for unshare utility
the unshare utility wasn't getting certain defines for mount
anymore.

SVN-Revision: 40302
2014-03-30 09:15:03 +00:00
Luka Perkov
bf98d81259 util-linux: update to 2.24.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40010
2014-03-24 00:19:44 +00:00
John Crispin
4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00