The grub.cfg-normal will run from the ubuntu-boot partition. In
order for "the-tool" to run and call snap-bootstrap to setup the
right mount in run-mode this kernel commandline has to be set.
The-tool has a "ConditionKernelCommandLine=snapd_recovery_mode"
so it only runs with that.
There is a bunch more cleanup that should be done in this file but to
keep churn minimal it just does this one change.
I'd rather drop the restriction on the-tool. Originally added it, because the-tool / snap-bootstrap at the time could not handle the run mode, but it can now.
The grub.cfg-normal will run from the ubuntu-boot partition. In order for "the-tool" to run and call snap-bootstrap to setup the right mount in run-mode this kernel commandline has to be set.
The-tool has a "ConditionKernelCommandLine=snapd_recovery_mode" so it only runs with that.
There is a bunch more cleanup that should be done in this file but to keep churn minimal it just does this one change.