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.
This commit is contained in:
Michael Shigorin 2020-08-25 22:08:06 +03:00
parent dff559dbef
commit fd781c0113

View File

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