mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-08 22:53:01 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user