Merge pull request #2121 from cgwalters/arch-key

core: Add OSTREE_COMMIT_META_KEY_ARCH
This commit is contained in:
OpenShift Merge Robot 2020-06-09 02:58:59 +02:00 committed by GitHub
commit bd9b4ea731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -212,6 +212,19 @@ typedef enum {
* Since: 2014.9 * Since: 2014.9
*/ */
#define OSTREE_COMMIT_META_KEY_VERSION "version" #define OSTREE_COMMIT_META_KEY_VERSION "version"
/**
* OSTREE_COMMIT_META_KEY_ARCHITECTURE:
*
* GVariant type `s`. Intended to describe the CPU architecture. This is a freeform string, and some distributions
* which have existing package managers might want to match that schema. If you
* don't have a prior schema, it's recommended to use `uname -m` by default (i.e. the Linux kernel schema). In the future
* ostree might include a builtin function to compare architectures.
*
* Since: 2020.4
*/
#define OSTREE_COMMIT_META_KEY_ARCHITECTURE "ostree.architecture"
/** /**
* OSTREE_COMMIT_META_KEY_ENDOFLIFE_REBASE: * OSTREE_COMMIT_META_KEY_ENDOFLIFE_REBASE:
* *