Top |
OstreeBootconfigParser * | ostree_bootconfig_parser_new () |
OstreeBootconfigParser * | ostree_bootconfig_parser_clone () |
gboolean | ostree_bootconfig_parser_parse () |
gboolean | ostree_bootconfig_parser_parse_at () |
gboolean | ostree_bootconfig_parser_write () |
gboolean | ostree_bootconfig_parser_write_at () |
void | ostree_bootconfig_parser_set () |
const char * | ostree_bootconfig_parser_get () |
void | ostree_bootconfig_parser_set_overlay_initrds () |
char ** | ostree_bootconfig_parser_get_overlay_initrds () |
OstreeBootconfigParser *
ostree_bootconfig_parser_clone (OstreeBootconfigParser *self
);
gboolean ostree_bootconfig_parser_parse (OstreeBootconfigParser *self
,GFile *path
,GCancellable *cancellable
,GError **error
);
gboolean ostree_bootconfig_parser_parse_at (OstreeBootconfigParser *self
,int dfd
,const char *path
,GCancellable *cancellable
,GError **error
);
Initialize a bootconfig from the given file.
gboolean ostree_bootconfig_parser_write (OstreeBootconfigParser *self
,GFile *output
,GCancellable *cancellable
,GError **error
);
gboolean ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self
,int dfd
,const char *path
,GCancellable *cancellable
,GError **error
);
void ostree_bootconfig_parser_set (OstreeBootconfigParser *self
,const char *key
,const char *value
);
Set the key
/value
pair to the boot configuration dictionary.
const char * ostree_bootconfig_parser_get (OstreeBootconfigParser *self
,const char *key
);
Get the value corresponding to key
from the boot configuration dictionary.
void ostree_bootconfig_parser_set_overlay_initrds (OstreeBootconfigParser *self
,char **initrds
);
These are rendered as additional initrd
keys in the final bootloader configs. The
base initrd is part of the primary keys.
self |
Parser |
|
initrds |
Array of overlay
initrds or |
[array zero-terminated=1][transfer none][allow-none] |
Since: 2020.7
char **
ostree_bootconfig_parser_get_overlay_initrds
(OstreeBootconfigParser *self
);
Array of initrds or NULL
if none are set.
[array zero-terminated=1][transfer none][nullable]
Since: 2020.7