From ec1109c7a93a2ed07503b12ffecf7048cf7cc0d0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 23 Jul 2023 10:40:20 -0400 Subject: [PATCH] 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`. --- src/switchroot/ostree-system-generator.c | 8 -------- 1 file changed, 8 deletions(-) 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, -- 2.30.2