[Bug 2039468] [NEW] flash-kernel can't be properly disabled
Juerg Haefliger
2039468 at bugs.launchpad.net
Mon Oct 16 15:47:06 UTC 2023
Public bug reported:
Per the man page:
/etc/flash-kernel/machine
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-kernel/machine
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.
** Affects: flash-kernel (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2039468
Title:
flash-kernel can't be properly disabled
Status in flash-kernel package in Ubuntu:
New
Bug description:
Per the man page:
/etc/flash-kernel/machine
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-kernel/machine
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2039468/+subscriptions
More information about the foundations-bugs
mailing list