armhf & arm64 image do not have cloud-init grub customizations

Bug #1925780 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * armhf & arm64 images do not contain cpc image customizations for grub.

   Specifically they do not have

   /etc/default/grub.d/50-cloudimg-settings.cfg

   Which disables "quiet splash", removes timeouts, enables serial consoles.

[Test Plan]

 * Boot arm64 cloud-image
 * cat /proc/cmdline => check that "quiet splash" is not present
 * ls /etc/default/grub.d/ => check that cloudimg-settings.cfg is there

[Where problems could occur]

 * Previously 999-cpc-fixes was only executed on i386 & amd64, thus care needs to be taken to ensure that none of x86 specific stuff is introduced. I.e. dpkg-reconfigure of grub-pc and things about menu.lst.

Related branches

Revision history for this message
John Chittum (jchittum) wrote :

rcj and I had just been discussing this in relation to a new arm64 image.

We are currently re-enabling the file for EC2 arm64 in our EC2 specific code. I took the workaround from our EC2 and implemented in our test image. We agreed that we'll need to get 999-cpc-fixes worked out more.

The code that writes the mentioned file is:

https://git.launchpad.net/livecd-rootfs/tree/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot#n189

what everything from 125 to 189 is where I needed to get some more guidance to ensure everything would work on arm properly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.721

---------------
livecd-rootfs (2.721) impish; urgency=medium

  [ Dimitri John Ledkov ]
  * 999-cpc-fixes: enable more code on grub2 armhf & arm64 (LP: #1925780)
  * Add support for generic preinstalled images. LP: #1923832
  * Change iptables calls, to query rules and quickly check that
    connectivity works after transparent proxy has been installed. LP:
    #1917920
  * magic-proxy: replace http.client with urllib calls
  * buildd: Re-enable merged /usr by default, as it is now required

  [ Michael Hudson-Doyle ]
  * remove the workaround for bug #1893818

  [ Łukasz 'sil2100' Zemczak ]
  * Start using the ubuntu-server-raspi seeds for preinstalled raspi server
    images, similarly to how it's done for desktop-preinstalled images.
  * Drop the unused imx6 support.

 -- Dimitri John Ledkov <email address hidden> Wed, 05 May 2021 19:08:21 +0100

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.