launchpad-buildd:master

Last commit made on 2022-11-25
Get this branch:
git clone -b master https://git.launchpad.net/launchpad-buildd
Members of Canonical Launchpad Engineering can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:launchpad-buildd

Recent commits

264210a... by Andrey Fedoseev

Fix the bug with `Backend.open()` caused by file ownership in chroot environment

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

de88cd3... by Andrey Fedoseev

Fix the bug with `Backend.open()` caused by file ownership in chroot environment

Previously, `Chroot.copy_out()` produced a file owned by root which prevented `Backend.open()` to open it for writing.

Now, the file created by `Chroot.copy_out()` is owned by `buildd`

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.