~cjwatson/launchpad-buildd:master

Last commit made on 2022-11-24
Get this branch:
git clone -b master https://git.launchpad.net/~cjwatson/launchpad-buildd
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~cjwatson/launchpad-buildd

Recent commits

a6c8de9... by Andrey Fedoseev

Update dogfood deployment instructions

Merged from https://code.launchpad.net/~andrey-fedoseev/launchpad-buildd/+git/launchpad-buildd/+merge/433517

99a8f81... by Andrey Fedoseev

Update dogfood deployment instructions

7959051... by Colin Watson

Calculate major number for device-mapper by searching /proc/devices

Merged from https://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/433516

43fd423... by Colin Watson

Calculate major number for device-mapper by searching /proc/devices

The `dmsetup create` approach doesn't seem to work properly in jammy:
it never creates `/dev/dm-0`. Searching `/proc/devices` seems to work
fine and is simpler.

2907ae5... by Andrey Fedoseev

Use `Backend.open` to modify files in target environments

instead of using a local temporary file and `copy_out` / `copy_in` methods

Merged from https://code.launchpad.net/~andrey-fedoseev/launchpad-buildd/+git/launchpad-buildd/+merge/432731

37ae20a... by Andrey Fedoseev

Update debian/changelog: `Backend.open()``

2ab2ac3... by Andrey Fedoseev

Use `Backend.open` to modify files in target environments

instead of using a local temporary file and `copy_out` / `copy_in` methods

0148923... by Andrey Fedoseev

Add `open` method to base `Backend` class

The method access to the files in the target environment via a file-like object.

Under the hood it uses a temporary file on the host system and `copy_in` / `copy_out` methods to transfer the file to / from the target environment.

03587b2... by Colin Watson

Require the LXD snap to be installed

Merged from https://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/432252

679f323... by Colin Watson

Require the LXD snap to be installed

I don't love this since it's less declarative, but the lxd package no
longer exists in jammy, so we can't depend on it normally any more. The
base OpenStack images where we typically install launchpad-buildd have
the lxd snap pre-installed, so this shouldn't cause any practical
inconvenience there.

This does mean that it's no longer possible to install launchpad-buildd
in a chroot, but it wouldn't have worked there for most purposes anyway.