Commit Graph

2585 Commits

Author SHA1 Message Date
Steve McIntyre 4f8c844f81 Look for firmware in /usr/lib/firmware as well as /lib/firmware
Closes: #1059858
2024-01-02 15:55:46 +00:00
Samuel Thibault b1f66d7191 Add hurd-amd64 case 2023-11-13 00:23:48 +01:00
Steve McIntyre bdc946f3d8 Copy new bookwork debian-edu artwork to trixie too 2023-10-13 09:08:25 +01:00
Steve McIntyre 24b0d345bd Add changelog entry for the edu artwork 2023-10-11 11:23:24 +01:00
Guido Berhoerster bc627313aa Update DebianEdu installer banner and syslinux splash image for bookworm
The artwork is based on debian-edu-artwork 2.12.3-1.

(cherry picked from commit a263149c5f)
2023-10-11 11:20:15 +01:00
Guido Berhoerster 0396cc708c Amend requirements 2023-10-11 07:44:07 +02:00
Steve McIntyre 2964b68565 Tweak image sizes for BD media
We used to have some arbitrary hard-coded sizes; tweak those to allow
for ~4% losses for spare sectors if people format media.
2023-07-12 17:56:35 +01:00
Steve McIntyre 25e6430341 *really* make runs of generate_firmware_task quieter 2023-07-06 16:06:47 +01:00
Steve McIntyre 5c9ec762bb Exclude firmware-ti-connectivity in trixie too 2023-07-06 09:18:25 +01:00
Steve McIntyre 6db7794511 Tweak firmware-filtering - remove firmware-ti-connectivity on !arm 2023-07-05 17:04:20 +01:00
Steve McIntyre b4265d6078 Tweak ordering of firmware package checks
Let's minimise repeat logging of ignores
2023-07-04 18:11:38 +01:00
Steve McIntyre 00ea28267d Extend exclude-file handling
Now take a colon-separated list to allow for more than one to be
used. And refactor to reduce repetition.
2023-07-04 17:14:04 +01:00
Steve McIntyre 1824a66933 Add a way to exclude named firmware packages from media
So we can control which packages are included - see
tasks/$codename/firmware-exclude
2023-07-04 17:14:00 +01:00
Steve McIntyre b21326bc12 Remove old data and config for jessie and stretch 2023-06-12 08:39:56 +01:00
Steve McIntyre 2582ea9495 Start trixie development
Copy the bookworm dirs to trixie as a start
2023-06-12 08:37:20 +01:00
Cyril Brulebois 5843f48efe update-cd: adjust MKISOFS definition and usage.
This matches changes that already happened in the buildd/bullseye
branch.
2023-06-08 16:18:42 +02:00
Cyril Brulebois f9cd3f436f update-cd: drop support for bittorrent.
This matches changes that already happened in the buildd/bullseye
branch.
2023-06-08 16:17:17 +02:00
Cyril Brulebois ee4d6cb1d4 update-cd: bump codename to bookworm and version to 12.1.0
Also point to the r0-r1.diff, ready for the first point release!
2023-06-08 16:15:52 +02:00
Cyril Brulebois c1312811c7 update-cd: stop setting REL.
No longer useful, since 94e83b3913.
2023-06-08 16:13:05 +02:00
Cyril Brulebois 1bf32ce6a6 generate_firmware_patterns: refresh firmware-sof-signed metadata
There were no changes, but let's record this was checked right before
the release!
2023-06-07 16:01:51 +02:00
Cyril Brulebois 9d858acb1e releasing version 3.2.1 2023-04-30 18:11:28 +02:00
Cyril Brulebois b23ca3c198 tools/generate_di+k_list: Add zstd alongside initramfs-tools and busybox.
It's now getting installed by base-installer (starting with 1.212).
2023-04-27 18:25:41 +02:00
Steve McIntyre 5e2ad85ee7 Fix syntax error 2023-03-30 10:10:33 +01:00
Steve McIntyre 20dd2183d2 Remove long-dead docs reference to need-complete-mirror 2023-03-26 23:10:17 +01:00
Steve McIntyre ae8cf8b946 Kill loadlin and the /tools dir 2023-03-26 23:10:03 +01:00
Steve McIntyre def9376769 link.pl: make failures fatal
Don't just log things, we should stop hard...
2023-03-12 18:44:18 +00:00
Steve McIntyre da2e501700 Add a changelog entry for the hardlink change 2023-03-12 18:43:56 +00:00
James Addison d2d51c9179 firmware: use hard links rather than symlinks
When creating on-disc firmware links, use the same link creation logic as archive-area links

