Skip to content

Commit b0d985c

Browse files
committed
fwk/gh-actions: run ldd in chroot
BUG=It's not very useful to run outside of the chroot where it cannot find all the libraries. BRANCH=fwk-main TEST=ldd on gh actions show and finds all libraries TEST=Check that ldd can find all dynamic libraries Signed-off-by: Daniel Schaefer <dhs@frame.work> (cherry picked from commit e01bc1a)
1 parent cbbbec6 commit b0d985c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/zephyr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Package dynamic libs with util (enough to run ectool)
109109
run: |
110110
# Check which libraries it links to
111-
ldd src/platform/ec/build/host/util/ectool
111+
cros_sdk bash -c 'ldd ../platform/ec/build/host/util/ectool'
112112
# Copy libraries to util folder so we can run it with
113113
# sudo LD_LIBRARY_PATH=. ./ectool
114114
cp chroot/usr/lib64/libec.so src/platform/ec/build/host/util/

0 commit comments

Comments
 (0)