build-vm, stage2: set GLOBAL_HSH_PROC=1

Enable /proc for build vm/<target> and distro/<target> with use/stage2.
/proc needed for make-initrd >= 2.23.0.
See also https://bugzilla.altlinux.org/40900
This commit is contained in:
Anton Midyukov 2021-09-13 07:40:44 +07:00
parent b17ae8bbd7
commit c1efb923ea
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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))