6320 Commits

Author SHA1 Message Date
Anton Midyukov
d6105c2197 storage/{linstor-satellite,zfs}: use @KFLAVOUR suffix 2024-04-01 22:17:59 +07:00
Anton Midyukov
edb74e1b5d virt/pve: use @KFLAVOUR suffix 2024-04-01 22:17:41 +07:00
Anton Midyukov
132db8d1a7 services: fix enable/disable bluetooth (fix typo) 2024-04-01 22:13:26 +07:00
Anton Midyukov
cc2232cbec mobile/phosh: add phosh-tour 2024-04-01 22:13:26 +07:00
Anton Midyukov
3b79f72927 mobile/apps: add loupe - image viewer 2024-04-01 22:13:26 +07:00
Anton Midyukov
f9caed0437 initrd-bootchain, initrd-propagator: use STAGE1_KFLAVOURS instead KFLAVOURS
The image and the installed system may have kernels with different KFLAVOUR.
2024-03-27 01:11:21 +07:00
Anton Midyukov
1bdd9b4675 mobile/apps: add wl-clipboard
Command-line copy/paste utilities for Wayland.
2024-03-26 20:57:53 +07:00
Anton Midyukov
6aa2770edf virt/extra.pkgs: use @KFLAVOUR suffix 2024-03-25 22:56:43 +07:00
Anton Midyukov
25e5bbbc16 realtime.mk: add kernel headers via kernel-headers package list 2024-03-25 22:52:38 +07:00
Anton Midyukov
fee09abc4a education.mk: fix added kernel headers packages 2024-03-25 22:51:19 +07:00
Michael Shigorin
5c44432dab centaurus/disk-dvd: fix archdep packages
kvm isn't universally available, let's at least mark it this way.
2024-03-25 22:40:03 +07:00
Michael Shigorin
4a6dcee8be e2k: add softdep-i2c-mux (mcst#8627)
This one fixes the "cooler goes off during installation"
10.2rc problem on multi-CPU e8c2 motherboards that follows
misinitialization of sensor drivers (lacking i2c mux init
_before_ them) and subsequent misreading of zero degree
temperature for CPUs (would need no cooling if it was true).

See-also: mcst#8627
Suggested-by: mcst.ru folks
Tested-by: elbrus.ru folks
2024-03-25 22:40:03 +07:00
Michael Shigorin
67efffe594 e2k: disable e201 multiseat for now
It only makes sense on engineering samples of .404 board,
and 201-PC is .480 with only a single 4X PCIe gen3 slot
that needs riser to get a reasonable videocard connected
(manual multiseat setup is a minor hurdle it seems).
2024-03-25 22:40:03 +07:00
Michael Shigorin
0d3f4fa08d e2k: drop GPU variants for e1cp
We don't do ship vivante drivers since p9_e2k
as those behaved erratically with gtk+3 at least
(and were a major PITA to handle in the first place,
and nobody asked in the end: folks just needed 2D+Xv);
so no sense to bring extra noise into installation.
2024-03-25 22:40:03 +07:00
Michael Shigorin
cee1c90bce e2k: improve 20-initrd-e2k-kms for integrated GPUs 2024-03-25 22:40:03 +07:00
Michael Shigorin
576dcbce08 e2k: support 4-port motherboards in 2/3-seat setups
See the .318-01 related story in a nearby pkg.in commit.
2024-03-25 22:40:03 +07:00
Michael Shigorin
de1df01fa5 pkg.in: rework 2/3-seat groups/lists
The reason is that there were several batches of
4-port .318-01 based 801-PC systems shipped specifically
as multiseat ones (with two RX570 or three simpler GPUs),
and it's more reasonable to provide out-of-box support
for those in a new release instead of having to resort
to manual setups with alterator-multiseat, messing with
the installer-provided configuration by hand or giving up
(or, well, building a sideline installer images with
custom udev-conf packages).
2024-03-25 22:40:03 +07:00
Michael Shigorin
0f2decad17 x11: mga2 is v4/v6 now
e2kv4 with mga2  is e1cp (Elbrus-1C+);
e2kv6 with mga25 is e2c3 (Elbrus-2C3).

xorg driver is the same.
2024-03-25 22:40:03 +07:00
Michael Shigorin
727c3b6bd5 e2k: fix embedded gpu handling tweak
e1cp and e2c3 have tricky GPU driver modules that can misinit
given the lack of other modules they don't directly depend on;
let's provide softdep lists so that the prereqs do get loaded.

See-also: mcst#8098
2024-03-25 22:40:03 +07:00
Michael Shigorin
631b25cbee e2k: add softdep workaround for mga25.ko
The problem is with indirect module initialization dependencies
(the infamous "Driver probe function unexpectedly returned 256"
error when loading the module from initrd and not full rootfs);
let's provide modprobe with a hint.

Suggested-by: Vitaly Chikunov <vt@altlinux.org>
See-also: mcst#8089
See-also: mcst#8392
2024-03-25 22:40:03 +07:00
Michael Shigorin
3fc55d528f e2k: installer-feature-e2k-{801-,}multiseat
...accordingly to the package getting renamed.
2024-03-25 22:40:03 +07:00
Michael Shigorin
cebb79d265 e2k: initial v6 multiseat support
201-PC has been developed using .404 motherboards
(IIRC using the two middle PCIe slots for GPUs);
1601-PC one has been done with .466 motherboard
by sciberia.io guys who have outrun me at that!
2024-03-25 22:40:03 +07:00
Michael Shigorin
6acc6b2910 groups/x-e2k: cosmetic fixup 2024-03-25 22:40:03 +07:00
Michael Shigorin
c4c3a24ff6 groups/x-e2k: initial v6 multiseat support 2024-03-25 22:40:03 +07:00
Michael Shigorin
f3ec121f29 lists/x-e2k: initial v6 multiseat support
The packages might need more tweaks and PCIe slot
specifics in documentation but the configurations
were taken from real systems.
2024-03-25 22:40:03 +07:00
Michael Shigorin
61d19fda78 basealt.mk: update e2k iso .disk/info records 2024-03-25 22:40:03 +07:00
Michael Shigorin
5d2713ab97 alt-server.mk: add e2kv6 metadata
It's an artificial name albeit my workstation (nee build server)
is dubbed e1601 at work, but it's still beta than nothin'.
2024-03-25 22:40:03 +07:00
Michael Shigorin
084794bc30 e2k: configure default REPO
It's actually set within the corresponding apt-conf
but referring to that here is better than tossing
REPO=http/pvt all over the make runs.
2024-03-25 22:40:03 +07:00
Michael Shigorin
9e3112996b basealt.mk: add special power handling for e2k
There are two reasons to use/power on Elbrus:

1) current kernels generate "button" event for ACPI
   power button press instead of "button/power";
   systemd doesn't grok that, and acpid needs special
   configuration to (which needs to be fixed properly
   in said kernels but just not done yet -- mcst#6148);

2) installer-feature-e2k-power is useful on e2kv6
   as it configures e2k-pcs-cpufreq to autoload.

