From 3a2b5420c965d86ea5861036adde8bdcdb8fb471 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 31 Mar 2023 00:30:13 -0500 Subject: system/coreutils: Update to 9.2 Fixes: #787 --- system/coreutils/test-df-symlink-bindmount.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/coreutils/test-df-symlink-bindmount.patch') diff --git a/system/coreutils/test-df-symlink-bindmount.patch b/system/coreutils/test-df-symlink-bindmount.patch index de5cdfb02..cd44c9066 100644 --- a/system/coreutils/test-df-symlink-bindmount.patch +++ b/system/coreutils/test-df-symlink-bindmount.patch @@ -6,6 +6,6 @@ # source and target. This excludes for example BTRFS sub-volumes. -if test "$(df --output=source | grep -F "$file_system" | wc -l)" = 1; then +if test "$(df --all --output=source | grep -F "$file_system" | wc -l)" = 1; then - df --out=source,target '.' > out || fail=1 - compare exp out || fail=1 - fi + # Restrict to systems with a single file system root (and have findmnt(1)) + if test "$(findmnt -nro FSROOT | uniq | wc -l)" = 1; then + df --out=source,target '.' > out || fail=1 -- cgit v1.2.3-60-g2f50