:: Re: [DNG] unsigned kernels - strang…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: aitor
Date:  
À: dng
Sujet: Re: [DNG] unsigned kernels - strange behaviour
Hi Erich,

On 20/2/21 10:59, Erich Minderlein via Dng wrote:
> What are these unsigned packages for ?

I'm not pretty sure at this point, but they appear to be packages for
the internal use by Debian Kernel Team <debian-kernel@???>
during their test builds.
They do not usually provide mini-packages for debian-installer. Read the
lines nº568-580 in debian/rules.real (see below [*]):

|install-udeb_$(ARCH): # Logically we should check for %-di here, but
that would break test builds ifneq (,$(filter
linux-image-%,$(packages_enabled))) dh_testdir dh_prep kernel-wedge
install-files $(ABINAME) kernel-wedge check $(PACKAGE_NAMES) dh_fixperms
ifeq ($(UDEB_UNSIGNED_TEST_BUILD),False) dh_gencontrol dh_builddeb endif
endif # enabled This is because kernel-wedge doesn't expect any
-unsigned suffix. Unsigned templates are signed by an additional
rules.real:
https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/signing_templates/rules.real
<https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/signing_templates/rules.real>
|

|In gnuinos, i use the following workaround (||completely unorthodox):|

    dh_testdir
    dh_prep
    while read flavour; do \
        rm -f debian/linux-image-$(ABINAME)-$$flavour; \
        ln -s linux-image-$(ABINAME)-$$flavour-unsigned \
            debian/linux-image-$(ABINAME)-$$flavour; \
    done < <(awk '!/^#/ { print $$3 }' $(KW_CONFIG_DIR)/kernel-versions)
    kernel-wedge install-files $(ABINAME)
    kernel-wedge check $(PACKAGE_NAMES)
    dh_fixperms
    dh_gencontrol
    dh_builddeb

Cheers,

Aitor.

[*]
https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/rules.real
<https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/rules.real>