Colin Walters
|
44456c6dc1
|
lib/boot: Convert bootconfig parser to new code style
This is a small one.
Closes: #790
Approved by: jlebon
|
2017-04-19 13:26:20 +00:00 |
|
Colin Walters
|
37965644ff
|
tree-wide: Use g_hash_table_add() where applicable
Just noticed a few while reading some code, decided to do a quick
cleanup. It's shorter and clearer.
Closes: #614
Approved by: jlebon
|
2016-12-06 17:45:23 +00:00 |
|
Colin Walters
|
161193966c
|
[ASAN] bootconfig: Drop a pointless strdup in parser
Not entirely sure how this was leaking, but anyways it showed
up in ASAN, and it's pointless to strdup here.
Closes: #598
Approved by: jlebon
|
2016-11-30 18:51:26 +00:00 |
|
Colin Walters
|
fc25fa16e1
|
lib: Fix compiler warning from previous patch
I had this in a `fixup!` I thought.
Closes: #414
Approved by: giuseppe
|
2016-07-28 14:46:17 +00:00 |
|
Colin Walters
|
a38f2f41b2
|
lib: Fix leak in bootconfig parser
Pretty simple.
Closes: #410
Approved by: giuseppe
|
2016-07-28 10:10:17 +00:00 |
|
Colin Walters
|
3a4f90cf8e
|
bootconfig: Add ostree_bootconfig_parser_write_at
This fd-relative API will be used by later libostree porting in the
deploy code path.
|
2015-12-19 08:24:51 -05:00 |
|
Matthew Barnes
|
196d983af9
|
Use g_autoptr(GHashTable) instead of gs_unref_hashtable
|
2015-05-06 22:07:10 -04:00 |
|
Matthew Barnes
|
e6556dd223
|
Use g_autoptr(GBytes) instead of gs_unref_bytes
|
2015-05-06 22:07:10 -04:00 |
|
Matthew Barnes
|
7a62d64968
|
Use g_autofree instead of gs_free
|
2015-05-06 21:50:17 -04:00 |
|
Colin Walters
|
68ce554202
|
sysroot: Read the bootloader configuration with fd-relative API
Another piece of the conversion.
|
2015-03-09 14:29:14 -04:00 |
|
Colin Walters
|
646c8be8dc
|
deploy: fdatasync() bootloader configuration files
Yet more data we're writing out that needs to be sync'd.
|
2014-04-11 18:43:27 -04:00 |
|
Colin Walters
|
606918e763
|
libostree: Add ostree_bootconfig_parser_clone()
This will be necessary to fix ostree_deployment_clone(), but is
potentially useful on its own for other consumers.
|
2014-03-19 09:49:55 -04:00 |
|
Colin Walters
|
35bab87691
|
Move Deployment and BootconfigParser into libostree
As part of moving admin functionality there. While we are doing this,
rename OtConfigParser to OstreeBootConfig parser since it's a better
name.
|
2013-09-15 15:06:31 -04:00 |
|