From fd781c0113e3757314d410ea8097a7dafa7a62ed Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 25 Aug 2020 22:08:06 +0300 Subject: [PATCH] power: ensure acpid is running on e2k The problem at hand is that sem@ explicitly disables acpid within installer-distro-simply-linux; early shots at ALT Education 9.0 for Elbrus suffered from this as e2k's power button handling differs slightly regarding events generated so we *do* need acpid{,-events-e2k} to poweroff on power button press. Hope this doesn't introduce regressions or woes for anyone. --- features.in/power/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features.in/power/config.mk b/features.in/power/config.mk index aa578b88..40875d50 100644 --- a/features.in/power/config.mk +++ b/features.in/power/config.mk @@ -15,7 +15,8 @@ use/power/acpi: use/power use/power/acpi/button: use/power/acpi ifeq (,$(filter-out e2k%,$(ARCH))) @$(call add,COMMON_PACKAGES,acpid-events-e2k) - @$(call add,DEFAULT_SERVICES_ENABLE,sysfs) + @$(call add,INSTALL2_PACKAGES,installer-feature-e2k-power-stage2) + @$(call add,DEFAULT_SERVICES_ENABLE,acpid sysfs) else @$(call add,COMMON_PACKAGES,acpid-events-power) endif