See-also: http://www.gnu.org/software/make/manual/make.html#Double_002dColon

PS: e2k-pcs-cpufreq uses to be builtin, *argh*
2024-03-25 22:40:03 +07:00
Michael Shigorin
c42f4f9594 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.
2024-03-25 22:40:03 +07:00
Michael Shigorin
2363ec904d education.mk: avoid installer-feature-quota-stage2 on e2k
Works on server/workstation but surprisingly not with education:

● quotaon.service - Enable File System Quotas
     Loaded: loaded (/lib/systemd/system/quotaon.service; static)
     Active: failed (Result: exit-code) since ...
       Docs: man:quotaon(8)
   Main PID: N (code=exited, status=4)
        CPU: 10ms

systemd[1]: Starting Enable File System Quotas...
quotaon[N]: quotaon: cannot find /home/aquota.group on /dev/sda6 [/home]
quotaon[N]: quotaon: cannot find /home/aquota.user on /dev/sda6 [/home]
quotaon[N]: quotaon: cannot find /boot/aquota.group on /dev/sda1 [/boot]
quotaon[N]: quotaon: cannot find /boot/aquota.user on /dev/sda1 [/boot]
systemd[1]: quotaon.service: Main process exited, code=exited, status=4/NOPERMISSION
systemd[1]: quotaon.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Enable File System Quotas.
2024-03-25 22:40:03 +07:00
Michael Shigorin
359574fa74 education/server-apps-edu: skip i-f-repo-add on e2k
It's pretty useless by now IMNSHO given the typical USB flash drive
as the installation media and online repos -- and *seems* to have
problems with flash-based installation:

