commit: 6a3ecc5314d47dee5019e380dfd13877d2e5cd2b Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Jul 15 18:04:31 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Mon Jul 15 18:04:31 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=6a3ecc53
gen_initramfs.sh: copy_system_binaries(): Use "lddtree -l" Using "--list" parameter is not supported by app-misc/pax-utils[-python]. Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 973ed9e..42196c5 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -151,7 +151,7 @@ copy_system_binaries() { if [[ ${is_first} -eq 1 ]] then - # `lddtree --list` first line is always the binary itself + # `lddtree -l` first line is always the binary itself print_info 5 "Copying '${base_dir}/${binary_dependency_basename}' to '${destdir}/' ..." cp -aL "${base_dir}/${binary_dependency_basename}" "${destdir}/${binary_basename}" \ || gen_die "$(get_useful_function_stack)Failed to copy '${base_dir}/${binary_dependency_basename}' to '${destdir}'!" @@ -165,7 +165,7 @@ copy_system_binaries() { print_info 5 "Need to copy dependency '${base_dir}/${binary_dependency_basename}' ..." "${FUNCNAME}" "${destdir}" "${base_dir}/${binary_dependency_basename}" fi - done 3< <(lddtree --list "${binary}" 2>/dev/null) + done 3< <(lddtree -l "${binary}" 2>/dev/null) IFS="${GK_DEFAULT_IFS}" done }