| Top |
| guint | ostree_deployment_hash () |
| gboolean | ostree_deployment_equal () |
| OstreeDeployment * | ostree_deployment_new () |
| int | ostree_deployment_get_index () |
| const char * | ostree_deployment_get_osname () |
| int | ostree_deployment_get_deployserial () |
| const char * | ostree_deployment_get_csum () |
| const char * | ostree_deployment_get_bootcsum () |
| int | ostree_deployment_get_bootserial () |
| OstreeBootconfigParser * | ostree_deployment_get_bootconfig () |
| GKeyFile * | ostree_deployment_get_origin () |
| char * | ostree_deployment_get_origin_relpath () |
| OstreeDeploymentUnlockedState | ostree_deployment_get_unlocked () |
| void | ostree_deployment_set_index () |
| void | ostree_deployment_set_bootserial () |
| void | ostree_deployment_set_bootconfig () |
| void | ostree_deployment_set_origin () |
| OstreeDeployment * | ostree_deployment_clone () |
| const char * | ostree_deployment_unlocked_state_to_string () |
OstreeDeployment * ostree_deployment_new (int index,const char *osname,const char *csum,int deployserial,const char *bootcsum,int bootserial);
int
ostree_deployment_get_deployserial (OstreeDeployment *self);
const char *
ostree_deployment_get_bootcsum (OstreeDeployment *self);
OstreeBootconfigParser *
ostree_deployment_get_bootconfig (OstreeDeployment *self);
char *
ostree_deployment_get_origin_relpath (OstreeDeployment *self);
Note this function only returns a *relative* path - if you want to
access, it, you must either use fd-relative api such as openat(),
or concatenate it with the full ostree_sysroot_get_path().
OstreeDeploymentUnlockedState
ostree_deployment_get_unlocked (OstreeDeployment *self);
void ostree_deployment_set_index (OstreeDeployment *self,int index);
void ostree_deployment_set_bootserial (OstreeDeployment *self,int index);
void ostree_deployment_set_bootconfig (OstreeDeployment *self,OstreeBootconfigParser *bootconfig);
void ostree_deployment_set_origin (OstreeDeployment *self,GKeyFile *origin);
typedef struct {
GObject parent_instance;
int index;
char *osname;
char *csum;
int deployserial;
char *bootcsum;
int bootserial;
OstreeBootconfigParser *bootconfig;
GKeyFile *origin;
OstreeDeploymentUnlockedState unlocked;
} OstreeDeployment;
Global offset |
||
OSTree checksum of tree |
||
How many times this particular csum appears in deployment list |
||
Checksum of kernel+initramfs |
||
An integer assigned to this tree per its ${bootcsum} |
||
OstreeBootconfigParser * |
Bootloader configuration |
|
GKeyFile * |
How to construct an upgraded version of this tree |
|
The unlocked state |