forked from pool/coreutils
Accepting request 143405 from home:rmilasan:branches:Base:System
- Update default posix version to 200112 (bnc#783352). Hide rootfs in df (df not using yet /proc/self/mountinfo). OBS-URL: https://build.opensuse.org/request/show/143405 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=167
This commit is contained in:
parent
498836a997
commit
8b2a2a7a3e
14
coreutils-df-always-hide-rootfs.patch
Normal file
14
coreutils-df-always-hide-rootfs.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: coreutils-8.17/src/df.c
|
||||
===================================================================
|
||||
--- coreutils-8.17.orig/src/df.c
|
||||
+++ coreutils-8.17/src/df.c
|
||||
@@ -474,6 +474,9 @@ get_dev (char const *disk, char const *m
|
||||
if (!selected_fstype (fstype) || excluded_fstype (fstype))
|
||||
return;
|
||||
|
||||
+ if (STRNCMP_LIT (fstype, "rootfs") == 0)
|
||||
+ return;
|
||||
+
|
||||
/* If MOUNT_POINT is NULL, then the file system is not mounted, and this
|
||||
program reports on the file system that the special file is on.
|
||||
It would be better to report on the unmounted file system,
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 12:25:18 UTC 2012 - rmilasan@suse.com
|
||||
|
||||
- Update default posix version to 200112 (bnc#783352).
|
||||
Hide rootfs in df (df not using yet /proc/self/mountinfo).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 13:04:44 UTC 2012 - idonmez@suse.com
|
||||
|
||||
|
@ -82,6 +82,7 @@ Patch36: coreutils-basename_documentation.patch
|
||||
Patch37: coreutils-bnc#697897-setsid.patch
|
||||
Patch38: coreutils-cp-corrupt-fragmented-sparse.patch
|
||||
Patch39: coreutils-no_silent-rule.patch
|
||||
Patch40: coreutils-df-always-hide-rootfs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# this will create a cycle, broken up randomly - coreutils is just too core to have other
|
||||
# prerequires
|
||||
@ -129,6 +130,7 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes
|
||||
%if 0%{suse_version} < 1200
|
||||
%patch39
|
||||
%endif
|
||||
%patch40 -p1
|
||||
|
||||
xz -dc %{S:4} >po/de.po
|
||||
|
||||
@ -142,7 +144,7 @@ export CFLAGS="%optflags -Wall"
|
||||
--enable-install-program=arch,su \
|
||||
gl_cv_func_printf_directive_n=yes \
|
||||
gl_cv_func_isnanl_works=yes \
|
||||
DEFAULT_POSIX2_VERSION=199209
|
||||
DEFAULT_POSIX2_VERSION=200112 alternative=199209
|
||||
|
||||
make -C po update-po
|
||||
make %{?_smp_mflags} V=1
|
||||
|
Loading…
Reference in New Issue
Block a user