Silverblue missing boot option

Everything mentioned in the previous posts is normal. I tested this on a VM. The issue was that the finalization process was failing with

May 27 16:46:34 ostree[44286]: error: Unexpected state: /run/ostree-booted found, but no /boot/loader
directory
May 27 16:46:34 systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, stat
us=1/FAILURE
May 27 16:46:34 systemd[1]: ostree-finalize-staged.service: Failed with result ‘exit-code’.
May 27 16:46:34 systemd[1]: Stopped OSTree Finalize Staged Deployment.
May 27 16:46:34 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=ostree-finalize-staged comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=failed’

After reading this discussion, I ran finalize manually and it worked

So the issue is /boot being unmounted about 10 seconds before the ostree-finalize-staged service is run.

May 27 16:46:24 systemd[1]: boot.mount: Succeeded.
May 27 16:46:24 systemd[1]: Unmounted /boot.

The bug is somewhere in the ostree-finalize-staged.service file. Maybe RequireMountsFor=/boot would work?