~raharper/curtin:feature/curtainer-support-minimal-images

Last commit made on 2020-08-18
Get this branch:
git clone -b feature/curtainer-support-minimal-images https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
feature/curtainer-support-minimal-images
Repository:
lp:~raharper/curtin

Recent commits

8bb0e3f... by Ryan Harper on 2020-08-18

Only add deb-src if $getsource is set

12dbdf5... by Ryan Harper on 2020-08-18

add-apt-repo: Skip apt update, curtainer apt-get updates later in script

4d430d3... by Ryan Harper on 2020-08-18

Add deb-src line, wget ppa trust key

66bf61d... by Ryan Harper on 2020-08-17

tools/curtainer: enable using ubuntu-minimal images

Ubuntu Minimal images are much smaller and run fewer things at
boot so they're ideal for the curtainer bootstrap environment for
extracting curtin source. The minimal image does not have the
'add-apt-repository' command present so write out the daily ppa
source list file and import the PPA gpg key into apt.

65ca414... by Paride Legovini on 2020-07-29

vmtests: add Groovy

c8c6418... by Paride Legovini on 2020-07-16

Drop the Eoan vmtests (EOL)

2a5d8c1... by Dan Watkins on 2020-07-16

tools: rename remove-vmtest-release to vmtest-remove-release

This prefix matches other vmtest scripts we have in tools/, making it
easier to discover.

(Also make it executable.)

e2e211b... by Paride Legovini on 2020-07-10

Snooze the tests failing because of LP: #1861941 for two more months

003f860... by Paride Legovini on 2020-07-10

LP: #1671951 is Fix Released => Drop the PPA

f1bf44f... by Ryan Harper on 2020-06-23

swaps: handle swapfiles on btrfs

Special care and handling are needed for creating swap files on top
of btrfs filesystems. Curtin will attempt to disable btrfs CoW
on the target file before attempting to fallocate/dd the file.

- Btrfs swapfile requires target kernel 5.0+, older kernels cannot use.
  https://btrfs.wiki.kernel.org/index.php/FAQ
- Query target fstype to check if we can proceed with swap file
  btrfs requires newer kernel, xfs cannot use fallocate
- Update distro.parse_dpkg_version to handle additional formatting
  including linux-image-generic, and versions with Epoch present.
- Adjust TestBasic,TestScsiBasic to add a swapfile to the /btrfs target
- Add the swap partition/file to TestBasic's fstab unittest
- Fix test_swaps_used to use fstab data instead of storage config
  since file-based swaps are created via curtin 'swap' config not
  storage-config.
- Add swap config key 'force', default is false
- Add curtin feature flag, BTRFS_SWAPFILE

LP: #1884161