canonical / core-build

GNU General Public License v3.0
8 stars 18 forks source link

initramfs: run recover mode if trigger is detected #50

Closed cmatsuoka closed 5 years ago

cmatsuoka commented 5 years ago

If the magic trigger key is detected, switch to recover mode. This requires a state to be set in premount and later recovered in the rootfs script and in the booted system, so we're creating a temporary file for this. Sanitize later.

Signed-off-by: Claudio Matsuoka claudio.matsuoka@canonical.com