deploy: Add bootloader-naming-2 opt-init
authorColin Walters <walters@verbum.org>
Thu, 24 Aug 2023 13:40:54 +0000 (09:40 -0400)
committerColin Walters <walters@verbum.org>
Thu, 24 Aug 2023 13:40:54 +0000 (09:40 -0400)
commit02d419079d649f18a62ee64542b3f3f28ea14edb
tree6e7b8bd961bfd1333b2566ec22114380f019baa4
parentfb06d59e75b720c0957148c04e488000a8e6af91
deploy: Add bootloader-naming-2 opt-init

I've verified that this fixes compatibility with GRUB, which
parses the filename:
https://github.com/ostreedev/ostree/issues/2961

However, out of a large degree of conservatism I've made this
an opt-in behavior for now.

My plan is to test it out in the FCOS development streams first.
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
tests/inst/src/destructive.rs