Hi,

Quoting Johannes Schauer Marin Rodrigues (2025-04-25 08:00:44)
> I patched flash-kernel with the changes from this MR:
> https://salsa.debian.org/installer-team/flash-kernel/-/merge_requests/41
> 
> I can confirm that this patch stack fixes the problem that I had and which
> can be demonstrated with above reproducer. Thus, I'm tagging this bug with
> "patch".

we are now shipping flash-kernel patched with the commits from above MR in the
MNT Debian repository. All my tests so far of upgrading flash-kernel together
with the kernel have come back successful so far:

[...]
Setting up flash-kernel (3.109+reform20250425T080214Z1) ...
Using DTB: freescale/imx8mq-mnt-reform2.dtb
flash-kernel: deferring update (trigger activated)
[...]
Setting up linux-image-6.12.22-mnt-reform-arm64 
(6.12.22-1+reform20250425T080214Z) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.12.22-mnt-reform-arm64
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing 
/usr/lib/linux-image-6.12.22-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb 
into /boot/dtbs/6.12.22-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/reform-qcacld2:
Starting background process to update reform-qcacld2 driver package (for Wi-Fi) 
to match kernel version.
/etc/kernel/postinst.d/zz-flash-kernel:
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing 
/usr/lib/linux-image-6.12.22-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb 
into /boot/dtbs/6.12.22-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: deferring update (trigger activated)
[...]
Processing triggers for initramfs-tools (0.147) ...
update-initramfs: Generating /boot/initrd.img-6.13.11-mnt-reform-arm64
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing 
/usr/lib/linux-image-6.13.11-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb 
into /boot/dtbs/6.13.11-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: installing version 6.13.11-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Processing triggers for libc-bin (2.41-7) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libglib2.0-0t64:arm64 (2.84.1-2) ...
No such key “scheme” in schema “org.gnome.gedit.preferences.editor” as 
specified in override file 
“/usr/share/glib-2.0/schemas/20_reform.gschema.override”; ignoring override for 
this key.
[...]
Processing triggers for flash-kernel (3.109+reform20250425T080214Z1) ...
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing 
/usr/lib/linux-image-6.13.11-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb 
into /boot/dtbs/6.13.11-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: installing version 6.13.11-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.

The above is how it's supposed to look like, right? And at the end,
flash-kernel runs and installs the correct kernel *even though* this
installation request had a different kernel in it. But, as expected, it
installs the highest installed version.

Success, right?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to