mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-17 21:51:16 +01:00
stuff
This commit is contained in:
parent
fb25e776d8
commit
5a5c4e0df2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user