1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
ifeq (,$(filter-out e2k%,$(ARCH)))
use/e2k: use/tty/S0 use/l10n/default/ru_RU
@$(call add_feature)
@$(call add,BASE_PACKAGES,installer-feature-e2k-fix-clock-stage3)
@$(call add,LIVE_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,LIVE_PACKAGES,installer-feature-e2k-ignore-cf-stage2)
@$(call add,LIVE_PACKAGES,blacklist-ide) # avoid overwriting hda
@$(call add,STAGE2_PACKAGES,agetty)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-xorg-conf-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-fstrim-stage2)
@$(call add,INSTALL2_PACKAGES,blacklist-ide) # avoid overwriting hda
@$(call add,INSTALL2_PACKAGES,ifplugd) # for net-eth link status
@$(call add,INSTALL2_CLEANUP_PACKAGES,llvm)
ifeq (,$(filter-out e2kv4 e2kv5,$(ARCH)))
@# 8C/8CB specific
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
endif
ifeq (,$(filter-out e2kv6 e2kv4,$(ARCH)))
@# 1C+/2C3 specific
@$(call add,SYSTEM_PACKAGES,softdep-mga2x) # mcst#8089
endif
@$(call add,SYSTEM_PACKAGES,softdep-i2c-mux) # mcst#8627
@$(call add,BASE_PACKAGES,mirror-e2k-alt)
@$(call add,THE_PACKAGES,fruid_print)
@$(call add,THE_PACKAGES,pwmd)
@$(call add,DEFAULT_SERVICES_DISABLE,pwmd)
@$(call add,DEFAULT_SERVICES_DISABLE,ModemManager) # COM issues
@$(call set,KFLAVOURS,elbrus-def) # no other flavours for now
@$(call set,REPO,http/pvt) # the only working way right now
@$(call xport,STAGE2_BOOTARGS)
use/e2k/x11: use/e2k use/x11
@$(call add,THE_PACKAGES,xorg-server xinit)
@$(call add,INSTALL2_PACKAGES,xorg-drv-amdgpu lccrt-blobs)
ifeq (,$(filter-out e2kv6,$(ARCH)))
use/e2k/multiseat/full:
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
@$(call add,MAIN_GROUPS,x-e2k/90-e1601)
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/e1601-,1seat 4seat))
@#$(call add,MAIN_GROUPS,x-e2k/90-e201) # wait for GPU split on *201*
@#$(call add,MAIN_GROUPS,$(addprefix x-e2k/e201-,1seat 2seat))
endif
ifeq (,$(filter-out e2kv5,$(ARCH)))
use/e2k/multiseat/full: use/e2k/multiseat/901/full; @:
# 6seat not tested so far but 1E8CB has three suitable PCIe slots
use/e2k/multiseat/901:
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
@$(call add,MAIN_GROUPS,x-e2k/90-e901)
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e901-1seat e901-2seat))
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e901-3seat))
use/e2k/multiseat/901/full: use/e2k/multiseat/901 use/control
@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
@$(call add,THE_PACKAGES,test-audio alterator-multiseat)
endif # e2kv5
ifeq (,$(filter-out e2kv4,$(ARCH)))
use/e2k/multiseat/full: use/e2k/multiseat/801/full; @:
use/e2k/x11/101: use/e2k/x11; @:
use/e2k/multiseat/801/base:
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
@$(call add,MAIN_GROUPS,x-e2k/90-e801)
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-1seat e801-2seat))
use/e2k/multiseat/801: use/e2k/multiseat/801/base
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-3seat e801-6seat))
use/e2k/multiseat/801/full: use/e2k/multiseat/801 use/control
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-2seat-4port))
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-3seat-4port))
@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
@$(call add,THE_PACKAGES,test-audio alterator-multiseat)
else
use/e2k/x11/101: use/e2k/x11; @:
endif # e2kv4
ifeq (,$(filter-out e2k,$(ARCH)))
use/e2k/multiseat/full:; @:
endif # e2k(v3)
ifeq (,$(filter-out e2k,$(ARCH)))
use/e2k/sound/401:
@$(call add,THE_PACKAGES,setup-alsa-elbrus-401)
else
use/e2k/sound/401:; @:
endif # e2k
else
use/e2k:; @:
use/e2k/%:; @:
endif # e2k%