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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# desktop distributions
ifeq (distro,$(IMAGE_CLASS))
mixin/kworkstation-common-deps: \
use/kernel/desktop use/kernel/net use/kernel/laptop \
use/live/x11 use/live use/live/sound use/live/repo/online \
use/syslinux/ui/gfxboot use/plymouth/full \
use/efi/grub use/efi/shell \
use/x11/xorg \
use/branding/complete \
use/firmware/wireless use/firmware/laptop use/firmware/cpu use/wireless/full \
use/vmguest/complete use/vmguest/vbox/x11 use/vmguest/vmware/x11 \
use/power/acpi \
use/luks \
use/net-eth/dhcp use/net-ssh use/net/nm/nodelay use/net/etcnet \
use/ntp/chrony \
use/docs/full \
use/xdg-user-dirs \
use/l10n/default/ru_RU \
use/control use/services \
use/x11/intel use/x11/radeon use/x11/amdgpu use/x11/nvidia \
use/x11/kde5-display-manager-lightdm use/x11/wacom \
use/memtest \
use/init/systemd \
use/cleanup/live-no-cleanupdb \
use/stage2/ata use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs use/stage2/cifs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb \
use/alternatives/xvt/konsole \
+wireless +pulse +plymouth +systemd-optimal +wireless +vmguest +efi +nm \
use/stage2/kms/nvidia
mixin/kworkstation-common-opts:
@$(call set,LOCALES,ru_RU be_BY en_US)
@$(call set,BRANDING,xalt-kworkstation)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call set,BOOTLOADER,grubpcboot)
endif
@$(call set,GRUBTHEME,branding-xalt-kworkstation)
@$(call set,DOCS,alt-kworkstation)
@$(call try,THE_BROWSER,chromium-gost)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,THE_KMODULES,staging)
@$(call add,BASE_PACKAGES,os-prober)
@$(call add,BASE_PACKAGES,plymouth-plugin-label)
@$(call add,THE_PACKAGES,pam-limits-desktop)
@$(call add,THE_PACKAGES,systemd-presets-kdesktop)
@$(call add,THE_PACKAGES,systemd-oomd-defaults)
@$(call add,THE_PACKAGES,etcnet-defaults-desktop)
@$(call add,THE_PACKAGES,btrfs-progs)
@$(call set,INSTALL2_FONTS,fonts-ttf-google-croscore-arimo)
@$(call set,LIVECD_FONTS,fonts-ttf-google-noto-sans)
@$(call add,THE_PACKAGES,fonts-ttf-dejavu)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-sans)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-serif)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-sans-mono)
@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-caladea)
@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-carlito)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-sans-symbols)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-sans-symbols2)
@$(call add,THE_PACKAGES,fonts-ttf-material-icons)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-emoji)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-emoji-color)
@$(call add,THE_LISTS,$(call tags,basesystem alterator))
@$(call add,MAIN_LISTS,kworkstation/disk-install)
@$(call add,THE_LISTS,tagged/desktop+xorg)
@$(call add,THE_LISTS,tagged/xorg+misc)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,CONTROL,fusermount:wheelonly)
@$(call add,CONTROL,libnss-role:enabled)
@$(call add,SERVICES_ENABLE,smb)
@$(call add,SERVICES_ENABLE,nmb)
@$(call add,SERVICES_ENABLE,postfix)
@$(call add,SERVICES_ENABLE,crond)
@$(call add,SERVICES_ENABLE,x11presetdrv)
@$(call add,SERVICES_ENABLE,bluetooth)
@$(call add,SERVICES_ENABLE,ModemManager)
@$(call add,SERVICES_ENABLE,NetworkManager)
@$(call add,SERVICES_DISABLE,NetworkManager-wait-online)
@$(call add,SERVICES_ENABLE,autofs)
@$(call add,SERVICES_ENABLE,fstrim.timer)
@$(call add,SERVICES_ENABLE,org.cups.cupsd.socket)
@$(call add,SERVICES_ENABLE,cups.socket)
@$(call add,SERVICES_ENABLE,org.cups.cupsd.path)
@$(call add,SERVICES_ENABLE,cups.path)
@$(call add,SERVICES_ENABLE,cups-browsed.service)
@$(call add,SERVICES_DISABLE,org.cups.cupsd.service)
@$(call add,SERVICES_DISABLE,cups.service)
@$(call add,SERVICES_ENABLE,rngd)
@$(call add,SERVICES_ENABLE,alteratord ahttpd)
@$(call add,SERVICES_DISABLE,sysreport)
@$(call add,SERVICES_DISABLE,rescue-remote)
@$(call add,SERVICES_DISABLE,nscd)
@$(call add,SERVICES_DISABLE,lircd)
@$(call add,SERVICES_DISABLE,openl2tp)
@$(call add,SERVICES_DISABLE,slapd)
@$(call add,SERVICES_ENABLE,snapd.socket)
@$(call add,SERVICES_ENABLE,power-profiles-daemon.service)
@$(call add,CLEANUP_BASE_PACKAGES,'libwbclient-sssd')
@$(call add,CLEANUP_PACKAGES,'^kernel-modules-drm-nouveau.*')
@$(call add,CLEANUP_PACKAGES,'xterm')
@$(call add,CLEANUP_LIVE_PACKAGES,'xterm')
@$(call add,CLEANUP_PACKAGES,'udev-rule-generator-net')
@$(call add,CLEANUP_LIVE_PACKAGES,'livecd-main-repo')
@$(call set,META_VOL_SET,ALT)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_ID,ALT Workstation K $(DISTRO_VERSION)$(STATUS))
@$(call set,META_APP_ID,ALT Workstation K $(DISTRO_VERSION)$(STATUS) $(ARCH) $(shell date +%F))
mixin/kworkstation-install-deps: \
distro/.installer mixin/desktop-installer \
use/install2/suspend use/install2/net use/install2 use/install2/stage3 use/install2/vnc \
use/install2/vmguest \
use/stage2/net-install \
use/grub/localboot_bios.cfg \
+installer
mixin/kworkstation-install-opts:
@$(call set,GRUB_DEFAULT,harddisk)
@$(call set,INSTALLER,centaurus)
@$(call add,STAGE1_MODLISTS,stage2-ntfs)
@$(call add,STAGE2_KMODULES,drm-nouveau)
@$(call add,THE_PACKAGES,installer-feature-nfs-client-stage3)
@$(call add,BASE_PACKAGES,plasma5-welcome)
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
@$(call add,INSTALL2_PACKAGES,btrfs-progs)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-usershares-kde-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-automount-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-weak-passwd)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-disable-remote-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-etcissue)
@$(call add,INSTALL2_PACKAGES,installer-feature-kdesktop-tmpfs)
@$(call add,INSTALL2_PACKAGES,installer-feature-kdesktop-services)
@$(call add,INSTALL2_PACKAGES,installer-feature-vmservices)
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
@$(call add,INSTALL2_PACKAGES,installer-feature-set-tz)
@$(call add,INSTALL2_PACKAGES,installer-feature-rootgtktheme-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-alterator-setup-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-lightdm-kde)
@$(call add,INSTALL2_PACKAGES,installer-feature-packagekit-setup)
@$(call add,INSTALL2_PACKAGES,installer-feature-xprofile-clear)
@$(call add,INSTALL2_PACKAGES,installer-feature-systemd-oomd)
@$(call add,INSTALL2_PACKAGES,installer-feature-webterminal-setup)
@$(call add,INSTALL2_PACKAGES,installer-feature-remove-xorgconf)
@$(call add,INSTALL2_PACKAGES,apt-scripts-nvidia)
@$(call add,INSTALL2_PACKAGES,volumes-profile-kdesktop)
@$(call add,INSTALL2_PACKAGES,udev-rules-ioschedulers)
@$(call add,INSTALL2_PACKAGES,passwdqc-utils)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-dri-nouveau xorg-drv-nouveau)
@$(call add,INSTALL2_CLEANUP_PACKAGES,icon-theme-adwaita fonts-ttf-dejavu fonts-bitmap-misc)
@$(call add,INSTALL2_CLEANUP_PACKAGES,libdconf dconf colord)
@$(call add,INSTALL2_CLEANUP_PACKAGES,shared-mime-info glib-networking libgtk+3-schemas gtk-update-icon-cache libgtk+3)
@$(call add,INSTALL2_CLEANUP_PACKAGES,libat-spi2-core at-spi2-core at-spi2-atk)
@$(call add,MAIN_GROUPS,$(kworkstation_groups))
@$(call add,THE_PROFILES,kworkstation/10-workstation)
@$(call add,THE_PROFILES,kworkstation/20-webterminal)
@$(call add,BASE_PACKAGES,alterator-postinstall)
@$(call add,BASE_PACKAGES,make-initrd-mdadm mdadm)
@$(call add,BASE_PACKAGES,apt-scripts-nvidia)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,LIVE_LISTS,$(call tags,rescue fs))
@$(call add,LIVE_LISTS,$(call tags,rescue live))
@$(call add,LIVE_LISTS,$(call tags,rescue x11))
@$(call add,LIVE_LISTS,$(call tags,rescue extra))
@$(call add,LIVE_LISTS,$(call tags,rescue crypto))
@$(call add,LIVE_LISTS,sound/pulseaudio)
@$(call add,LIVE_LISTS,kworkstation/live-rescue)
@$(call add,LIVE_LISTS,kworkstation/printing)
@$(call add,LIVE_LISTS,kworkstation/scanning)
@$(call add,THE_LISTS,kworkstation/kde5-base)
@$(call add,SERVICES_ENABLE,sshd)
mixin/kworkstation-live-deps: \
distro/.base use/rescue \
use/x11/xorg use/x11-autostart \
use/live/no-cleanup \
use/grub/live_rw.cfg \
+net-eth +vmguest
mixin/kworkstation-live-opts:
@$(call add,BASE_LISTS, \
$(call tags,(base || desktop) && (l10n || network)))
@$(call add,GRUB_TIMEOUT,3)
@$(call set,GRUB_DEFAULT,session)
@$(call add,SYSLINUX_CFG,live_rw)
@$(call set,SYSLINUX_DEFAULT,session)
@$(call add,LIVE_LISTS,kworkstation/kde5-base)
@$(call add,LIVE_LISTS,kworkstation/kde5)
@$(call add,LIVE_LISTS,kworkstation/emulators)
@$(call add,LIVE_LISTS,kworkstation/graphics-editing)
@$(call add,LIVE_LISTS,kworkstation/printing)
@$(call add,LIVE_LISTS,kworkstation/publishing)
@$(call add,LIVE_LISTS,kworkstation/scanning)
@$(call add,LIVE_LISTS,kworkstation/remote-desktop)
@$(call add,LIVE_LISTS,kworkstation/sound-editing)
@$(call add,LIVE_LISTS,kworkstation/video-editing)
@$(call add,SERVICES_DISABLE,sshd)
@$(call add,CLEANUP_LIVE_PACKAGES,'flatpak')
@$(call add,CLEANUP_LIVE_PACKAGES,'snapd')
@$(call set,META_VOL_ID,ALT Workstation K $(DISTRO_VERSION)$(STATUS) Live)
@$(call set,META_APP_ID,ALT Workstation K $(DISTRO_VERSION)$(STATUS) Live $(ARCH) $(shell date +%F))
distro/kworkstation-install: \
kworkstation_groups = $(addprefix kworkstation/,\
kde5 \
games \
emulators remote-desktop \
printing publishing scanning \
video-editing sound-editing graphics-editing \
z00-add-3dparty 3dparty-flatpak 3dparty-snap \
z01-add-clients clients-ad clients-ipa clients-backup clients-cloud clients-monitor \
z02-add-additional add-oem add-tablet add-webterminal add-no4k-screen)
distro/kworkstation-install: \
mixin/kworkstation-install-deps \
mixin/kworkstation-common-deps \
mixin/kworkstation-common-opts \
mixin/kworkstation-install-opts
distro/kworkstation-live: \
mixin/kworkstation-live-deps \
mixin/kworkstation-common-deps \
mixin/kworkstation-common-opts \
mixin/kworkstation-live-opts
distro/kworkstation-install-undef: \
distro/kworkstation-install
@$(call set,KFLAVOURS,un-def)
distro/kworkstation-live-undef: \
distro/kworkstation-live
@$(call set,KFLAVOURS,un-def)
mixin/kworkstation-fsin-opts:
@$(call add,THE_PACKAGES,libwbclient task-auth-ad-sssd)
@$(call add,THE_PACKAGES,task-auth-freeipa task-auth-ldap-sssd)
@$(call add,THE_PACKAGES,task-samba-dc bind-utils tdb-utils installer-feature-sambaDC-stage3)
@$(call add,THE_PACKAGES,task-auth-ldap-sssd)
@$(call add,THE_PACKAGES,kde5-autofs-shares krb5-ticket-watcher kde5-file-actions-gost)
@$(call add,THE_PACKAGES,openssl-gost-engine)
@$(call add,THE_PACKAGES,openvpn-gostcrypto openvpn-plugins-gostcrypto alterator-openvpn-server)
@$(call add,THE_PACKAGES,alt-customize-branding)
@$(call add,THE_PACKAGES,alterator-kiosk)
@$(call add,SERVICES_ENABLE,kiosk)
distro/kworkstation-install-fsin: \
distro/kworkstation-install \
mixin/kworkstation-fsin-opts
@$(call set,KFLAVOURS,std-def)
endif
# @$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
# use/mediacheck \
# use/domain-client/full \