[Bug 1980929] [NEW] Allow to bypass container exit test

Alexandre Ghiti 1980929 at bugs.launchpad.net
Thu Jul 7 07:44:23 UTC 2022


Public bug reported:

https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1863145
introduced a test at the beginning of main() to skip flash-kernel
completely if we are in a container: that logic breaks the creation of
RISC-V images where we need flash-kernel to run in order to install the
dtb at the right location for update-grub.

So introduce a new environment variable that allows to bypass this test
in such circumstances: FK_FORCE_CONTAINER must be equal to "yes" to skip
the test and allow flash-kernel to run.

** 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/1980929

Title:
  Allow to bypass container exit test

Status in flash-kernel package in Ubuntu:
  New

Bug description:
  https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1863145
  introduced a test at the beginning of main() to skip flash-kernel
  completely if we are in a container: that logic breaks the creation of
  RISC-V images where we need flash-kernel to run in order to install
  the dtb at the right location for update-grub.

  So introduce a new environment variable that allows to bypass this
  test in such circumstances: FK_FORCE_CONTAINER must be equal to "yes"
  to skip the test and allow flash-kernel to run.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1980929/+subscriptions




More information about the foundations-bugs mailing list