[Bug 2015750] [NEW] lunar riscv fails to build due to conditional check for riscv64 platform

John Chittum 2015750 at bugs.launchpad.net
Mon Apr 10 12:32:53 UTC 2023


Public bug reported:

Build Log Error Message:

No VM guests are running outdated hypervisor (qemu) binaries on this host.
+ efi_target=riscv64-efi
+ chroot mountpoint u-boot-update
P: Checking for EXTLINUX directory... not found.
P: Creating EXTLINUX directory... done: /boot/extlinux
P: Writing config for vmlinuz-5.19.0-1004-generic...
P: Updating /boot/extlinux/extlinux.conf...
+ '[' '' '!=' nezha ']'
+ '[' '' '!=' licheerv ']'
+ '[' '' '!=' icicle ']' '[' '' '!=' visionfive ']'
./config/hooks/014-disk-image-uefi.binary: line 458: [: too many arguments
+ chroot mountpoint apt-get autoremove --purge --assume-yes
Reading package lists...


[Fix] 

Line 458 needs &&, and then it'll check each platform instead of failing

[Test]

Do a build :)

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  lunar riscv fails to build due to conditional check for riscv64
  platform

Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  Build Log Error Message:

  No VM guests are running outdated hypervisor (qemu) binaries on this host.
  + efi_target=riscv64-efi
  + chroot mountpoint u-boot-update
  P: Checking for EXTLINUX directory... not found.
  P: Creating EXTLINUX directory... done: /boot/extlinux
  P: Writing config for vmlinuz-5.19.0-1004-generic...
  P: Updating /boot/extlinux/extlinux.conf...
  + '[' '' '!=' nezha ']'
  + '[' '' '!=' licheerv ']'
  + '[' '' '!=' icicle ']' '[' '' '!=' visionfive ']'
  ./config/hooks/014-disk-image-uefi.binary: line 458: [: too many arguments
  + chroot mountpoint apt-get autoremove --purge --assume-yes
  Reading package lists...

  
  [Fix] 

  Line 458 needs &&, and then it'll check each platform instead of
  failing

  [Test]

  Do a build :)

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




More information about the foundations-bugs mailing list