flash-kernel can't be properly disabled
Bug #2039468 reported by
Juerg Haefliger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Per the man page:
/etc/flash-
If present this can be used to override the machine autodetection. The contents must be a
string which matches an entry in the database. Or `none' to disable flash-kernel.
However, if that file contains 'none, flash-kernel bombs out with a non-0 exit status:
$ cat /etc/flash-
none
$ sudo flash-kernel
Unsupported platform 'none'.
$ echo $?
1
If disabled, the exit status should be 0. Otherwise installation of packages that call flash-kernel in a postinst hook will fail.
tags: | added: patch |
To post a comment you must log in.
Processing triggers for linux-image- 6.2.0-1016- raspi (6.2.0-1016.18) ... postinst. d/initramfs- tools: img-6.2. 0-1016- raspi postinst. d/zz-flash- kernel:
/etc/kernel/
update-initramfs: Generating /boot/initrd.
flash-kernel: deferring update (trigger activated)
/etc/kernel/
flash-kernel: deferring update (trigger activated)
Processing triggers for flash-kernel (3.106ubuntu14) ...
Unsupported platform 'none'.
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:
flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)