Commit Graph

1321 Commits

Author SHA1 Message Date
Steve McIntyre d2af2457ba make_image: unbreak parallel calls to make_image
Argh, broke this earlier when tweaking for image count
2024-03-09 15:57:35 +00:00
Steve McIntyre f5c702c45c make_disc_trees.pl: Fix $disknum handling for incomplete sets 2024-02-28 00:48:10 +00:00
Steve McIntyre 1d11337b0c Try again to fix the TOTALNUM issue
We can't do it in make_image, as that may end up running in
parallel. Instead, do the update of TOTALNUM at the end of
make_disc_trees.pl.

(cherry picked from commit c7cc669655)
2024-02-27 21:39:35 +00:00
Steve McIntyre 905cd2feca make_image: really fix the TOTANUM issue
(cherry picked from commit ae89572871)
2024-02-27 21:37:28 +00:00
Steve McIntyre 884b7d8912 Fix counting of images at build time
Closes: #1063858
(cherry picked from commit 64c59791cf)
2024-02-27 21:37:25 +00:00
Cyril Brulebois f21db528af Delete duplicates. 2023-01-18 21:59:10 +01:00
Cyril Brulebois d414a2456e 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.

(cherry picked from commit fb2eac45eb)
2023-01-18 21:50:01 +01:00
Cyril Brulebois e5405490f4 Reindent without mixing tabs and spaces.
No functional changes.

(cherry picked from commit 139041f332)
2023-01-18 21:50:00 +01:00
Steve McIntyre 7960fd976e Use $CODENAME/updates for security pre-bullseye
or $CODENAME-security for bullseye onwards.

Backported from master
2021-08-15 11:52:14 +01:00
Cyril Brulebois a80f013b57 Include more modules, under kernel/sound/soc/intel/boards
As suggested by Ben Hutchings in:
  https://salsa.debian.org/kernel-team/firmware-nonfree/-/merge_requests/19

[ Best viewed with -b due to initial indentation inconsistency before
reimporting the updated list of aliases. ]
2021-07-25 23:06:47 +02:00
Steve McIntyre 4d4399012d Add support for creating firmware patterns at build time
Using the new generate_firmware_patterns script, generate a patterns
file in /firmware/dep11/<package>.patterns as we add a firmware
package onto media.

Deal with size changes as these are added/removed, and add them to the
md5sum.txt file on media too.
2021-07-25 18:26:15 +01:00
Steve McIntyre f7e973a181 Add a --package option to limit output to one specified package name 2021-07-25 18:26:11 +01:00
Steve McIntyre 047ec2b360 Fix up firmware package rollback
If we removed a firmware package, also remove the link in /firmware
2021-07-25 18:26:08 +01:00
Cyril Brulebois 235ffb75c9 Add a note regarding other intel sof modules. 2021-07-25 08:46:32 +02:00
Cyril Brulebois 8e4fa300d8 Add a reminder about firmware-sof-signed (if --verbose was passed). 2021-07-25 08:40:49 +02:00
Cyril Brulebois 27f8524d0a Hardcode aliases from firmware-sof-signed.
The source code doesn't use the MODULE_FIRMWARE() macro so the machinery
implemented in src:firmware-nonfree wouldn't help. Extract alias info
manually once, and make note to keep an eye on further updates (e.g. via
a crontab on d-i.debian.org).
2021-07-25 08:40:43 +02:00
Cyril Brulebois c980454172 Extract alias formatting for later reuse. 2021-07-25 08:36:28 +02:00
Cyril Brulebois 91508a24c9 Keep track of all firmware packages found. 2021-07-25 08:16:44 +02:00
Cyril Brulebois c9f7df2963 Move main part to the bottom, it's getting extended. 2021-07-25 08:11:58 +02:00
Cyril Brulebois dae7be7662 Add small README.txt alongside .patterns files. 2021-07-25 07:32:30 +02:00
Cyril Brulebois a726d0df83 Update comments. 2021-07-25 07:20:53 +02:00
Cyril Brulebois 76fc95f307 Generate .patterns (plural) files. 2021-07-25 07:20:53 +02:00
Cyril Brulebois 9d570ad032 Implement support for --test option.
At the moment, there's no package with Type == firmware in the archive,
so --test lets us toy without that filter, finding a bunch of packages.
2021-07-25 07:20:53 +02:00
Cyril Brulebois 18e27f6e08 Implement support for --output-dir 2021-07-25 07:20:53 +02:00
Cyril Brulebois 21509942d1 Prepare support for command line options.
Implement --verbose directly.
2021-07-25 07:20:53 +02:00
Cyril Brulebois ff8ef160ea Add generate_firmware_patterns script and dependencies (see: #989863). 2021-07-25 07:20:30 +02:00
Steve McIntyre 221d702284 Add brltty and espeakup to all images from netinst up 2021-05-16 15:37:38 +01:00
Steve McIntyre da120b29d9 Shorten "ppc64el" to "p64el" in the volume ID
The bullseye d-i RC1 build failed as the volume ID was too long
2021-04-15 21:14:09 +01:00
Wolfgang Schweer 5abcc48f75 tools/boot/*/boot-x86: Prevent custom splash images from being modified
The related code seems to have been useful a long time ago (the need to use
  an RLE file and to reduce the number of colours to 16 has been dropped as of
  syslinux version 3.62). So replace obsolete code with a simple cp command.

Signed-off-by: Wolfgang Schweer <wschweer@arcor.de>
2021-02-24 16:51:54 +00:00
Samuel Thibault 5e606aa1ed Allow archive tree to contain symlinks
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2021-02-20 01:31:15 +01:00
Samuel Thibault 7da3ab7110 Add missing checksum grab for unreleased
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2021-02-19 23:57:16 +01:00
Samuel Thibault 49d60b38b4 Allow archive tree to contain symlinks
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2021-02-19 20:33:55 +01:00
Holger Levsen 9c8fc62807 make_disc_trees: create Packages files for local/debian-installer. Closes: #523017
tools/make_disc_trees.pl: Apply patch by Daniel Dickinson to create Packages
files for local/debian-installer. Closes: #523017

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2021-02-03 17:36:13 +01:00
Holger Levsen 0985d5342b start_new_disc: include local Release file for debian-installer. Closes: #968671
tools/start_new_disc: Apply patch by JH Chatenet to include local Release file
for debian-installer. Closes: #968671

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2021-02-03 17:26:54 +01:00
Holger Levsen 21d6617f0f which_deb: fix typo breaking local Packages.xz Closes: #968668
tools/which_deb: Apply patch by JH Chatenet to fix problems with local
xz compressed Packages files. Closes: #968668

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2021-02-03 17:13:18 +01:00
Samuel Thibault d21568c454 Make tools/start_new_disc also cleanup SHA512 checksums. 2021-01-18 14:25:36 +00:00
Steve McIntyre 966016c495 Be more explicit if DISKTYPE is not specified, or unrecognised 2021-01-16 22:32:48 +00:00
Steve McIntyre 34b8379db4 Fix sed delimiters in various scripts
Found by Steev - "," is not a safe delimiter to use in various
places. Switch to "|" instead.
2021-01-16 15:27:03 +00:00
Steve McIntyre c7dcd37aec When compressing translations, remove the uncompressed version
It may cause build problems later if we keep it around
2020-12-15 11:44:56 +00:00
Steve McIntyre a3b79dbe84 Cope with different issues found in testing the code for ABI udebs
Deal with various edge cases
2020-09-27 02:14:05 +01:00
Steve McIntyre c0634821b1 Only include kernel udebs for the highest ABI we know about
Don't waste space on installation media with older udebs from the
archive that have been kept around for other users.
2020-09-27 01:14:46 +01:00
Steve McIntyre a5f0edc39d Make update_popcon deal with lower-case http headers too 2020-08-01 12:43:25 +01:00
Steve McIntyre fdf9f6739f Enable graphical installer for arm64
Shift the extra_image helper function from boot-x86 to common.sh to
help.
Call extra_image with || true for now on boot-arm64 so we don't fail
builds straight away. Remove that || true later once we're happy
things work.
2020-04-20 18:23:45 +01:00
Wolfgang Schweer 772a0df3ea Adjust Debian Edu list of packages.
tasks/bullseye/Debian-edu-full: Add LTSP setup related dnsmasq package.
tools/generate_debian-edu_task: No longer exclude Cinnamon desktop environment.

Signed-off-by: Wolfgang Schweer <wschweer@arcor.de>
2020-04-08 01:35:59 +02:00
Raphaël Hertzog 7ea13858fb Don't allow udebs to satisfy dependencies of regular debs
I was just bitten by this problem in Kali where the ISO was not
containing the expected packages because tools/sort_deps was accepting
"xserver-xorg-input-libinput-udeb" as a solution to
"xserver-xorg-input-all | xserver-xorg-input-driver" and the
udeb was among the package already selected for inclusion on the
ISO.

With this change, tools/sort_deps will look for udeb to solve
udeb dependencies and it will look for non-udeb to solve non-udeb
dependencies.

FTR, here's the sort_deps.log extract proving my assertion:

    xserver-xorg Dep: (OR xserver-xorg-input-all xorgxrdp xserver-xorg-input-aiptek xserver-xorg-input-elographics xserver-xorg-input-evdev xserver-xorg-input-evdev-udeb xserver-xorg-input-joystick xserver-xorg-input-kbd xserver-xorg-input-libinput xserver-xorg-input-libinput-udeb xserver-xorg-input-mouse xserver-xorg-input-mtrack xserver-xorg-input-multitouch xserver-xorg-input-mutouch xserver-xorg-input-synaptics xserver-xorg-input-void xserver-xorg-input-wacom xserver-xorg-input-xwiimote ) soft_depend 1
    xserver-xorg-input-all not included in a useful version, check_backports 0
    xorgxrdp not included in a useful version, check_backports 0
    xserver-xorg-input-aiptek not included in a useful version, check_backports 0
    xserver-xorg-input-elographics not included in a useful version, check_backports 0
    xserver-xorg-input-evdev not included in a useful version, check_backports 0
    xserver-xorg-input-evdev-udeb not included in a useful version, check_backports 0
    xserver-xorg-input-joystick not included in a useful version, check_backports 0
    xserver-xorg-input-kbd not included in a useful version, check_backports 0
    xserver-xorg-input-libinput not included in a useful version, check_backports 0
      xserver-xorg-input-libinput-udeb is included already, acceptable version 0.29.0-1
2020-02-13 15:21:10 +01:00
Raphaël Hertzog 031fd46b40 Fix some inconsistent indenting 2020-02-13 15:07:00 +01:00
Raphaël Hertzog ef9a3146cd Add symlinks for kali-last-snapshot in data/, tasks/ and tools/boot/ 2020-01-10 12:14:23 +01:00
Raphaël Hertzog 6fb756b288
start_new_disc: fix a quoting bug
That bug led to a failure when CODENAME is kali-last-snapshot.
2020-01-10 12:04:12 +01:00
Steve McIntyre 0dd4219af4 Add initial support for jigdo v2 format
Add the option to switch to format v2 which uses sha256 everywhere
instead of md5. We can't actually turn this on yet, need to wait for
users to upgrade a bit and get new v2-aware jigdo clients.

But this works as-is for generating v1 until we hit that switch - see
the new JIGOO_CHECKSUM option in CONF.sh
2019-11-21 19:10:19 +00:00
Samuel Thibault d29c2db629 Add hurd-i386 EFI support. 2019-11-17 19:10:37 +01:00