Closes #1031696
2023-03-12 18:39:40 +00:00
Cyril Brulebois 5aebb6794a releasing version 3.2.0 2023-02-24 17:04:20 +01:00
Steve McIntyre feb344b3c2 Add iucode-tool to the list of base packages wanted for amd64/i386
so we will have it available for installing CPU microcode.
2023-02-23 23:51:28 +00:00
Steve McIntyre 7131e37390 Add new config option DISABLE_UEFI_32 to control mixed-mode EFI
on x86 builds. Closes: #1031424
2023-02-23 21:46:37 +00:00
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 aebf4f0556 make_disc_trees.pl: fix generation of Contents-firmware
The regexp didn't match symlinks in .deb files, let's fix that
2023-02-18 23:33:02 +00:00
Steve McIntyre c5ff679857 Fix noisy error in make_disc_trees.pl
firmware/dep11 only exists on the first image, so don't run
md5_files_for_md5sum on it if doesn't exist
2023-02-18 22:12:42 +00: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
Steve McIntyre 80f7fa39ff Don't break on CD 2 onwards
The $base_components file only matters on disc 1, so check it exists
before trying to do stuff with it.
2023-02-09 01:40:33 +00:00
Cyril Brulebois d7796845f4 Document recent changes. 2023-02-08 12:22:51 +01: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 3d879d5e46 CONF.sh: remove non-free from NONFREE_COMPONENTS
Almost all packages initially identified as interesting for us[1] have
been moved to non-free-firmware. An updated list of packages has been
published[2], which can be summed up this way:
 - amd64-microcode and intel-microcode would require specific code
   anyway (#1029804);
 - zd1211-firmware shows inconsistencies (archive vs. repository).

 1. https://lists.debian.org/debian-boot/2023/01/msg00150.html
 2. https://lists.debian.org/debian-boot/2023/01/msg00235.html

Therefore, stop looking for non-free firmware packages in non-free,
and concentrate on non-free-firmware only.
2023-01-30 02:01:12 +01:00
Samuel Thibault d94e9eb5b7 Fix missing %install% replacements
E.g. the ontimeout line of spkgtk.cfg includes both the kernel and initrd
paths on the same line, so need several %install% replacements.
2023-01-29 22:05:56 +01:00
Cyril Brulebois 492b085305 make_disc_trees.pl: move local vs. base_components safeguard
We have two safeguards related to the local component now, one if it's
present, one if it's absent: group them via if-then-else.
2023-01-27 07:38:40 +01:00
Cyril Brulebois 2e61e76d86 generate_firmware_task: prettify output
Use a format string to align both columns (Package and Filename fields).
2023-01-27 07:38:40 +01:00
Cyril Brulebois d415c60a12 generate_firmware_patterns: prettify output
Use format strings to align all entries (%4d entries).

Use standard double-space indentation found almost everywhere else.
2023-01-27 07:38:40 +01:00
Cyril Brulebois 59978789f0 apt-selection: order contrib before non-free*
Components are ordered “main contrib non-free” almost everywhere, let's
use the standard order here too. There should be no functional changes.

Note: This controls the sources.list file used during the build, but
doesn't control “deb cdrom:” lines in sources.list during or after
installation, which are the result of running apt-cdrom (which sorts
components alphabetically, see its pkgCdrom::ReduceSourcelist function).
2023-01-27 07:38:40 +01:00
Cyril Brulebois ccaa1a9c69 Merge branch 'clarify-fix-improve-support-for-local-packages'
WARNING: This is an attempt at making it easier for users to enable
support for local packages. This branch is really believed to make
the whole situation easier and clearer on the long run, but it might
introduce some regressions, or at least behavorial changes depending
on existing configurations.

In particular, users might have a hierarchy under LOCALDEBS that's
different from the one getting documented in eb6d140f48, possibly with
a top-level local/ (see also bfebeded70 and 7ce8d0c28f).

It's advised to move files around to match the documented layout, and
to report any regressions that would be spotted: many tests where run,
trying to torture this patch series as much as possible, imagining
borderline cases, but in the end, that's not a feature that's getting
fully battle-tested since it's obviously not used for official builds.
2023-01-27 05:27:02 +01:00
Cyril Brulebois 7ce8d0c28f start_new_disc: remove /dists/local commodity symlink
When local packages are enabled (LOCAL=1), various things happen in the
target /dists directory. One of them is the creation of a /dists/local
symlink, pointing to (/dists/)<CODENAME>. This leads to a very confusing
situation, where “local” is initially about a component, but effectively
ends up looking like a distribution.

It is theoretically possible that cleaning this up might require some
follow-up fixes in other tools, but even that would be better than
keeping bear traps around.
2023-01-27 05:24:03 +01:00
Cyril Brulebois ae8490ba70 make_disc_trees.pl: rewrite base_components if needed
It's possible to set LOCAL=1 to enable support for local packages, which
automatically results in “local” being listed in /.disk/base_components,
which is used to build the --components parameter for debootstrap.

Users might have various sets of *.deb and/or *.udebs, be it over time,
or for various codenames, and it's possible for /dists/<CODENAME>/local
to be entirely missing in the generated image.

In this case, /.disk/base_components must not contain “local”, as that
would break debootstrap; this commit detects and fixes this possible
inconsistency.
2023-01-27 05:24:03 +01:00
Cyril Brulebois c24949141b Packages-gen: write compressed Packages indices again
This is a regression introduced while trying to catch up with apt's
expectations, in 2183089968c04c4765d2119d176e021431b26353: iterating over
Packages files is done by running the “zcat” utility on Packages.gz and
Packages.xz; replacing Packages.gz with an uncompressed Packages broke
iterating over Packages files referencing udebs.
2023-01-27 05:24:03 +01:00
Cyril Brulebois bfebeded70 make_disc_trees.pl: merge “local” udebs into “main” explicitly
This might have worked by accident depending on the exact layout under the
LOCALDEBS directory (see previous commit for the big picture).

Let's focus on where input files for d-i should be stored:

    <LOCALDEBS>/dists/<CODENAME>/local/debian-installer/binary-amd64/*.udeb

Those *.udeb end up being stored under the “local” component[1] (making it
clear they're not from usual components on a Debian mirror), but they are
referenced in Packages for the “main” component[2], possibly replacing a
different version found in the archive.

    /dists/<CODENAME>/local/debian-installer/binary-<ARCH>/*.udeb  [1]
    /dists/<CODENAME>/main/debian-installer/binary-<ARCH>/Packages [2]

This makes it possible for d-i to find those *.udeb automatically, as it
uses a single Packages file.
2023-01-27 05:24:03 +01:00