canonical / core-build

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

initramfs: run chooser from initramfs #44

Closed cmatsuoka closed 5 years ago

cmatsuoka commented 5 years ago

Refactor the installation initramfs script to run chooser at writable tmpfs creation time. This change requires a new version of chooser from spike-tools.

Install mode is fully implemented, but recover mode only works with the system we already booted from. Support to rebooting from a different version will be added after establishing the boot strategy for current and next kernels to avoid passing an open variable to the kernel command line.

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