profiles, metadata: s/PKG_PROFILES/THE_PROFILES/g

...to reduce the divergence with the rest of related variables;
these installer profiles affect the default checkbox states.
This commit is contained in:
Michael Shigorin 2018-06-20 13:07:56 +03:00
parent f03933f3a5
commit 9e80387420
3 changed files with 9 additions and 4 deletions

View File

@ -42,5 +42,5 @@ metadata: metadata-.base
tar -C $(PKGDIR) -cvf - \ tar -C $(PKGDIR) -cvf - \
$(call rlist,.base $(call groups2lists)) \ $(call rlist,.base $(call groups2lists)) \
$(call rgroup,$(THE_GROUPS) $(MAIN_GROUPS)) \ $(call rgroup,$(THE_GROUPS) $(MAIN_GROUPS)) \
$(call rprofile,$(PKG_PROFILES)) \ $(call rprofile,$(THE_PROFILES)) \
> $(METADIR)/pkg-groups.tar > $(METADIR)/pkg-groups.tar

View File

@ -10,12 +10,12 @@ SUFFIX := pkg/profiles
TARGET := $(BUILDDIR)/$(SUFFIX) TARGET := $(BUILDDIR)/$(SUFFIX)
all: $(GLOBAL_DEBUG) all: $(GLOBAL_DEBUG)
@if [ -n "$(PKG_PROFILES)" ]; then \ @if [ -n "$(THE_PROFILES)" ]; then \
mkdir -p $(TARGET) && \ mkdir -p $(TARGET) && \
cp -at $(TARGET) -- \ cp -at $(TARGET) -- \
$(addsuffix .directory,$(PKG_PROFILES)); \ $(addsuffix .directory,$(THE_PROFILES)); \
mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"; \ mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"; \
fi fi
debug: debug:
@echo "** PKG_PROFILES: $(PKG_PROFILES)" @echo "** THE_PROFILES: $(THE_PROFILES)"

5
pkg.in/profiles/README Normal file
View File

@ -0,0 +1,5 @@
=== pkg.in/profiles ===
Этот каталог содержит описания профилей установки дистрибутива.
Состояние: экспериментальный перенос из mkimage-profiles-desktop.