From 5a5c4e0df22d16dedd5e4a54ca8c7670c3c40071 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 5 Feb 2026 18:14:04 +0100 Subject: [PATCH] stuff --- build_library/catalyst_toolchains.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_library/catalyst_toolchains.sh b/build_library/catalyst_toolchains.sh index b2ff1ff645..7637e2959e 100644 --- a/build_library/catalyst_toolchains.sh +++ b/build_library/catalyst_toolchains.sh @@ -38,13 +38,13 @@ build_target_toolchain() { # the dependency chain when building toolchain btt_emerge --oneshot --nodeps sys-apps/baselayout - # copy libraries from sysroot to root - sysroot seems to be + # copy libraries and binaries from sysroot to root - sysroot seems to be # split-usr, whereas root does not, so take this into account ( shopt -s nullglob local d f local -a files - for d in "${SYSROOT}"/lib* "${SYSROOT}"/usr/lib*; do + for d in "${SYSROOT}"/lib* "${SYSROOT}"/usr/lib* "${SYSROOT}"/{usr/,}{bin,sbin}; do if [[ ! -d ${d} ]]; then continue fi