Skip to content

Commit 8e2b8d3

Browse files
committed
chore(base): add scanelp
1 parent 59d9b8e commit 8e2b8d3

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

bullseye/rootfs/usr/bin/scanelp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
find $1 -type f -executable -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
2+
| tr ',' '\n' \
3+
| sort -u \
4+
| xargs -rt dpkg -S 2>/dev/null \
5+
| awk -F ": " '{print $1}' \
6+
| awk '!x[$0]++'

mkimage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ rootfs_chroot apt-get install -y --no-install-recommends \
3939
tini \
4040
curl \
4141
netbase \
42+
pax-utils \
4243
ca-certificates
4344

4445
# We have our own version of initctl, tell dpkg to not overwrite it.

0 commit comments

Comments
 (0)