From 5cb84f2013c5b1e48a7d0e617032266f1e6059e2 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 25 Nov 2024 16:17:33 +0100 Subject: system: Add "installer" sub-command. * guix/scripts/system/installer.scm: New file. * Makefile.am (MODULES)[ENABLE_INSTALLER]: Register it. (MODULES_NOT_COMPILED)[!ENABLE_INSTALLER]: Likewise. * guix/scripts/system.scm (show-help): Add help for "installer" sub-command. (actions): Register "installer". (guix-system): Invoke `guix-system-installer' sub-command. * doc/guix.texi (Invoking guix system): Document it. * gnu/installer.scm (run-installer): Remove "./pre-inst env". Change-Id: I5a05b941c060682c17d45d871df3cf34e3f8643a --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 0cff32c607..edbedd27f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -408,6 +408,14 @@ MODULES += \ endif BUILD_DAEMON_OFFLOAD +INSTALLER_SCRIPT = guix/scripts/system/installer.scm + +if ENABLE_INSTALLER +MODULES += $(INSTALLER_SCRIPT) +else +MODULES_NOT_COMPILED += $(INSTALLER_SCRIPT) +endif !ENABLE_INSTALLER + # Scheme implementation of the build daemon and related functionality. STORE_MODULES = \ guix/store/database.scm \ -- cgit v1.2.3