e2k.mk: minor vm/* refactoring

Let's provide a more competent multi-system rescue image
while keeping some rescue bits common to all of the others.
This commit is contained in:
Michael Shigorin 2018-05-10 11:40:50 +03:00
parent cdaa9cdaa3
commit 17513ba38a

View File

@ -6,27 +6,31 @@ vm/.e2k-bare: vm/.bare use/e2k
vm/e2k-live: vm/.e2k-bare use/deflogin/live use/net-ssh use/control/sudo-su
@$(call add,THE_LISTS,$(call tags,ve tools))
vm/e2k-rescue: vm/e2k-live mixin/e2k-base use/services/lvm2-disable
vm/.e2k-rescue: vm/e2k-live \
mixin/e2k-base use/net/etcnet use/services/lvm2-disable
@$(call add,THE_PACKAGES,agetty gpm fdisk parted smartmontools pv sshfs)
@$(call add,THE_PACKAGES,make-initrd dhcpcd hdparm nfs-clients)
@$(call add,THE_LISTS,$(call tags,server && (network || extra)))
@$(call add,DEFAULT_SERVICES_DISABLE,gpm mdadm smartd)
vm/e2k-xfce: vm/e2k-rescue mixin/e2k-desktop use/x11/xfce
vm/e2k-rescue: vm/.e2k-rescue +sysvinit
@$(call add,KFLAVOURS,elbrus-1cp elbrus-8c elbrus-4c)
vm/e2k-xfce: vm/.e2k-rescue mixin/e2k-desktop use/x11/xfce
@$(call add,THE_PACKAGES,pnmixer)
vm/e2k-lxqt: vm/e2k-rescue mixin/e2k-desktop
@$(call add,THE_LISTS,$(call tags,(lxqt desktop) && !extra))
vm/e2k-mate: vm/.e2k-rescue use/deflogin/live use/x11/mate use/x11/lightdm/gtk \
mixin/e2k-base mixin/e2k-desktop mixin/e2k-livecd-install
@$(call add,THE_PACKAGES,LibreOffice-integrated LibreOffice-gnome)
@$(call add,THE_PACKAGES,LibreOffice-langpack-ru)
vm/e2k-mate: vm/systemd mixin/e2k-base mixin/e2k-desktop \
use/deflogin/live use/x11/mate; @:
vm/e2k-lxqt: vm/e2k-rescue mixin/e2k-desktop
vm/e2k-lxqt: vm/.e2k-rescue mixin/e2k-desktop
@$(call add,THE_LISTS,$(call tags,desktop && lxqt && !extra))
vm/e2k-builder: vm/e2k-rescue use/dev/builder/base; @:
vm/e2k-builder: vm/.e2k-rescue use/dev/builder/base
@$(call add,KFLAVOURS,elbrus-8c elbrus-4c)
vm/e2k-samba-DC: vm/e2k-rescue
vm/e2k-samba-DC: vm/.e2k-rescue
@$(call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
endif