Commit 2f0bffda authored by Gleb Fotengauer-Malinovskiy's avatar Gleb Fotengauer-Malinovskiy Committed by Michael Shigorin

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.
parent 20b0b23f
...@@ -60,6 +60,7 @@ COPY_TREE = ./files ...@@ -60,6 +60,7 @@ COPY_TREE = ./files
CLEANUP_OUTDIR ?= CLEANUP_OUTDIR ?=
GLOBAL_TARGET := $(ARCH) GLOBAL_TARGET := $(ARCH)
GLOBAL_HSH_LANGS := $(INSTALL_LANGS)
GLOBAL_HSH_APT_CONFIG := $(wildcard $(APTCONF)) GLOBAL_HSH_APT_CONFIG := $(wildcard $(APTCONF))
# take the latter part for complex-specified subprofiles like stage2@live; # take the latter part for complex-specified subprofiles like stage2@live;
...@@ -114,5 +115,6 @@ debug:: ...@@ -114,5 +115,6 @@ debug::
@echo "IMAGEDIR=$(IMAGEDIR)" @echo "IMAGEDIR=$(IMAGEDIR)"
@echo "ARCH=$(ARCH)" @echo "ARCH=$(ARCH)"
@echo "GLOBAL_TARGET=$(GLOBAL_TARGET)" @echo "GLOBAL_TARGET=$(GLOBAL_TARGET)"
@echo "GLOBAL_HSH_LANGS=$(GLOBAL_HSH_LANGS)"
@echo "GLOBAL_HSH_APT_CONFIG=$(GLOBAL_HSH_APT_CONFIG)" @echo "GLOBAL_HSH_APT_CONFIG=$(GLOBAL_HSH_APT_CONFIG)"
@echo "GLOBAL_HSH_USE_QEMU=$(GLOBAL_HSH_USE_QEMU)" @echo "GLOBAL_HSH_USE_QEMU=$(GLOBAL_HSH_USE_QEMU)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment