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:
1 parent
7ace5d35bd
commit
fbd9409ebb
7 files changed
+108
-48
No files matched your search
@@ -397,6 +397,7 @@ ostree_sysroot_get_deployment_origin_path
|
||||
ostree_sysroot_cleanup
|
||||
ostree_sysroot_prepare_cleanup
|
||||
ostree_sysroot_get_repo
|
||||
ostree_sysroot_init_osname
|
||||
ostree_sysroot_deployment_set_kargs
|
||||
ostree_sysroot_write_deployments
|
||||
ostree_sysroot_deploy_tree
|
||||
|
||||
Reference in new issue
Block a user