Running postinstall script [90-pkg.sh] /dev /
/
mount: /media/ALTLinux: /dev/sdb1 already mounted or mount point busy.
2024-03-25 22:40:03 +07:00
Michael Shigorin
f25ca1c3b6 mixin-basealt.mk: avoid installer-feature-repo-add on e2k
...as it rather introduces red ink for no good reason:

Running postinstall script [90-pkg.sh] /dev /
/
mount: /media/ALTLinux: /dev/sdb1 already mounted or mount point busy.
2024-03-25 22:40:03 +07:00
Michael Shigorin
b88e56470b e2k: fix dummy
It should do some work: nothing else might have pulled use/x11 in
(which brings another topic to the table: we'd probably better
have some platform-independent targets that pull archdep pieces in
under the hood).

Fixes: 2002e6251b6ef796e92aa1f174847cd3e196294b
2024-03-25 22:40:03 +07:00
Michael Shigorin
d8b4e379f3 e2k: disable ModemManager by default
Looks like it can get stuck for quite some time on serial ports
that are present and might be occupied by other processes already.
2024-03-25 22:40:03 +07:00
Michael Shigorin
1c103eb846 basealt.mk: add 201-PC for e2kv6
Typing this on an e16c based workstation but 201-PC seems more
likely a target for now.
2024-03-25 22:40:03 +07:00
Michael Shigorin
371a108dae workstation/smplayer: s/mplayer/mpv/ for performance
mpv backend seems to go parallel either with no configuration needed,
or on more media types.
2024-03-25 22:40:03 +07:00
Michael Shigorin
69827e1514 e2k: ADD the extra gpu modules instead of PRELOADing those
NB: the missing modules break image build,
    avoid mga2/galcore/vivante by default
    (absent in some CPU-specific kernels).
2024-03-25 22:40:03 +07:00
Anton Midyukov
94e35d5d96 mixin-basealt.mk: do not use std-def for all other ARCHES
There is no need to set std-def, it is already default on those
architectures where it is available.
Uses package list 'kernel-headers' allows to not depend to specific
kernels.
2024-03-25 22:30:51 +07:00
Anton Midyukov
c894cfdf9a doc/pkglists.txt: Add a subsection about the suffix @KFLAVOUR 2024-03-25 21:42:43 +07:00
Anton Midyukov
ce8c8f0214 regular.mk: add kernel-headers on disk for desktop targets 2024-03-25 21:42:43 +07:00
Anton Midyukov
9f89bb0890 pkg.in/lists: add kernel-headers
Add this list if need kernel headers on disk:

	@(call add,MAIN_LISTS,kernel-headers)
2024-03-25 21:42:43 +07:00
Anton Midyukov
5739103f6c Expand @KFLAVOUR in package lists
The line containing @KFLAVOUR is expanded into several lines,
it is successively replaced with values from the KFLAVOURS variable.
This will allow to specify kernel modules and kernel headers in lists.
2024-03-25 21:42:43 +07:00
Anton Midyukov
f0e062270f mobile.mk: add alsa-ucm-conf-pinephone-pro-workaround 2024-03-23 00:38:23 +07:00
Anton Midyukov
f2e93e9500 doc/params.txt: add PACK_SQUASHFS_PROCESSORS 2024-03-22 19:27:38 +07:00
Anton Midyukov
730e8fe838 mobile.mk: add dconf settings for epiphany and clapper 2024-03-21 23:45:50 +07:00
Andrew Savchenko
20b0630fcb Mobile applications: cleanup preinstalled list 2024-03-21 20:16:58 +07:00
Anton Midyukov
658930a8fb mobile/phosh: add phosh-gsk-renderer-gl
Add Environment=GSK_RENDERER=gl for phosh.service.
We switch to the old render, since ngl has a problem with the layout
of layers on Pinephone Pro and other mobile phones.
2024-03-21 16:54:59 +07:00
Anton Midyukov
2d5f7c7eff mobile/base: add update-kernel 2024-03-21 10:50:26 +07:00
Anton Midyukov
27816f06e7 mixin.mk: add english and russian Spell Checker to Regular's
https://bugzilla.altlinux.org/49741
2024-03-20 15:33:32 +07:00