Colin Walters
506a891e36
deploy: Find kernel/initramfs consistently from filesystem
...
I'm porting the deployment code to be fd-relative, but part of the
logic was using `GFile` to talk to `OstreeRepoFile` to determine the
"bootcsum" (boot config checksum) before checking out the file tree.
We can avoid having both code paths by checking out the tree first,
then looking at it on the filesystem.
2015-12-19 08:24:51 -05:00
Matthew Barnes
4ef0280941
Remove unnecessary #include "libgsystem.h"
2015-05-06 22:07:11 -04:00
Matthew Barnes
6a5f7b1288
Use glnx_unref_object instead of gs_unref_object
...
For non-GIO object types, at least until autocleanup support for GObject
based types becomes more widespread.
2015-05-06 22:07:04 -04:00
Matthew Barnes
7a62d64968
Use g_autofree instead of gs_free
2015-05-06 21:50:17 -04:00
Matthew Barnes
4f33515316
Juggling libglnx.h includes
2015-05-06 21:50:06 -04:00
Colin Walters
6ac880c959
deployment: Add an API to get relative origin path
...
This will be used for fd-relative cleanups.
2015-03-10 10:47:47 -04:00
Colin Walters
9fed088d6e
libostree: Fix ostree_deployment_clone() to also clone bootconfig
...
This way one can easily mutate it for a new deployment list.
2014-03-19 09:49:55 -04:00
Colin Walters
2b2c6ead22
sysroot: Update some annotations
...
We were double-freeing before.
2013-10-03 18:34:04 -04:00
Colin Walters
5c406132ce
libostree: Document and annotate some methods to quash g-ir-scanner warnings
...
Since warnings are bad. Introspection is good.
2013-09-20 14:00:31 -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