Commit Graph

3825 Commits

Author SHA1 Message Date
Michael Shigorin
5d72c62a39 x11: add nouveau support for e2k
Tested to work in practice.

See-also: http://altlinux.org/e2k-gpu
2020-08-31 14:34:34 +03:00
Michael Shigorin
fd781c0113 power: ensure acpid is running on e2k
The problem at hand is that sem@ explicitly disables acpid
within installer-distro-simply-linux; early shots at
ALT Education 9.0 for Elbrus suffered from this as e2k's
power button handling differs slightly regarding events
generated so we *do* need acpid{,-events-e2k} to poweroff
on power button press.

Hope this doesn't introduce regressions or woes for anyone.
2020-08-31 14:34:28 +03:00
Michael Shigorin
dff559dbef slinux: use/office/LibreOffice/full
...instead of custom slinux/misc-base hack incompatible
with the current p9_e2k.
2020-08-31 14:34:23 +03:00
Michael Shigorin
4d3f64818d basealt.mk: generalize e2k machine support
Finalize the move to shared multiseat support on e2k
following education.mk; should have been done properly
in the first place but I couldn't manage that for 9.0,
let's at least fix this now.
2020-08-31 14:34:11 +03:00
Michael Shigorin
2ab3cffe6c education.mk: generalize distro/alt-education
This includes merge of RELENG-e2k-edu private branch current state
along with the move to shared multiseat support on e2k and assorted
updates following pkg.in/.
2020-08-31 14:34:08 +03:00
Michael Shigorin
c86091fa15 e2k: generalize e2k graphics support
...by providing common targets for 801-PC and 101-PC distro needs.
2020-08-31 14:34:04 +03:00
Michael Shigorin
cd454d48e1 pkg.in: generalize e2k graphics support
This should have been done when reworking Workstation,
but better that late than making a copy for Education.

NB: directory name has been chosen to both sort late
    (so that functionality related checkboxes come first
    and graphics setup related ones sit down there), and
    to relate to X11 as well.
