syslinux: Avoid double `/boot` if bootprefix is enabled
authorColin Walters <walters@verbum.org>
Mon, 5 Feb 2024 20:01:40 +0000 (15:01 -0500)
committerColin Walters <walters@verbum.org>
Mon, 5 Feb 2024 20:05:10 +0000 (15:05 -0500)
commita05dbb311e9f007b2b7fb40564cdcc4d13f1b97e
treeff4e9c45e9b5bce2035c80354d8cc593e5e4eb4f
parent740413168f445b0e90069211bf37b7241d6c3546
syslinux: Avoid double `/boot` if bootprefix is enabled

This backend always explicitly emitted a `/boot` - but if
the global `sysroot.bootprefix` is enabled, then we can rely
on the outer code doing it.

Luckily this was caught by the unit tests here failing when
enabling `sysroot.bootprefix` by default.
src/libostree/ostree-bootloader-syslinux.c