Commit Graph

2507 Commits

Author SHA1 Message Date
Cyril Brulebois 4fbca52c5e generate_firmware_task: restrict components according to NONFREE_COMPONENTS
Firmware packages in contrib are usually downloaders (e.g. b43-installer
and b43legacy-installer, which require networking).

Regarding non-free, we've started populating non-free-firmware with
interesting firmware packages[1], and those remaining in non-free don't
need to end up on installation images.

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

At the moment, NON_FREE_COMPONENTS still has both non-free and
non-free-firmware, but the plan is to only keep non-free-firmware for
bookworm.

[ Best viewed with -b due to indentation changes. ]
2023-01-20 17:27:15 +01:00
Cyril Brulebois a2378ed25d make_disc_trees: create /firmware before adding symlinks there
Otherwise it would only be created after failing to create the first symlink.
See previous commit.
2023-01-20 16:48:55 +01:00
Cyril Brulebois b1cb4c43c2 make_disc_trees: error out if firmware symlink creation fails
Otherwise failures would go unnoticed, logs would pretend firmware-b43-installer
(the first firmware package getting processed) is indeed installed there while
it's not. See next commit.
2023-01-20 16:48:55 +01:00
Cyril Brulebois 47ae1a293b Add uuid-runtime to Depends.
That's needed for uuidgen, added in 6d1fdf2446.
2023-01-19 18:16:20 +01:00
Cyril Brulebois 5aa89ab269 Add leading / to paths in Contents-firmware indices.
With this change, hw-detect's check-missing-firmware.sh can use grep -f
with a file listing absolute paths to required firmware files.
2023-01-18 22:43:25 +01:00
Cyril Brulebois 81baccabbf Refresh references in comments. 2023-01-18 22:07:26 +01:00
Cyril Brulebois 51bf02a44c Avoid duplicates. 2023-01-18 21:59:31 +01:00
Cyril Brulebois 80d19dcb42 Refresh @sof_aliases for unstable.
Bump to the current linux-image ABI in unstable, and look at
snd-soc-*-sof modules in addition to the snd-soc-sof ones.
2023-01-18 21:46:54 +01:00
Cyril Brulebois fb2eac45eb Refresh @sof_aliases for bullseye.
Update comments:
 - Bump linux-image package to the latest found in bullseye.
 - Include snd-soc-sof.*\.ko in the lookup.
 - Delete the TODO: the list was built using snd-soc-sof*.ko already,
   since a80f013b57.
2023-01-18 21:45:41 +01:00
Cyril Brulebois 139041f332 Reindent without mixing tabs and spaces.
No functional changes.
2023-01-18 21:25:50 +01:00
Cyril Brulebois 723fdc9ee8 Delete TODO.
It was addressed in 897bf4754d.
2023-01-18 21:17:44 +01:00
Holger Levsen e3eccce114 release as 3.1.36
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2023-01-15 13:14:04 +01:00
Holger Levsen de9eb1226c Update standards version to 4.6.2, no changes needed.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2023-01-14 14:16:23 +01:00
Steve McIntyre f67691f2a5 Add grub-efi-ia32* to the amd64 package list
More work to support mixed-mode EFI systems
2022-12-29 20:49:56 +00:00
Steve McIntyre beccc326ca Drop verbosity 2022-12-29 04:02:20 +00:00
Steve McIntyre bba0f2116c Stop adding win32-loader stuff, it's dead 2022-12-29 03:57:01 +00:00
Steve McIntyre 8a8e623819 Add 32-bit EFI binaries to all amd64 images too
so we no longer need a multi-arch image for Bay Trail etc.
2022-12-29 03:54:45 +00:00
Steve McIntyre 2ef9e57ec0 Tweak the uuid search setup
Not all arches may have a grub.cfg, it seems. Don't fail there.
2022-11-28 10:24:00 +00:00
Steve McIntyre d99baf29c5 Backport the UUID grub fix to bullseye too 2022-11-26 01:45:49 +00:00
Steve McIntyre 6d1fdf2446 Change how we find the installer when booting via grub-efi
instead of looking for the .disk/info file, use .disk/id/$UUID
instead. Closes: #1024346, #1024720.
2022-11-26 01:45:26 +00:00
Janitor b97abf735f Fix some issues reported by lintian 2022-10-22 17:38:47 +00:00
Steve McIntyre 32291d88a3 Add a Contents-firmware file
to help with looking up firmware packages in d-i
2022-10-09 01:44:37 +01:00
Steve McIntyre e57aa6fa72 Add non-free-firmware support
List the desired non-free sections to use in NONFREE_COMPONENTS in
CONF.sh, default to "non-free non-free-firmware" by default until
things are all migrated.
2022-10-08 17:48:59 +01:00
Steve McIntyre 8c52820262 Be more verbose when leaving packages out due to size limits 2022-10-07 15:55:12 +01:00
Raphaël Hertzog 805b36d16b Remove tools/sort_deps_edu
Its only purpose was to try to implement the recursive lookup that got
implemented in ca9ac8deac
2022-08-09 19:39:46 +02:00
Raphaël Hertzog e77ade6033 Remove dead code in sort_deps and improve log messages
The dependency tree created by parsing the output of "apt-cache depends" always
generates an array of array. The old representation of a simple dependency as
an hash is gone in favor of an OR with a single entry (so the hash is the only
element within the array).

So all the code in add_missing() that was dealing with the case of the hash
was never triggered.

