Move raspi cloud-init configuration to ubuntu-settings

Bug #1989807 reported by Dave Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Seeds
Fix Committed
Undecided
Unassigned
ubuntu-settings (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned

Bug Description

Currently /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg (which exists to disable "real" cloud sources on the raspi images) is hacked into the images from livecd-rootfs. It would be preferable to have this in a server-specific variant of the ubuntu-raspi-settings package.

To avoid dpkg conflicts, the file should be differently named (99-fake-cloud.cfg would be sufficient) with a maintscript tweak to remove the old name.

Revision history for this message
Dave Jones (waveform) wrote :

Attaching debdiff for ubuntu-settings. This incorporates the diff for this bug as well as the earlier (and vaguely related) LP: #1977764. In addition to this, I've extended the merge proposal for the aforementioned bug to update the necessary seed to include this package in the Ubuntu Pi server image(s).

tags: added: raspi-image
tags: added: patch
Revision history for this message
Dave Jones (waveform) wrote :

Apparently rm_conffile is considerably more stubborn than I'd given it credit for, when it comes to removing files previously unowned by packages (i.e. /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg). The only successful method is to rm it in a postinst script unfortunately. The attached patch remedies this (along with the aforementioned fixes for LP: #1977764).

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

This bug was fixed in the package ubuntu-settings - 22.10.1

---------------
ubuntu-settings (22.10.1) kinetic; urgency=medium

  * Add ubuntu-raspi-settings-desktop package, adding z3fold and zstd modules
    to the Ubuntu Desktop on Raspberry Pi (LP: #1977764)
  * Add ubuntu-raspi-settings-server package, adding 99-fake-cloud.cfg
    to the Ubuntu Server on Raspberry Pi (LP: #1989807)
  * Moved network-manager and polkit settings (which are desktop-specific)
    from ubuntu-raspi-settings to ubuntu-raspi-settings-desktop
  * Bump standards version to current (4.6.0.1)

 -- Dave Jones <email address hidden> Wed, 20 Jul 2022 11:55:13 +0100

Changed in ubuntu-settings (Ubuntu Kinetic):
status: New → Fix Released
Dave Jones (waveform)
Changed in ubuntu-seeds:
status: New → Fix Committed
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.