app: Rename livefs.cxx → apply-live.cxx

Continuing the renaming.
This commit is contained in:
Colin Walters 2021-02-12 21:06:13 +00:00 committed by OpenShift Merge Robot
parent 790e709360
commit ffe72d28ec
4 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ librpmostreeinternals_la_SOURCES = \
src/app/rpmostree-builtin-cliwrap.cxx \
src/app/rpmostree-builtin-initramfs.cxx \
src/app/rpmostree-builtin-initramfs-etc.cxx \
src/app/rpmostree-builtin-livefs.cxx \
src/app/rpmostree-builtin-applylive.cxx \
src/app/rpmostree-builtin-usroverlay.cxx \
src/app/rpmostree-builtin-override.cxx \
src/app/rpmostree-builtin-refresh-md.cxx \

View File

@ -67,11 +67,11 @@ get_args_variant (GError **error)
}
gboolean
rpmostree_ex_builtin_livefs (int argc,
char **argv,
RpmOstreeCommandInvocation *invocation,
GCancellable *cancellable,
GError **error)
rpmostree_ex_builtin_apply_live (int argc,
char **argv,
RpmOstreeCommandInvocation *invocation,
GCancellable *cancellable,
GError **error)
{
_cleanup_peer_ GPid peer_pid = 0;
glnx_unref_object RPMOSTreeSysroot *sysroot_proxy = NULL;

View File

@ -25,10 +25,10 @@
static RpmOstreeCommand ex_subcommands[] = {
{ "livefs", (RpmOstreeBuiltinFlags)(RPM_OSTREE_BUILTIN_FLAG_REQUIRES_ROOT | RPM_OSTREE_BUILTIN_FLAG_HIDDEN),
"Apply pending deployment changes to booted deployment",
rpmostree_ex_builtin_livefs },
rpmostree_ex_builtin_apply_live },
{ "apply-live", (RpmOstreeBuiltinFlags)RPM_OSTREE_BUILTIN_FLAG_REQUIRES_ROOT,
"Apply pending deployment changes to booted deployment",
rpmostree_ex_builtin_livefs },
rpmostree_ex_builtin_apply_live },
#ifdef BUILDOPT_ROJIG
{ "commit2rojig", (RpmOstreeBuiltinFlags)RPM_OSTREE_BUILTIN_FLAG_LOCAL_CMD,
"Convert an OSTree commit into an rpm-ostree rojig", rpmostree_ex_builtin_commit2rojig },

View File

@ -31,7 +31,7 @@ G_BEGIN_DECLS
GCancellable *cancellable, GError **error)
BUILTINPROTO(unpack);
BUILTINPROTO(livefs);
BUILTINPROTO(apply_live);
#ifdef BUILDOPT_ROJIG
BUILTINPROTO(commit2rojig);
BUILTINPROTO(rojig2commit);