Bug#951198: flash-kernel: prevents installing new kernels on unsupported platforms

2022-11-14 Thread Pirate Praveen
On Wed, 12 Feb 2020 12:09:19 +0100 =?utf-8?q?Uwe_Kleine-K=C3=B6nig?=
 wrote:
> Package: flash-kernel
> Version: 3.99
> Severity: normal
> 
> Hello,
> 
> I just upgraded my Debian installation from an older testing to
Buster
> and the kernel update failed with:
> 
>   Setting up initramfs-tools (0.133+deb10u1) ...
>   update-initramfs: deferring update (trigger activated)
>   Processing triggers for initramfs-tools (0.133+deb10u1) ...
>   update-initramfs: Generating /boot/initrd.img-4.16.0-2-armmp
>   Unsupported platform.
>   run-parts: /etc/initramfs/post-update.d//flash-kernel exited
with return code 1
>   dpkg: error processing package initramfs-tools (--configure):
>    installed initramfs-tools package post-installation script
subprocess returned error exit status 1
>   Errors were encountered while processing:
>    initramfs-tools
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> In my case flash-kernel is just casually installed and not needed to
> make the machine bootable with the new kernel. I wonder if
"Unsupported
> platform" should not be an error in the kernel update trigger.
> 
> Best regards
> Uwe

I also noticed this error when trying to update a kernel from a
recovery chroot (using jumpdrive) on my Librem 5.
https://github.com/dreemurrs-embedded/Jumpdrive/issues/79

This is just annoying as it did not really affect booting of the
machine.



Bug#951198: flash-kernel: prevents installing new kernels on unsupported platforms

2020-02-12 Thread Uwe Kleine-König
Package: flash-kernel
Version: 3.99
Severity: normal

Hello,

I just upgraded my Debian installation from an older testing to Buster
and the kernel update failed with:

Setting up initramfs-tools (0.133+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.16.0-2-armmp
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with 
return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess 
returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

In my case flash-kernel is just casually installed and not needed to
make the machine bootable with the new kernel. I wonder if "Unsupported
platform" should not be an error in the kernel update trigger.

Best regards
Uwe

-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (900, 'stable'), (800, 'oldstable'), (600, 'unstable'), (1, 
'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 5.6.0-rc1-00042-g9988e8107902-dirty (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages flash-kernel depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  devio  1.2-1.2+b1
ih  initramfs-tools0.133+deb10u1
ii  linux-base 4.6
ii  mtd-utils  1:2.0.1-1
ii  ucf3.0038+nmu1

Versions of packages flash-kernel recommends:
ii  u-boot-tools  2019.01+dfsg-7

flash-kernel suggests no packages.

-- debconf information excluded