noble: deb822 format support of /etc/apt/sources.list.d/ubuntu.sources instead of /etc/apt/sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Julian Andres Klode |
Bug Description
In ubuntu noble and later, cloud-init 24.1 based releases will automatically remove /etc/apt/
If livecd-rootfs is manipulating /etc/apt/
The non-zero exit code (2) indicating a warning condition when removing /etc/apt/
is enough to break CI/CD tooling for scripts which rely on cloud-init status --wait exit codes.
Note: the behavior of cloud-init on mantic and earlier is to overwrite /etc/apt/
Also there is preinstalled image support in livecd-rootfs where cloud-init may not be enabled. It would be good to understand the implications if preinstall images migrate to /etc/apt/
LP: #2045086
Related branches
- Michael Hudson-Doyle: Approve
- Robert Krátký: Approve (sources.list wording)
- Chad Smith (community): Approve
-
Diff: 209 lines (+90/-62)2 files modifiedlive-build/auto/build (+9/-11)
live-build/functions (+81/-51)
tags: | added: foundations-todo |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Julian Andres Klode (juliank) |
milestone: | none → ubuntu-24.04-feature-freeze |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → In Progress |
Changed in livecd-rootfs (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package livecd-rootfs - 24.04.32
---------------
livecd-rootfs (24.04.32) noble; urgency=medium
* Switch from sources.list to ubuntu.sources (LP: #2048129) pool.sources
* Setup preinstalled pool in preinstalled-
-- Julian Andres Klode <email address hidden> Mon, 12 Feb 2024 21:55:42 +0100