mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Always ship the (gnu installer …) modules.
Fixes <https://bugs.gnu.org/35138>. Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>. * gnu/local.mk (INSTALLER_MODULES): New variable. (GNU_SYSTEM_MODULES, MODULES_NOT_COMPILED): Append $(INSTALLER_MODULES) conditionally.
This commit is contained in:
parent
660e00507e
commit
a7ad4505b7
1 changed files with 9 additions and 5 deletions
14
gnu/local.mk
14
gnu/local.mk
|
@ -584,9 +584,7 @@ GNU_SYSTEM_MODULES = \
|
|||
%D%/tests/virtualization.scm \
|
||||
%D%/tests/web.scm
|
||||
|
||||
if ENABLE_INSTALLER
|
||||
|
||||
GNU_SYSTEM_MODULES += \
|
||||
INSTALLER_MODULES = \
|
||||
%D%/installer.scm \
|
||||
%D%/installer/connman.scm \
|
||||
%D%/installer/final.scm \
|
||||
|
@ -618,13 +616,19 @@ GNU_SYSTEM_MODULES += \
|
|||
%D%/installer/newt/welcome.scm \
|
||||
%D%/installer/newt/wifi.scm
|
||||
|
||||
# Always ship the installer modules but compile them only when
|
||||
# ENABLE_INSTALLER is true.
|
||||
if ENABLE_INSTALLER
|
||||
GNU_SYSTEM_MODULES += $(INSTALLER_MODULES)
|
||||
elif !ENABLE_INSTALLER
|
||||
MODULES_NOT_COMPILED += $(INSTALLER_MODULES)
|
||||
endif
|
||||
|
||||
installerdir = $(guilemoduledir)/%D%/installer
|
||||
dist_installer_DATA = \
|
||||
%D%/installer/aux-files/logo.txt \
|
||||
%D%/installer/aux-files/SUPPORTED
|
||||
|
||||
endif ENABLE_INSTALLER
|
||||
|
||||
# Modules that do not need to be compiled.
|
||||
MODULES_NOT_COMPILED += \
|
||||
%D%/build/shepherd.scm \
|
||||
|
|
Loading…
Reference in a new issue