Builder for live images based on Debian
Go to file
Arnaud Rebillout a3f7a33f95 efi-image: Fix missing part_* modules in boot<platform>.efi
Setting the value of PARTITIONLIST in a sub-shell is scoped to the
sub-shell, it will not change the value of the variable in the parent
shell.

In other words:

    #!/bin/sh
    FOOBAR=
    (FOOBAR=foo)
    echo FOOBAR=$FOOBAR

gives the output:

    FOOBAR=

As a consequence, PARTITIONLIST being empty, there are no part_*
modules embedded in the boot<platform>.efi binary. This is clearly a
regression, introduced in 7b36f5b0ad.

Somehow, Debian doesn't seem to be impacted. Kali Linux is impacted, but
only under very special conditions, leading to this bug report:
<https://bugs.kali.org/view.php?id=8441>

This commit fixes it, by setting the PARTITIONLIST variable first, and
then using it where needs be. As a consequence it greatly simplifies the
next part of the code, as we can just use a heredoc to create the grub
config.
2023-09-18 08:38:52 +07:00
data/debian-cd Adding symlink for udeb data for bookworm 2021-12-03 19:57:33 +01:00
debian Fix and correctly suppress lintian warnings 2023-08-06 21:31:15 +02:00
examples Fix detection of fonts in initrd 2023-03-19 08:40:46 +01:00
frontend get rid of a couple of useless variables 2020-05-04 13:21:12 +01:00
functions Filter the firmware list (Closes: 1035382) 2023-07-09 11:59:00 +02:00
manpages Introduce '--debian-installer-distribution git'. 2022-05-17 08:48:44 +02:00
scripts efi-image: Fix missing part_* modules in boot<platform>.efi 2023-09-18 08:38:52 +07:00
share Remove ancient hook 9030-remove-apt-sources-lists that was never run 2023-07-18 13:12:29 +02:00
test rebuild.sh: Consistent timestamp of theme.txt 2023-08-20 13:16:40 +02:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile Mark the phony targets in the Makefile 2022-01-07 10:12:28 +01:00