mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
857587615d
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.
57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
# Shared variables between toplevel Makefile.am and doc/Makefile.am
|
|
# ...since gtk-doc forces use of recursive make =(
|
|
#
|
|
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-2.0+
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the
|
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
libostree_public_headers = \
|
|
src/libostree/ostree.h \
|
|
src/libostree/ostree-async-progress.h \
|
|
src/libostree/ostree-autocleanups.h \
|
|
src/libostree/ostree-core.h \
|
|
src/libostree/ostree-dummy-enumtypes.h \
|
|
src/libostree/ostree-mutable-tree.h \
|
|
src/libostree/ostree-repo.h \
|
|
src/libostree/ostree-repo-os.h \
|
|
src/libostree/ostree-types.h \
|
|
src/libostree/ostree-repo-file.h \
|
|
src/libostree/ostree-diff.h \
|
|
src/libostree/ostree-gpg-verify-result.h \
|
|
src/libostree/ostree-sepolicy.h \
|
|
src/libostree/ostree-sysroot.h \
|
|
src/libostree/ostree-sysroot-upgrader.h \
|
|
src/libostree/ostree-deployment.h \
|
|
src/libostree/ostree-bootconfig-parser.h \
|
|
src/libostree/ostree-repo-deprecated.h \
|
|
src/libostree/ostree-ref.h \
|
|
src/libostree/ostree-remote.h \
|
|
src/libostree/ostree-repo-finder.h \
|
|
src/libostree/ostree-repo-finder-avahi.h \
|
|
src/libostree/ostree-repo-finder-config.h \
|
|
src/libostree/ostree-repo-finder-mount.h \
|
|
src/libostree/ostree-repo-finder-override.h \
|
|
src/libostree/ostree-kernel-args.h \
|
|
src/libostree/ostree-sign.h \
|
|
src/libostree/ostree-sign-ed25519.h \
|
|
$(NULL)
|
|
|
|
# This one is generated via configure.ac, and the gtk-doc
|
|
# code hence needs to look in the builddir.
|
|
libostree_public_built_headers = src/libostree/ostree-version.h
|