strip intel media driver on install

The manually built iHD_drv_video.so was installed with full debug info, making it 513 MB in the image instead of 41 MB stripped. Installing with install/strip removes about 240 MB from the compressed amd64 image.
This commit is contained in:
Josh Hawkins
2026-11-08 13:11:28 -06:00
parent 52d469ed20
commit 400240a532
+1 -1
View File
@@ -45,4 +45,4 @@ cmake -S /tmp/media-driver -B /tmp/media-driver/build \
make -C /tmp/media-driver/build -j"$(nproc)"
# Install driver to rootfs for COPY --from
make -C /tmp/media-driver/build install DESTDIR=/rootfs
make -C /tmp/media-driver/build install/strip DESTDIR=/rootfs