From: Colin Walters Date: Sun, 23 Jul 2023 14:40:20 +0000 (-0400) Subject: generator: Stop creating `/run/ostree-booted` X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2^2~42^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec1109c7a93a2ed07503b12ffecf7048cf7cc0d0;p=ostree.git generator: Stop creating `/run/ostree-booted` This must have always been dead code. We're trying to iterate towards a place where it's only `ostree-prepare-root.c` which parses the `ostree=` kernel argument, and canonically sets up `/run/ostree-booted`. --- diff --git a/src/switchroot/ostree-system-generator.c b/src/switchroot/ostree-system-generator.c index d1091904..03a9bb42 100644 --- a/src/switchroot/ostree-system-generator.c +++ b/src/switchroot/ostree-system-generator.c @@ -67,14 +67,6 @@ main (int argc, char *argv[]) if (!ostree_cmdline) exit (EXIT_SUCCESS); - /* See comments in ostree-prepare-root.c for this. - * - * It's a lot easier for various bits of userspace to check for - * a file versus parsing the kernel cmdline. So let's ensure - * the stamp file is created here too. - */ - touch_run_ostree (); - { g_autoptr (GError) local_error = NULL; if (!ostree_cmd__private__ ()->ostree_system_generator (ostree_cmdline, arg_dest, NULL,