Let's put all the functions writing dropins together and run them
after running the postinst script.
* Copy the build script outputs into the image
* Copy the extra trees into the image (`mkosi.extra`)
* Run post-install script (`mkosi.postinst`)
+* Write config files required for `Ssh=`, `Autologin=` and `MakeInitrd=`
* Install systemd-boot and configure secure boot if configured (`--secure-boot`)
* Run `systemd-sysusers`
* Run `systemctl preset-all`
save_cache(state)
reuse_cache(state)
- configure_autologin(state)
- configure_initrd(state)
run_build_script(state)
if state.config.output_format == OutputFormat.none:
install_build_dest(state)
install_extra_trees(state)
- configure_ssh(state)
run_postinst_script(state)
+
+ configure_autologin(state)
+ configure_initrd(state)
+ configure_ssh(state)
+
install_boot_loader(state)
run_sysusers(state)
run_preset(state)