ostree/src
Colin Walters 857587615d Add an API+CLI to inject metadata for bootable OSTree commits
I was doing some rpm-ostree work and I wanted to compare two
OSTree commits to see if the kernel has changed.  I think
this should be a lot more natural.

Add `ostree commit --bootable` which calls into a new generic
library API `ostree_commit_metadata_for_bootable()` that
discovers the kernel version and injects it as an `ostree.linux`
metadata key.  And for extra clarity, add an `ostree.bootable`
key.

It's interesting because the "core" OSTree layer is all about
generic files, but this is adding special APIs around bootable
OSTree commits (as opposed to e.g. flatpak as well as
things like rpm-ostree's pkgcache refs).

Eventually, I'd like to ensure everyone is using this and
hard require this metadata key for the `ostree admin deploy`
flow - mainly to prevent accidents.
2021-03-12 19:01:42 +00:00
..
boot Fix mkinitcpio with newer systemd versions 2020-08-25 18:12:55 -04:00
libostree Add an API+CLI to inject metadata for bootable OSTree commits 2021-03-12 19:01:42 +00:00
libotutil sysroot: Handle ro /boot but rw /sysroot 2021-01-10 13:49:44 +00:00
ostree Add an API+CLI to inject metadata for bootable OSTree commits 2021-03-12 19:01:42 +00:00
rofiles-fuse rofiles-fuse: Improve error message for failure to open root 2018-10-12 14:11:10 +00:00
switchroot ostree-prepare-root: print st_dev and st_ino as 64-bit ints 2020-10-15 12:26:47 -04:00