~mvo/snapd/+git/snapd-mvo:snap-bootstrap-cmd-initramfs-write-modeenv-2

Last commit made on 2019-11-27
Get this branch:
git clone -b snap-bootstrap-cmd-initramfs-write-modeenv-2 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
snap-bootstrap-cmd-initramfs-write-modeenv-2
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

9523996... by Michael Vogt

snap-bootstrap: do not check for modeenv on the just created tmpfs

eaec4f7... by Michael Vogt

snap-bootstrap: tweak names/comments to be clearer (thanks Samuele)

091efb9... by Michael Vogt

snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv

The firstboot code in snapd for UC20 will need some information
from the earlier boot stage what recovery system to use and
what mode it is in. This PR implements writing the modeenv from
snap-bootstrap initramfs-mounts after the "ubuntu-data" partition
was written.

084f27e... by Michael Vogt

Merge pull request #7790 from mvo5/modeenv-2

boot: add boot.Modeenv that can read/write the UC20 modeenv files

5678534... by Michael Vogt

boot: use "=" as separator in modeenv

c780160... by Michael Vogt

boot: improve Modeenv.Write() and tests

0d0152b... by Michael Vogt

boot: write modeenv atomically

a422fc9... by Michael Vogt

boot: rename Modeenv.RecoverySystemLabel -> SystemLabel

45b0f75... by Michael Vogt

Merge pull request #7789 from mvo5/boot-uc20-3

bootloader: add new bootloader.InstallBootConfig()

e5f6a08... by Michael Vogt

boot: add boot.Modeenv that can read/write the UC20 modeenv files

This commits adds basic support for the modeenv file that will be
used on UC20 systems to keep track of the run mode, the recovery
system to use (and more later).