diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2014-04-22 15:36:03 -0700 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-04-25 16:47:02 -0400 |
commit | 4903fba08c9ed6c43fffc59fa9185d43ed9a52d6 (patch) | |
tree | 1d3a6731600c5df09b345bda61f1cd2a39892005 /src/ostree/ot-admin-builtin-os-init.c | |
parent | 32663a5a5041cabcca8cda04c5f4575fab64e394 (diff) | |
download | ostree-4903fba08c9ed6c43fffc59fa9185d43ed9a52d6.tar.gz |
os-init: don't create /var/log/journal on deploy
Leave the policy of whether to persistently store journal logs to the
system integrator when the default journald configuration is in use.
https://bugzilla.gnome.org/show_bug.cgi?id=728762
Diffstat (limited to 'src/ostree/ot-admin-builtin-os-init.c')
-rw-r--r-- | src/ostree/ot-admin-builtin-os-init.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ostree/ot-admin-builtin-os-init.c b/src/ostree/ot-admin-builtin-os-init.c index 38c2187e..19ed4a1c 100644 --- a/src/ostree/ot-admin-builtin-os-init.c +++ b/src/ostree/ot-admin-builtin-os-init.c @@ -62,15 +62,9 @@ ot_admin_builtin_os_init (int argc, char **argv, OstreeSysroot *sysroot, GCancel deploy_dir = ot_gfile_get_child_build_path (ostree_sysroot_get_path (sysroot), "ostree", "deploy", osname, NULL); /* Ensure core subdirectories of /var exist, since we need them for - * dracut generation, and the host will want them too. Note that at - * the moment we pre-create /var/log/journal to cater to systemd. + * dracut generation, and the host will want them too. */ g_clear_object (&dir); - dir = ot_gfile_get_child_build_path (deploy_dir, "var", "log", "journal", NULL); - if (!gs_file_ensure_directory (dir, TRUE, cancellable, error)) - goto out; - - g_clear_object (&dir); dir = ot_gfile_get_child_build_path (deploy_dir, "var", "tmp", NULL); if (!gs_file_ensure_directory (dir, TRUE, cancellable, error)) goto out; |