Skip to content

Commit 76ead05

Browse files
committed
fix(os): strip modules one file at a time
1 parent e1041cb commit 76ead05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

os/mkosi/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ build_one() {
3131
# Yocto splits module DWARF into debug packages which are not shipped in
3232
# the production image. Keep BTF and loadable ELF metadata, but do not put
3333
# hundreds of MiB of host-side DWARF into the immutable guest root.
34-
find "$kstage/usr/lib/modules" -type f -name '*.ko' -exec objcopy --strip-debug {} +
34+
find "$kstage/usr/lib/modules" -type f -name '*.ko' -exec objcopy --strip-debug {} \;
3535
fi
3636
# ExtraTrees is copied over Debian's usr-merged root where /bin, /sbin and
3737
# /lib are symlinks. Normalize build systems (notably OpenZFS) that install

0 commit comments

Comments
 (0)