~enr0n/curtin:deb822

Last commit made on 2023-09-15
Get this branch:
git clone -b deb822 https://git.launchpad.net/~enr0n/curtin
Only Nick Rosbrook can upload to this branch. If you are Nick Rosbrook please log in for upload directions.

Branch merges

Branch information

Name:
deb822
Repository:
lp:~enr0n/curtin

Recent commits

0f43e82... by Nick Rosbrook

apt-config: delay migration to deb822 by default

Ths release goal was originally intended for 23.10, but has been
delayed. Hence, make want_deb822() always return false. This means
curtin could still handle deb822 input, but it will not migrate classic
sources to deb822 yet. This allows us to leave all other deb822 code and
test cases in place until we are ready for migration by default.

Also comment out the documenation about migration on 23.10.

2004e04... by Dan Bungert

storage_config: handle partitions on 4k disk

In LP: #2035034, a user reported that the layout of existing
partitions was showing as 1/8th the correct size. Update storage_config
to no longer hard-code a 512 byte sector and read the value instead.

9e3cb71... by Dan Bungert

tests/data: 4k sector disk

2f87d08... by Dan Bungert

extract: log source information

If you try hard enough and follow mount commands backwards you can
surely get this same information, but when analyzing what the extract is
actually doing it's nice to just be able to see what the image stack is.

d5f5dde... by Olivier Gayot

apt_source: do not produce a deb822 source stanza with zero suite

When no suite is set for a given repository, we end up with a
deb822 styled source such as:

 Type: deb
 Suites:
 URIs: http://archive.ubuntu.com/ubuntu

This is invalid and apt/apt-get will raise the following error:

E: Malformed entry 2 in sources file
 /etc/apt/sources.list.d/ubuntu.sources (Suite)

Signed-off-by: Olivier Gayot <email address hidden>

307b32f... by Dan Bungert

docs: link to sources.list manpage for apt deb822

2d3fe30... by Dan Bungert

swap: add logging

The suggested swap size code just sort of returns 0 sometimes and
figuring out why is a complicated analysis of several variables.

Provide diagnostic info on those values, and the reason for the
decision.

9ef3bcb... by Michael Hudson-Doyle

distro: remove even more code from apt_update

The existing code tries to avoid redundant calls to 'apt update' but it
has flaws and redundant calls to 'apt update' should be fairly quick
anyway.

197bdbd... by Michael Hudson-Doyle

distro: remove disabling of deb-src lines in apt_update

The current code has the side-effect of ignoring deb822 .sources files
which is a problem that could be fixed but really it's hard to see why
this code is still useful (we do not expect to deploy images with
deb-src enabled!) so just deleting it makes more sense.

bdd9069... by Michael Hudson-Doyle

ensure grub-pc is installed on non-UEFI amd64 installs

I was sure curtin did this already but LP: #2033496 says not.