Skip to content

Commit

Permalink
Merge pull request #2121 from cgwalters/arch-key
Browse files Browse the repository at this point in the history
core: Add OSTREE_COMMIT_META_KEY_ARCH
  • Loading branch information
openshift-merge-robot authored Jun 9, 2020
2 parents be8dcd3 + 29dddf3 commit bd9b4ea
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/libostree/ostree-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,19 @@ typedef enum {
* Since: 2014.9
*/
#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:
*
Expand Down

0 comments on commit bd9b4ea

Please sign in to comment.