Skip to content

Attempt to enforce initrd

Fixes OS-issues#317 (closed)

I'm submitting downstream first because of the criticality of the issue.

Log on failure is now:

$ sudo apt install linux-image-6.2.0-1-librem5
[...]
flash-kernel: deferring update (trigger activated)
dpkg: error processing package linux-image-6.2.0-1-librem5 (--configure):
 installed linux-image-6.2.0-1-librem5 package post-installation script subprocess returned error exit status 1
Processing triggers for flash-kernel (3.102.0pureos6) ...
Using DTB: freescale/imx8mq-librem5-r4.dtb
Installing /usr/lib/linux-image-6.2.0-1-librem5/freescale/imx8mq-librem5-r4.dtb into /boot/dtbs/6.2.0-1-librem5/freescale/imx8mq-librem5-r4.dtb
Taking backup of imx8mq-librem5-r4.dtb.
Installing new imx8mq-librem5-r4.dtb.
flash-kernel: installing version 6.2.0-1-librem5
Initrd explicitly required for generic method
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.2.0-1-librem5
 flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)

and the boot version remains at the old one:

$ grep -a librem5 /boot/boot.scr 
   setenv fk_kvers '6.1.13-librem5-gd7c9aec13bf6'

Merge request reports