Commit Graph

20 Commits

Author SHA1 Message Date
Steve McIntyre dcbf4ea088 make-firmware-image: Add a list file
to show what's included in the firmware archives
2023-02-20 12:29:05 +00:00
Cyril Brulebois 7eea34f26f make-firmware-image: fix missing Contents-firmware index (Closes: #1031598) 2023-02-19 03:56:45 +01:00
Steve McIntyre ecb6ec4a0a Tweak firmware-image build scripts
Add more debug to generate_firmware_patterns when called with -v
Make make-firmware-image more robust, I hope?
2023-02-09 17:44:28 +00:00
Cyril Brulebois 6118a758fd make-firmware-image: remove non-free from FIRMWARE_COMPONENTS
See previous commit for rationale.
2023-01-30 02:07:12 +01:00
Cyril Brulebois 95df8ab524 make-firmware-image: implement firmware/dep11 generation for bookworm and above
Mimic what make_disc_trees.pl does, making it possible for hw-detect to
spot not only the /firmware/dep11 directory in netinst images, but also
on installation images with firmware added manually.

Rename pseudo-option to clarify it returns filenames and indices.

Keep generation disabled for bullseye (as an extra safeguard, even if we
have separate, per-release branches anyway): That's helpful information
but bullseye is a stable release, and changing even unofficial material
might not be the best idea. Be cautious by default, it's easy enough to
enable if desired.
2023-01-26 23:22:40 +01:00
Cyril Brulebois a2c722b735 make-firmware-image: use generate_firmware_task to find firmware
Since that tool might be used without a caller that sources CONF.sh,
be explicit about the components in which firmware packages must be
searched:
 - use "main contrib non-free" for bullseye;
 - use "main non-free non-free-firmware" for bookworm and above.

non-free can go away once we have all we need in non-free-firmware.

Export some environment variables for generate_firmware_task (also
renaming SUITE to CODENAME).
2023-01-26 23:22:40 +01:00
Cyril Brulebois 14064e08a1 Replace all gzip -9 calls with pigz -9nm ones.
Some gzip calls have --no-name, which disables both the original name
and timestamp; use -n (disables original name) and -m (disables original
timestamp) for pigz, for all calls.
2023-01-23 19:30:35 +01:00
Steve McIntyre 41f1383b5c Stop producing MD5SUMS and SHA1SUMS files by default 2019-07-16 16:34:36 +01:00
Steve McIntyre a55bc64a77 Add support for archives without Packages.gz and Sources.gz
Try .xz files too
2016-11-15 09:06:41 +00:00
Steve McIntyre 5e1a7fbef1 Just checksum the firmware.* files 2015-10-07 16:28:19 +01:00
Steve McIntyre 8e9ec83d72 Checksum in the right dir 2015-10-07 16:06:58 +01:00
Steve McIntyre e5b9dee3b2 Create checksums for firmware images 2015-10-07 15:36:22 +01:00
Steve McIntyre 5365734804 Add firmware bundles in cpio.gz format too to help netboot users.
Thanks to Alex Owen for the patch, slightly tweaked.
2015-08-21 10:53:44 +01:00
Steve McIntyre 3ea05ce326 use grep-dctrl more efficiently 2011-06-10 16:18:30 +00:00
Steve McIntyre 1083496a49 Rewrite of core logic.
Rather than use the firmware task which gets out of date, look for
firmware/microcode files directly in the Packages file. Check for
things installing in /lib/firmware, and add those packages.
2011-06-10 13:26:30 +00:00
Steve McIntyre b33996bd64 new location for firmware task file 2011-06-10 12:52:38 +00:00
cd-builder user 897bc3af44 Fix invocation of cpp so that firmware-linux makes it into the firmware image 2009-08-18 22:52:02 +00:00
Steve McIntyre 50b9093086 Updated code. Parse tasks/firmware to get the list of firmware
packages wanted, then grab the package file names from the Packages.gz
files in the appropriate release.
2008-06-25 00:24:09 +00:00
Steve McIntyre 68b3e63cfa minor update 2008-06-23 21:57:37 +00:00
Steve McIntyre 3a29fb0a8b Initial cut of make-firmware-image, a simple script to create .tar.gz
and .zip files containing non-free firmware and microcode packages.
2008-06-23 21:55:36 +00:00