[Bug 2029527] [NEW] mantic armhf "No kernel output for generic" build error

Stefan Hammer 2029527 at bugs.launchpad.net
Thu Aug 3 18:18:55 UTC 2023


Public bug reported:

Mantic armfs builds are failing in live-build/auto/build with error
trying to parse kernel version

```
+ [ -z virtual ]
+ [ virtual = none ]
+ FLAVOUR=generic
+ cd binary/boot
+ fgrep -v .efi
+ sed -n s/^vmlinu.-\([^-]*-[^-]*-generic\)$/\1/p
+ ls vmlinuz-6.3.0-7-generic-lpae
+ KVERS=
+ [ -z  ]
+ [ -e binary/boot/vmlinuz ]
+ echo No kernel output for generic!
No kernel output for generic!
```

This happens in https://git.launchpad.net/ubuntu/+source/livecd-
rootfs/tree/live-build/auto/build#n612 as armhf builds now run with "--
linux-flavours virtual" so FLAVOR gets set       as FLAVOUR="generic",
but sed fails to match on "generic" because linux-virtual:armhf installs
the *-generic-lpae kernel.

** Affects: cloud-images
     Importance: Undecided
         Status: New

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

** Also affects: cloud-images
   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/2029527

Title:
  mantic armhf "No kernel output for generic" build error

Status in cloud-images:
  New
Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  Mantic armfs builds are failing in live-build/auto/build with error
  trying to parse kernel version

  ```
  + [ -z virtual ]
  + [ virtual = none ]
  + FLAVOUR=generic
  + cd binary/boot
  + fgrep -v .efi
  + sed -n s/^vmlinu.-\([^-]*-[^-]*-generic\)$/\1/p
  + ls vmlinuz-6.3.0-7-generic-lpae
  + KVERS=
  + [ -z  ]
  + [ -e binary/boot/vmlinuz ]
  + echo No kernel output for generic!
  No kernel output for generic!
  ```

  This happens in https://git.launchpad.net/ubuntu/+source/livecd-
  rootfs/tree/live-build/auto/build#n612 as armhf builds now run with "
  --linux-flavours virtual" so FLAVOR gets set       as
  FLAVOUR="generic", but sed fails to match on "generic" because linux-
  virtual:armhf installs the *-generic-lpae kernel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2029527/+subscriptions




More information about the foundations-bugs mailing list