Files
linuxkit/pkg/firmware
Rolf Neugebauer 5301dbf352 pkg/firmware: Disable firmware packages for s390x
Reduce the number of packages to build for s390x. Firmware
is only used for physical devices, so disable it for s390x
where we mostly run in virtual machines.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
..

The firmware package contains updated firmware files required by any driver compiled as a module. Based on the modules included in a recent LinuxKit kernel, copy the required firmware binaries as reported by 'modinfo'. We deliberately do not pick the latest version here to prevent it being updated on kernel updates. Firmware revisions do not change very often and we expect older and newer kernels to work with a range of firmware binaries.

Note: The current mechanism only handles firmware blobs required by modules and ignores firmware blobs required by drivers compiled into the kernel. However, with the LinuxKit kernels we typically compile all hardware drivers as modules.