[Bug 2086455] Re: manifest not generated for ubuntu-cpc uefi hook in riscv64 when no subarch present

Timo Aaltonen 2086455 at bugs.launchpad.net
Tue Dec 17 14:29:52 UTC 2024


Hello Cody, or anyone else affected,

Accepted livecd-rootfs into jammy-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.765.54 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: livecd-rootfs (Ubuntu Jammy)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
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/2086455

Title:
  manifest not generated for ubuntu-cpc uefi hook in riscv64 when no
  subarch present

Status in livecd-rootfs package in Ubuntu:
  New
Status in livecd-rootfs source package in Jammy:
  Fix Committed

Bug description:
  [ Impact ]

   * Lack of manifest causes downstream builds to break during the
  manifest copy commands in the qcow binary hook. This is causing jammy
  riscv64 builds to fail.

   * proposed fix [1] is to check that $SUBARCH is nonzero in the if
  branch that returns early.

  [ Test Plan ]

   * reproducer is a livefs build of the ubuntu-cpc project for jammy
  riscv64 using the cloudware livefs build. The build will fail in the
  following way:

  ```
  + cp livecd.ubuntu-cpc.disk-uefi.manifest /build/livecd.ubuntu-cpc.qcow.manifest
  cp: cannot stat 'livecd.ubuntu-cpc.disk-uefi.manifest': No such file or directory
  + Echo_error config/hooks/021-qcow2-image.binary failed (exit non-zero). You should check for errors.
  ```

  [ Where problems could occur ]

   * the risk is that there is some subarch outside of those specified
  in the if-branch for which the early return is necessary. I don't have
  any indication that there is, but my information could very well be
  incomplete.

  [ Other Info ]

   * This appears to be isolated to jammy only, as we don't build qcow
  images for riscv in focal, and the hook was changed significantly in
  noble. Therefore this change should not need to be in other livecd-
  rootfs branches.

  1. https://code.launchpad.net/~codyshepherd/livecd-rootfs/+git/livecd-
  rootfs/+merge/475962

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




More information about the foundations-bugs mailing list