education.mk: alt-education += power on e2k

ACPI power button event differs for some reason
(plain "button" instead of "button/power"), and
both acpid and systemd need special training to
cope with that (mcst#6148); let's at least make
it work in a release.
This commit is contained in:
Michael Shigorin 2022-11-10 18:23:24 +03:00 committed by Anton Midyukov
parent 2363ec904d
commit c42f4f9594

View File

@ -164,7 +164,7 @@ distro/alt-education-lite-live: distro/.base mixin/education-lite-live \
mixin/education-lite-base mixin/education-lite use/branding/full; @:
distro/education: distro/alt-education; @:
distro/alt-education: distro/.base \
distro/alt-education:: distro/.base \
mixin/education \
mixin/education-installer \
mixin/education-live \
@ -203,6 +203,10 @@ endif
@$(call add,CONTROL,sudo:public)
@$(call add,CONTROL,fusermount:wheelonly)
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/alt-education:: +power; @:
endif
endif # distro
ifeq (vm,$(IMAGE_CLASS))