image.in: add INSTALL_LANGS variable to setup rpm _install_langs

This option allows to make smallest images even smaller by reducing
amount of installed locales.
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2016-07-07 19:35:33 +03:00 committed by Michael Shigorin
parent 20b0b23fa2
commit 2f0bffda8b

View File

@ -60,6 +60,7 @@ COPY_TREE = ./files
CLEANUP_OUTDIR ?=
GLOBAL_TARGET := $(ARCH)
GLOBAL_HSH_LANGS := $(INSTALL_LANGS)
GLOBAL_HSH_APT_CONFIG := $(wildcard $(APTCONF))
# take the latter part for complex-specified subprofiles like stage2@live;
@ -114,5 +115,6 @@ debug::
@echo "IMAGEDIR=$(IMAGEDIR)"
@echo "ARCH=$(ARCH)"
@echo "GLOBAL_TARGET=$(GLOBAL_TARGET)"
@echo "GLOBAL_HSH_LANGS=$(GLOBAL_HSH_LANGS)"
@echo "GLOBAL_HSH_APT_CONFIG=$(GLOBAL_HSH_APT_CONFIG)"
@echo "GLOBAL_HSH_USE_QEMU=$(GLOBAL_HSH_USE_QEMU)"