From e35e3db8785a4fbe5bd7bf2e756e8d1674849f85 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 6 Aug 2018 21:08:45 +0300 Subject: [PATCH] apt-conf: initial feature This has been factored out from distro/alt-workstation adaptation for e2k arch (as it looks more widely useful). --- features.in/apt-conf/README | 1 + features.in/apt-conf/config.mk | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 features.in/apt-conf/README create mode 100644 features.in/apt-conf/config.mk diff --git a/features.in/apt-conf/README b/features.in/apt-conf/README new file mode 100644 index 00000000..dd7f3c7f --- /dev/null +++ b/features.in/apt-conf/README @@ -0,0 +1 @@ +Данная фича определяет то, какая конфигурация apt попадёт в образ. diff --git a/features.in/apt-conf/config.mk b/features.in/apt-conf/config.mk new file mode 100644 index 00000000..bb039545 --- /dev/null +++ b/features.in/apt-conf/config.mk @@ -0,0 +1,8 @@ +use/apt-conf: + @$(call add_feature) + @$(call add,THE_PACKAGES,apt-conf-$$(THE_APT_CONF)) + @$(call set,IMAGE_INIT_LIST,+apt-conf-$$(THE_APT_CONF)) + @$(call try,THE_APT_CONF,sisyphus) + +use/apt-conf/branch: + @$(call set,THE_APT_CONF,branch)