diff options
author | 2020-06-15 17:13:44 +0200 | |
---|---|---|
committer | 2020-06-15 19:04:01 +0200 | |
commit | 04f9b87d25598130f4e2c91b9040b5f8638a8824 (patch) | |
tree | 19df42839c606b16d05a35c5b3e3f0276949f6b1 /gen_initramfs.sh | |
parent | genkernel: bump to v4.0.8 (diff) | |
download | genkernel-04f9b87d25598130f4e2c91b9040b5f8638a8824.tar.gz genkernel-04f9b87d25598130f4e2c91b9040b5f8638a8824.tar.bz2 genkernel-04f9b87d25598130f4e2c91b9040b5f8638a8824.zip |
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@gentoo.org>
Diffstat (limited to 'gen_initramfs.sh')
-rwxr-xr-x | gen_initramfs.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh index d055b249..46b924d1 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 |