I tweaked the OR case so that the generated log messages actually
mention "OR" only if it's a true OR dependency (i.e. with multiple
entries in the array).
2022-08-09 19:39:15 +02:00
Raphaël Hertzog ca9ac8deac Implement recursive lookup of Recommends and Suggests
Everywhere where we call add_missing() on Depends, we must do it also
on Recommends and Suggests based on $add_rec and $add_sug.

Tweak the code that is supposed to stop the recursion to use
the list that we have built but don't be strict about version
constraints on Recommends/Suggests since they can't always
be respected.

Closes: #601203
2022-08-09 19:37:48 +02:00
Steve McIntyre 3a13ddb48a Revert "Implement recursive lookup of Recommends and Suggests"
This reverts commit 8513b237af.

This change doesn't seem ready yet - running a weekly build failed
with massive memory usage.
2022-08-08 20:23:13 +01:00
Steve McIntyre 8c86a9b3ed Revert "Remove tools/sort_deps_edu"
This reverts commit cc4e1fa450.
2022-08-08 20:22:44 +01:00
Steve McIntyre bb10a80445 Tweak grub boot menu highlight graphics to work again
Wwitch from greyscale to colour, as newer grub has removed greyscale
PNG support.. Closes: #1013079, #1013432.
2022-08-07 01:09:57 +01:00
Raphaël Hertzog cc4e1fa450
Remove tools/sort_deps_edu
Its only purpose was to try to implement the recursive lookup that got
implemented in 8513b237af.
2022-08-05 09:52:58 +02:00
Raphaël Hertzog 8513b237af
Implement recursive lookup of Recommends and Suggests
Everywhere where we call add_missing() on Depends, we must do it also
on Recommends and Suggests based on $add_rec and $add_sug.

Closes: #601203
2022-08-05 09:36:17 +02:00
Raphaël Hertzog c9489cd926
Turn $add_rec and $add_sug into globals
There's no point in passing them as parameters everywhere.

This changes the behaviour in some places:

1/ When we process the non-explicitly included packages (for COMPLETE=1),
we used to never take Recommends/Suggests into account, now we do. But
the only thing that will be changed is the ordering with some
Recommended packages being included before their depending package.

2/ When we process the EXTRANONFREE image, this one was always including
Recommends and Suggests, and it's now respecting the setting too.
2022-08-05 09:13:44 +02:00
Raphaël Hertzog bbeab52f9a
Fix install_firmwares_initrd to not fail when the firmware is not found. 2022-08-05 09:12:54 +02:00
John Paul Adrian Glaubitz af49fe7832 Remove leftover files of silo bootloader on sparc64 2022-04-25 09:43:23 +02:00
John Paul Adrian Glaubitz 9de43f43e2 Remove leftover files of silo bootloader on sparc 2022-04-25 09:42:25 +02:00
Samuel Thibault df397c004b People should really be using apt instead of apt-get 2022-04-12 09:56:44 +02:00
Samuel Thibault daa1af93d0 On firmware images, include the sound firmwares
in the espeakup-enabled initrd itself. Closes: #992699
2022-02-14 18:31:18 +01:00
bauen1 465f9c335b pass --invariant and -i deb00001 to mkfs.msdos
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2022-02-14 11:34:32 +01:00
bauen1 65196d4dcf Avoid embedding timestamps into gzipped Packages and Translations files.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2022-02-14 11:34:13 +01:00
Steve McIntyre 6b61e01f15 Try to remove dirs when rolling back 2021-12-06 23:50:22 +00:00
Wolfgang Schweer a35ad1b9dc
tasks/sid: Replace bullseye with bookworm
Signed-off-by: Wolfgang Schweer <wschweer@arcor.de>
2021-09-29 16:19:19 +02:00
Steve McIntyre cb14a9f29b Also update the code layout, sid->bookworm 2021-09-22 21:38:42 +01:00
Steve McIntyre 05a54460d5 Update default config in various places post-bullseye
Closes: #994121
2021-09-22 21:34:33 +01:00
Wolfgang Schweer fa562c6b07
data/bookworm: Use Debian Edu 12 installer logo and syslinux splash image
from src:debian-edu-artwork 2.12.0.1-1 (showing version number 12)

Signed-off-by: Wolfgang Schweer <wschweer@arcor.de>
2021-09-06 12:22:44 +02:00
Raphaël Hertzog 8d2bd4aa2e
Add cryptsetup-initramfs to tools/generate_di+k_list
It's required by debian-installer and cryptsetup >= 2.4.0 no longer
recommends it, so it ends up missing in the netinst image.

base-installer then fails to honor the apt-setup request and the
resulting system is unbootable because the initramfs doesn't contain
anything to unlock the encrypted partitions. :-(
2021-08-27 19:12:02 +02:00
Cyril Brulebois 897bf4754d generate_firmware_patterns: Drop support for the temporary --test option. 2021-08-22 16:17:41 +02:00
Steve McIntyre 5e3dec1796 Use $CODENAME/updates for security pre-bullseye
or $CODENAME-security for bullseye onwards.
2021-08-15 11:48:46 +01:00
Steve McIntyre 8ff621fcb6 Start bookworm development
Copy the bullseye dirs to bookworm as a start
2021-08-14 22:45:15 +01:00
Cyril Brulebois 62ab792b3f Fix typo. 2021-08-02 07:48:03 +02:00