[Bug 2148511] Re: Don't set bootable flag on boot partition on preinstalled riscv64 images

Valentin Haudiquet 2148511 at bugs.launchpad.net
Thu Apr 16 15:18:01 UTC 2026


** Changed in: livecd-rootfs (Ubuntu Noble)
     Assignee: (unassigned) => Valentin Haudiquet (vhaudiquet)

** Changed in: livecd-rootfs (Ubuntu Noble)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2148511

Title:
  Don't set bootable flag on boot partition on preinstalled riscv64
  images

Status in livecd-rootfs package in Ubuntu:
  New
Status in livecd-rootfs source package in Noble:
  In Progress
Status in livecd-rootfs source package in Resolute:
  New

Bug description:
  [ Impact ]

  Nezha D1 and LicheeRV use file boot.env to store boot variables but
  cannot write on ext4 file system. The file should be stored on the
  ESP.

  A U-Boot looks for the first bootable partition we must ensure that
  only the ESP is detected as bootable via its partition type. The root
  partition should not be marked as bootable.

  [ Test Plan ]

  Build Generic, the Nezha and the LicheeRV images.

  Check that env save is usable on the Nezha and the LicheeRV and
  creates file boot.env on the ESP.

  Check that all boards boot.

  [ Where problems could occur ]

  We might mess up the partition definitions leading to build or boot
  failure.

  [ Other Info ]

  Nezha D1 and LicheeRV do not implement the RVA23 ISA and therefore are
  only supported up to Ubuntu 24.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2148511/+subscriptions





More information about the foundations-bugs mailing list