From 2fdbdd4b2f2b13b3b99cb2ef993e56445a5d1550 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 2 Jun 2017 14:50:29 +0200 Subject: [PATCH] lib/sysroot: Document the NO_CLEAN flag Closes: #900 Approved by: jlebon --- src/libostree/ostree-sysroot.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c index b8f494bf..03e742f1 100644 --- a/src/libostree/ostree-sysroot.c +++ b/src/libostree/ostree-sysroot.c @@ -1412,6 +1412,11 @@ ostree_sysroot_init_osname (OstreeSysroot *self, * If %OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NOT_DEFAULT is * specified, then instead of prepending, the new deployment will be * added right after the booted or merge deployment, instead of first. + * + * If %OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NO_CLEAN is + * specified, then no cleanup will be performed after adding the + * deployment. Make sure to call ostree_sysroot_cleanup() sometime + * later, instead. */ gboolean ostree_sysroot_simple_write_deployment (OstreeSysroot *sysroot,