lib: Add ostree_sysroot_init_osname() API, bump mtime

And change the command line to use it.  rpm-ostree had a copy
of this code, and thus there's a clear reason to have an API.

While we're moving this into API, ensure the mtime on deploy is bumped
after an osname is created, so that daemons like rpm-ostree can notice
changes.  (In reality, creating the directory should do this, but
let's be double sure)
This commit is contained in:
Colin Walters committed 2016-03-03 14:21:57 -05:00
1 parent 7ace5d35bd
commit fbd9409ebb
7 files changed
+108 -48

No files matched your search

+1
View File
@@ -316,4 +316,5 @@ LIBOSTREE_2016.4 {
global:
ostree_repo_get_dfd;
ostree_repo_list_refs_ext;
ostree_sysroot_init_osname;
} LIBOSTREE_2016.3;