Commit 9da140b
committed
composefs: Skip boot binary dedup check during fresh install
find_vmlinuz_initrd_duplicates() reads the host's /sysroot/state/deploy
to find existing deployments with matching boot digests. During a fresh
install (not an upgrade), the host's own deployment data matches the
boot digest, but the target disk has no existing boot entries yet. This
caused "Shared boot binaries not found" when installing outside a
container on a composefs+grub system.
Fix by only performing the duplicate check during upgrades, where
shared boot binaries on the target actually exist.
Assisted-by: Claude Code (Opus 4)
Signed-off-by: ckyrouac <ckyrouac@redhat.com>1 parent 3efea1e commit 9da140b
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
709 | 716 | | |
710 | 717 | | |
711 | 718 | | |
| |||
0 commit comments