summaryrefslogtreecommitdiff
path: root/Makefile-libostree.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2021-03-11 01:36:13 +0000
committerColin Walters <walters@verbum.org>2021-03-12 19:01:42 +0000
commit857587615dc36d2d99e1a9bd36486f4267298971 (patch)
treedaa91a2fa072e7a184f8ddf73d0ed86a30db44d0 /Makefile-libostree.am
parent31e19935b509d65c835639b9eaf4ac553aa61655 (diff)
downloadostree-857587615dc36d2d99e1a9bd36486f4267298971.tar.gz
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.
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r--Makefile-libostree.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 7f9d7e67..98fbb289 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -92,6 +92,7 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-ref.c \
src/libostree/ostree-remote.c \
src/libostree/ostree-remote-private.h \
+ src/libostree/ostree-repo-os.c \
src/libostree/ostree-repo.c \
src/libostree/ostree-repo-checkout.c \
src/libostree/ostree-repo-commit.c \
@@ -186,10 +187,10 @@ endif # USE_GPGME
symbol_files = $(top_srcdir)/src/libostree/libostree-released.sym
-## Uncomment this include when adding new development symbols.
-#if BUILDOPT_IS_DEVEL_BUILD
-#symbol_files += $(top_srcdir)/src/libostree/libostree-devel.sym
-#endif
+# Uncomment this include when adding new development symbols.
+if BUILDOPT_IS_DEVEL_BUILD
+symbol_files += $(top_srcdir)/src/libostree/libostree-devel.sym
+endif
# http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html
wl_versionscript_arg = -Wl,--version-script=