File bsc1227391-typo-fix.patch of Package rear27a.35563
From d6b82dff392db9b3fffa16f2ad7d3d53344a361e Mon Sep 17 00:00:00 2001
From: Johannes Meixner <jsmeix@suse.com>
Date: Wed, 19 Jun 2024 07:18:28 +0200
Subject: [PATCH] Update 990_verify_rootfs.sh
In 990_verify_rootfs.sh typo fix in unser messsages:
"were 'ldd' shows 'not found'" -> "where 'ldd' shows 'not found'"
see https://github.com/rear/rear/pull/3250#issuecomment-2176261486
---
usr/share/rear/build/default/990_verify_rootfs.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: rear-2.7/usr/share/rear/build/default/990_verify_rootfs.sh
===================================================================
--- rear-2.7.orig/usr/share/rear/build/default/990_verify_rootfs.sh
+++ rear-2.7/usr/share/rear/build/default/990_verify_rootfs.sh
@@ -188,17 +188,17 @@ for binary in $( find $ROOTFS_DIR -type
if test "$NON_FATAL_BINARIES_WITH_MISSING_LIBRARY" ; then
# A program with missing library is treated as fatal when it does not match the pattern:
if grep -E -q "$NON_FATAL_BINARIES_WITH_MISSING_LIBRARY" <<<"$binary" ; then
- LogPrint "$binary requires libraries were 'ldd' shows 'not found' (specified as non-fatal)"
+ LogPrint "$binary requires libraries where 'ldd' shows 'not found' (specified as non-fatal)"
else
- LogPrint "$binary requires libraries were 'ldd' shows 'not found' (fatal error)"
+ LogPrint "$binary requires libraries where 'ldd' shows 'not found' (fatal error)"
fatal_missing_library="yes"
fi
else
- LogPrint "$binary requires libraries were 'ldd' shows 'not found' (fatal by default)"
+ LogPrint "$binary requires libraries where 'ldd' shows 'not found' (fatal by default)"
fatal_missing_library="yes"
fi
else
- LogPrint "$binary requires libraries were 'ldd' shows 'not found'"
+ LogPrint "$binary requires libraries where 'ldd' shows 'not found'"
fi
# Run the same ldd call as above but now keep its whole stdout output.
# The ldd call that results the final 'not found' shared object is the last of the above ldd calls that was run.