Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot: cmd/snap-bootstrap: handle a candidate recovery system v2 #9940

Merged

Commits on Feb 18, 2021

  1. boot: export initramfs reboot helper

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    f6c4621 View commit details
    Browse the repository at this point in the history
  2. boot: helper for checking and marking tried recovery system status fr…

    …om initramfs
    
    Add a helpers for checking whether the current recovery system is being tried
    and marking its state.
    
    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    45076df View commit details
    Browse the repository at this point in the history
  3. cmd/snap-bootstrap: check for a tried recovery system and reboot acco…

    …rdingly
    
    When we 'try' a new recovery system, make sure it boots up to a point where
    snap-bootstrap has set up the system for further execution in after-pivot world.
    This ensures that the try system is functional until that point, but does not
    execute any services from it in case those would alter the system state.
    
    We also verify that the ubuntu-data is mounted and accessible, and as such the
    new recovery system should be functional if fully booted.
    
    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    fe16ca9 View commit details
    Browse the repository at this point in the history
  4. cmd/snap-bootstrap: cleanup and refactor disabled fallback path handling

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    e1e5115 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Merge branch 'bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2-just-boo…

    …t' into bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2-wip
    bboozzoo committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    6e63c31 View commit details
    Browse the repository at this point in the history
  2. cmd/snap-bootstrap: use try recovery system outcome, extend tests

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    52bae8b View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. Merge branch 'bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2-just-boo…

    …t' into bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    6e84920 View commit details
    Browse the repository at this point in the history
  2. tests/core/uc20-try-recovery: verify switching to a try recovery syst…

    …em and back
    
    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    764de5e View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-rec…

    …overy-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    2e5ba08 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2-spread-t…

    …est' into bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    c37312e View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-rec…

    …overy-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    c2fabf8 View commit details
    Browse the repository at this point in the history
  2. cmd/snap-bootstrap: tweak finalize try recovery system handling, log …

    …errors, extend tests
    
    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    36c4961 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Merge branch 'bboozzoo/sb-un-encrypted-code-path-cleanup' into bboozz…

    …oo/uc20-recovery-mgmt-sb-try-handling-v2-wip
    bboozzoo committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    be8e108 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-rec…

    …overy-mgmt-sb-try-handling-v2-wip
    bboozzoo committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    d34f804 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-rec…

    …overy-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    80fe0ed View commit details
    Browse the repository at this point in the history
  2. cmd/snap-bootstrap: tweak tried system handling

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    ccf8adb View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-rec…

    …overy-mgmt-sb-try-handling-v2
    bboozzoo committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    36805f6 View commit details
    Browse the repository at this point in the history
  2. boot, cmd/snap-bootstrap: fix typo in helper name

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    51550db View commit details
    Browse the repository at this point in the history
  3. cmd/snap-bootstrap: comments and test tweaks

    Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
    bboozzoo committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    d4bb220 View commit details
    Browse the repository at this point in the history