2020-08-31 14:33:59 +03:00
Michael Shigorin
1956516c2c slinux/misc-base: drop hardwired LibreOffice-still
Obsoleted by proper handling within office feature.
2020-08-31 14:33:56 +03:00
Michael Shigorin
de42f5f4e9 office: "support" riscv64 here
There are literally no office packages on riscv64 so far,
let's ease the need to count that in within pkglists like
it was done in slinux/misc-base since this approach makes
for unreadable conditional chunks if we look at LO-still
being absent on e2k; a common place should be in place.
2020-08-31 14:33:53 +03:00
Michael Shigorin
9513e0aa53 office: more targets
Added use/office/LibreOffice/lang/extra target inspired
by pkg.in/lists/slinux/misc-base as well as targets for
two more LO subpackages; and use/office/LibreOffice/full
so that distros don't have to reiterate on all of those
particularities.
2020-08-31 14:33:51 +03:00
Michael Shigorin
f702524f3a education/*: add numbering to remaining groups
Some pkggroups were numbered (thus ordered) and some weren't;
let's make those uniform instead of depending on Latin alphabet:

kde5 -> 06_kde5
teacher -> 07_teacher
server-apps-edu -> 08_server-apps-edu
video-conferencing -> 09_video-conferencing
2020-08-31 14:33:42 +03:00
Michael Shigorin
00d60e9210 education/kdesc: partial support for kde on e2k
There's no full KDE Plasma 5 environment available on e2k yet
but many libraries, frameworks and apps are there already;
I chose to provide a distinkt pkggroup so that this subset
doesn't get confused with the whole KDE 5.
2020-08-31 14:33:38 +03:00
Michael Shigorin
75bfb550ae education/preschool: added childsplay-alphabet_sounds_ru 2020-08-31 14:33:35 +03:00
Michael Shigorin
4ed2f445e8 education/misc: more fonts
...thanks gimagereader for showing up the need in those
(its preferences include a table of language names
written in the corresponding languages).
2020-08-31 14:33:31 +03:00
Michael Shigorin
39f1b1ea32 education/base: added tesseract-langpack-en
...so that gimagereader can scan in Engrish too.
2020-08-31 14:33:25 +03:00
Michael Shigorin
77932abffb education/*: e2k fixes
Not every package is available on Elbrus, avoid the missing ones;
add mplayer along with vlc just in case as it's better optimized
for e2k already (including MCST patches and automatic use of more
than one CPU core).
2020-08-31 14:33:22 +03:00
Michael Shigorin
b60c5485d0 workstation/3rdparty: teamviewer-preinstall might be noarch...
...but teamviewer is not.
2020-08-31 14:33:11 +03:00
Anton Midyukov
49a82d70c2 mixin-alt-server.mk: Added centaurus-30-desktop profile for aarch64 2020-08-31 14:33:06 +03:00
Michael Shigorin
7c60d4d587 centaurus/mate: drop the unneeded kludge
DRI3 is fine on e2k now.
2020-08-31 14:32:59 +03:00
Michael Shigorin
bd04f9a8af centaurus/xorg: fix arch support
There's no std-def kernel on e2k and mipsel so far, and there are
different kernels for some aarch64 machines as well;  we'll have to
deal with this problem that's been solved in m-p-d the other way
around (@KFLAVOUR@ substitution in pkglists among the rest).

Also add graphics branding part: must be there regardless of platform,
otherwise an arbitrary one gets pulled in, this time it was
"xalt-kworkstation".  This is another case of the same problem,
m-p-d would solve it with @BRANDING@ substitution where m-p does
generation of variable contents but not file-based pkglists to
be put into the image for runtime selection during install process.

Restrict plymouth support to @X86 as well, just as bootsplash
branding component has already been.
2020-08-31 14:32:28 +03:00
Michael Shigorin
38f8d2acdd centaurus/base: skip i-f-repo-add on e2k
Not much use, and spoils postinstall.d messages with
FAILED (to mount the already-mounted flash drive).
2020-08-31 14:32:24 +03:00
Michael Shigorin
c013c47c7b centaurus/xorg: add xorg-drv-smi on e2k
Should help those interested in using servers as workstations
as well (SM718 would only do 800x600 with vesa driver).
2020-08-31 14:32:14 +03:00
Michael Shigorin
db77e5dcb4 centaurus/disk-server-light: adapt for e2k 2020-08-31 14:31:33 +03:00
Michael Shigorin
33436b6b1b alt-server.mk: generalize distro/alt-server
This commit includes summary of the work done within RELENG-alt-server
branch, and goes over the existing bits regarding architecture support.

It was somewhat hard to keep separate so I finally chose to lump these
parts together.
2020-08-31 14:31:02 +03:00
Michael Shigorin
cb222bb806 mixin-alt-server.mk: merged e2k bits
These have been brewing in RELENG-alt-server branch for a while;
with ALT Server 9.0 for Elbrus release as the immediate result.

NB: plymouth is still strangely broken there.
2020-08-31 14:25:13 +03:00
Michael Shigorin
d734fa12a9 workstation/base.pkgs: added terminfo-extra
...so those willing to use e.g. 256-colour terminal variants
can do so without extra access to the repository.

Suggested-by: Andrey Savchenko <bircoph@altlinux.org>
2020-08-31 14:25:12 +03:00
Michael Shigorin
e9c42d63a5 basealt.mk: added new parent groups on e2k
...or the friendly alterator-pkg bails out silently.
2020-08-31 14:25:11 +03:00
Michael Shigorin
1f681e5921 workstation: organize machine-specific groups
Four checkboxes with "Elbrus 801-PC" prefix look a bit too much,
let's put these under a parent one; the counter-argument is that
selecting that parent checkbox is going to provide message telling
that there are conflicts within -- the proper widget would be a
dropbox with the number of seats but we don't do that just yet
in alterator-pkg.

The autologin group goes there too; still a hack that should be
replaced by proper alterator-users multiseat support.
2020-08-31 14:25:09 +03:00
Michael Shigorin
4e5cb00c56 basealt.mk: add alterator-web pkggroup
...as suggested; enable if installed.
2020-08-31 14:25:02 +03:00
Michael Shigorin
ccdc82ee82 pkg.in: add workstation/alterator-web
This has been suggested by a customer.
2020-08-31 14:25:01 +03:00
Michael Shigorin
010fc44482 {workstation,centaurus}/emulators: add rtc on e2k
The MCST's binary translator allows running x86 code
on e2k architecture; see also http://altlinux.org/e2k-rtc
2020-08-31 14:24:59 +03:00
Michael Shigorin
b7ed438fab branding: avoid bootloader on non-grub arches
SYSLINUX happens where GRUB happens too, just in case.

The problem at hand is that some branding-*-bootloader tend to
*create* /etc/sysconfig/grub2 without bothering to check that it
existed, thus confusing the subsequent scripts (e.g. 65-serial.sh
tries to run update-grub that's just absent then).
2020-08-31 14:24:59 +03:00
Michael Shigorin
0225b2549f grub: ignore all targets if not available
Otherwise it might e.g. add branding-*-bootloader
for no good reason, poisoning $destdir with an
existing and non-empty /etc/sysconfig/grub2
regardless of the actual grub availability
on the platform.
2020-08-31 14:24:58 +03:00
Michael Shigorin
5285c0a832 basealt.mk: generalize distro/alt-workstation
The point is that it's common between the rest of the arches,
no need to keep making my old mistake of growing configuration
trees based on very different "roots" (.e2k-installer this time
which was good for early experiments but not for production).

Also get rid of long-unused distro/alt-workstation-?01 targets,
unified kernel made those obsolete.

And last but not least: *drop* that setup-libgl-dri3-disable,
makes Radeon RX lag (half-recent AMD GPUs seem to lack 2D part
rather altogether, it's emulated through 3D).
2020-08-31 14:24:56 +03:00
Michael Shigorin
8db77d6462 browsers: rewrote with per-arch browser lists
There are arches with many browsers available
and there are those with elinks; let's provide
relevant targets to use at the very least.
2020-08-31 14:24:53 +03:00
Michael Shigorin
c9c83be408 alt-server.mk: do not override targets on e2k
Looks like aarch64 addition was done in haste,
the targets were split by architecture families
before commit c06f875.
2020-08-31 14:24:52 +03:00
Michael Shigorin
1cf05b639c bootloader: just skip on e2k
There's no need for bootloader on Elbrus platform
since firmware boots Linux just fine; note that
the whole feature is betted omitted since its
script checks for the case when the feature
is requested but not configured properly.
2020-08-31 14:24:50 +03:00
Michael Shigorin
425a9ddb32 office lists: handle e2k properly
As the previous commit stated, there's no LibreOffice-still
built for e2k currently.
2020-08-31 14:24:50 +03:00
Michael Shigorin
7574335d81 office: initial arch handling
There's no LibreOffice-still on e2k (no 6.x for now,
just a single production 5.x build); and there's no
office (neither LO nor abiword/gnumeric) at all on
riscv64 as of today.  These nuances shouldn't bother
release managers each time but should lurk under
this feature's cover.
2020-08-31 14:24:50 +03:00
Michael Shigorin
85218f9ce8 tagged/archive+extra: avoid star on e2k
(ftbfs)
2020-08-31 14:24:49 +03:00
Michael Shigorin
fb0273d6cd vmguest: more dummies for non-kvm cases
There are a few more targets used for Workstation
and Simply images that are rather better plugged
here than patched there.
2020-08-31 14:24:47 +03:00
Michael Shigorin
293ec5dccc pack: ensure e2k support on e2k
The culprit is that e2k has exactly one kernel flavour
available at the moment, elbrus-def (there used to be
per-CPU flavours in p8 times -- elbrus-{4c,8c,1cp} --
but these aren't needed anymore), but there are no
std-def/un-def kernels or provides available.
There's more to it, but lacking a kernel is critical.

Maybe other arches might do similar things when needed,
or maybe this gets reverted in favour of a more generic
approach; but patching all starterkits or messing with
p9.mk per-arch (while leaving out regular builds or
any other image that might just build) looks worse.
2020-08-31 14:24:41 +03:00
Michael Shigorin
2918748cce tagged/desktop+lxqt+extra: no clementine for e2k
...at least so far.
2020-08-31 14:24:36 +03:00
Michael Shigorin
45e7fdd213 slinux/*: updated for e2k
A few remaining tidbits lingering in RELENG-e2k-workstation.
2020-08-31 14:24:33 +03:00
Michael Shigorin
83ee45e0ff education/*: updated for e2k
This commit is actually a rework of what's been done
in RELENG-e2k-workstation private branch (along with
a few more generic fixups).
2020-08-31 14:24:30 +03:00
Michael Shigorin
44f00ed0b4 workstation/e801-?seat*: 1/2/3/6-seat support
This started as a three-seater 801-PC support for
ALT Education 9.0 for Elbrus.
2020-08-31 14:24:24 +03:00
Michael Shigorin
48f212718e workstation/e[18]*: disable everything by default
...and leave the choice up to runtime scripts and the user.
2020-08-31 14:24:21 +03:00
Michael Shigorin
c4a135ca94 mixin-basealt.mk: add power to workstation too
This is required on e2k, please tell if it hurts.
2020-08-31 14:24:20 +03:00
Michael Shigorin
cfe494cbd0 mixin.mk: add power to regular desktop images
This is required on e2k (regardless of DE), please tell if it hurts.
2020-08-31 14:24:07 +03:00
Michael Shigorin
403625fef4 mixin-basealt.mk: avoid things broken/missing on e2k
Wonder if installer-feature-quota-stage2 was a problem
on other arches but having it in LIVE_PACKAGES fails
image build for me:

  livecd-installer-features: Conflicts: installer-common-stage2

and having it INSTALL2_PACKAGES results in another startup
problem (seems like quotas try to start a bit too early);
not that this one is a blocker but spoils the party nevertheless.

NB: relevant package versions are the same.

Also avoid workstation/extras pkglist: it's strongly hardwired,
seems like last-minute implementation :-/
2020-08-31 14:24:03 +03:00