Skip to content

Commit a0d97fc

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 <[email protected]> (cherry picked from commit e01bc1aac3c8e2b7b00a546898b507ce64ec2bf2)
1 parent 2cda6e0 commit a0d97fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/zephyr-build.yml

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

0 commit comments

Comments
 (0)