commit: 04f9b87d25598130f4e2c91b9040b5f8638a8824 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Jun 15 15:13:44 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Mon Jun 15 17:04:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=04f9b87d
gen_initramfs.sh: copy_system_binaries(): Don't check for non-existing linked libraries lddtree will always report "not found" when doing cross-compile. Because we will error out later nonetheless when copying will fail, we don't need such a check in advance. Closes: https://bugs.gentoo.org/727442 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index d055b24..46b924d 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -135,11 +135,6 @@ copy_system_binaries() { print_info 5 "System binary dirname set to '${base_dir}'." fi - if LC_ALL=C "${LDDTREE_COMMAND}" "${binary}" 2>&1 | fgrep -q 'not found' - then - gen_die "$(get_useful_function_stack)System binary '${binary}' is linked to missing libraries and may need to be re-built!" - fi - local is_first=1 while IFS= read -r -u 3 binary_dependency do
