Takashi Iwai
6d5f1a9f23
- Move documents and license texts into the proper section - Remove spurious non-firmware files - Restructure the packaging for reducing the storage footprint (bsc#1143959): the firmware files are split into several subpackages, so that user doesn't need to install unnecessary files. Each package has supplements entries that are generated from the static list (that was created from the current and old TW kernel binaries). There is a catch-all package, kernel-firmware-all, and this provides/obsoletes the former kernel-firmware package. And each firmware file is compressed in XZ format for the new kernel (5.3 or later). For the systems with older kernels, we still provide the old'n'good kernel-firmware.rpm, containing everything in the raw format, too. This kernel-firmware.rpm will be obsoleted once when kernel-firmware-all above is installed. The build of both flavors are done in the multibuild. Without the flavor, the raw kernel-firmware.rpm and ucode-amd.rpm are built, while the new kernel firmware packages are built in "compressed" flavor (-M compressed). OBS-URL: https://build.opensuse.org/request/show/723804 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=266
18 lines
367 B
Python
18 lines
367 B
Python
#!/usr/bin/python3
|
|
#
|
|
# A program to update aliases.list from the given kernel binary rpms
|
|
#
|
|
# usage: update-aliases.py KERNEL-RPMs...
|
|
#
|
|
|
|
from sys import argv
|
|
from fwtopics import FWTopics
|
|
|
|
if __name__ == '__main__':
|
|
fw = FWTopics()
|
|
fw.read_aliases()
|
|
argv.pop(0)
|
|
for arg in argv:
|
|
fw.scan_firmware(arg, fw.update_alias())
|
|
fw.write_aliases()
|