From c1efb923eac56c64f7dc6738bae284922e49c09b Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Mon, 13 Sep 2021 07:40:44 +0700 Subject: [PATCH] build-vm, stage2: set GLOBAL_HSH_PROC=1 Enable /proc for build vm/ and distro/ with use/stage2. /proc needed for make-initrd >= 2.23.0. See also https://bugzilla.altlinux.org/40900 --- features.in/build-vm/config.mk | 1 + features.in/stage2/config.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/features.in/build-vm/config.mk b/features.in/build-vm/config.mk index 8d2153a1..f535a57a 100644 --- a/features.in/build-vm/config.mk +++ b/features.in/build-vm/config.mk @@ -1,3 +1,4 @@ # hooked from lib/sugar.mk use/build-vm: sub/rootfs@/ use/kernel/initrd-setup @$(call add_feature) + @$(call set,GLOBAL_HSH_PROC,1) diff --git a/features.in/stage2/config.mk b/features.in/stage2/config.mk index 219de2a0..e0ec1cb2 100644 --- a/features.in/stage2/config.mk +++ b/features.in/stage2/config.mk @@ -5,6 +5,7 @@ use/stage2:: sub/stage1 @$(call add,STAGE1_MODLISTS,$$(FEATURES)) @$(call xport,STAGE1_PACKAGES) @$(call xport,STAGE1_KCONFIG) + @$(call set,GLOBAL_HSH_PROC,1) ifneq (,$(filter-out e2k%,$(ARCH))) ifeq (,$(BRANCH))