Commit Graph

30 Commits

Author SHA1 Message Date
Michael Shigorin
2d8c5dbcc2 e2k: support flash boot targets other than install
Yet another silly distraction...
2020-09-07 20:25:57 +03:00
Michael Shigorin
15df1fb1cd e2k: drop mga2 support for now
It's not ready yet with upgrade locked by ftbfs (msct#5248 et al).
2020-09-07 20:25:23 +03:00
Michael Shigorin
a2abaaf7ea e2k: fix 50-e2k-utc script
/.host/script.sh: line 4: .: install2-init-functions: file not found
mki-image-scripts: $BUILDDIR/image-scripts.d/50-e2k-utc: unable to run script.
2020-09-07 20:24:57 +03:00
Michael Shigorin
a2770630a0 e2k: add /write.sh into ISO images
There's some peculiarity in writing ISO images for e2k
onto USB Flash media: we need to arrange a partition
and ext2 filesystem with its label passed to propagator;
the former part is what's expected, and the latter one
is what this script does.

Thanks to aerodisk.ru guys for catching a brown paper bag
class typo making format() try to affect the image and not
the drive, by the way.
2020-09-07 20:24:48 +03:00
Michael Shigorin
8b410d6a03 e2k: disable pwmd service
This one is to be enabled by a server sysadmin at the moment,
so rather disable it explicitly.
2020-09-07 20:22:12 +03:00
Michael Shigorin
181b7e841d e2k: avoid online repos during install2
There aren't any supposed there so far, anyways.
2020-08-31 19:19:12 +03:00
Michael Shigorin
bf52f4d15a e2k: add pwmd
This package contains both the fan control service
(disabled by default so sort of safe) and the manual
fanspeed.sh (that we rather need to provide out-of-box).
2020-08-31 14:34:47 +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
22912d889a e2k: stay with acpid
Make sure acpid will be running as acpid-events-e2k relies on it
(and power button handling relies on this one).

NB: need to do that before 10-services.
2020-08-31 14:23:32 +03:00
Michael Shigorin
525b5badd2 e2k: stay with UTC
There's just no need to keep Windows-style local clock in RTC
on Elbrus.
2020-08-31 14:23:28 +03:00
Michael Shigorin
c6af4a43a9 e2k: cover livecd with no-notes as well
ALT p9_e2k starterkits have turned this one up either...
2020-08-31 14:23:27 +03:00
Michael Shigorin
6354c1c28e e2k: generalize 50-e2k-no-notes
Belongs to live as well now since we've got starterkits;
hopefully PDK publication project is done soonish
so we can just be back to normal.
2020-08-31 14:23:24 +03:00
Michael Shigorin
f47e09cff1 e2k, e2k.mk: merge boot, fixup and x11 bits
This commit is packing a bunch of changes that went
into RELENG-e2k-workstation during its forked
development; it covers three distinct things:

- boot.conf preparation for firmware to load the image;
- fixup of packages common for e2k images;
- major cleanup of obsolete/unused cruft
  (unified kernel and reliable xorg autodetection
  allow us to move away from canned machine-specific
  configurations for the most part).
2020-08-31 14:23:22 +03:00
Michael Shigorin
0d8468b10f e2k: add installer-feature-e2k-xorg-conf-stage2
...to setup kms/xorg videodrivers for installer.
2020-05-22 21:07:20 +03:00
Michael Shigorin
744950aff2 e2k: rework use/x11/101* targets
This is meant to provide failsafe configuration by default,
at least until mga2 works reliably for me.
2018-12-24 20:28:49 +03:00
Michael Shigorin
8f1e411f2b e2k: add fstrim support
None of Elbrus systems I had a chance to use as root
had any problems regarding TRIM feature of SSDs these
used to carry/support; let's start with e2k and maybe
carry over to x86 later.
2018-12-24 20:25:57 +03:00
Michael Shigorin
8745bee846 e2k: support e101/mga2
Elbrus 101-PC was initially supported through kernel
modesetting driver only, now it's got a sort of native
driver running on ALT too.
2018-08-06 21:38:25 +03:00
Michael Shigorin
db319bb4b3 e2k: skip license step during installation
This one will be handled by MCST at the moment.
2018-07-25 16:48:47 +03:00
Michael Shigorin
9d4b3e1f42 e2k: avoid messing with hwclock
...which will only result in a FAILED message,
most probably the solitary one throughout the
whole sysvinit boot.
2018-06-25 09:54:31 +03:00
Michael Shigorin
45d9147955 e2k, e2k.mk: better platform support
The goal was simple: every use/e2k/{x11,install2}/$MACHINE
must be self-sufficient regarding platform support, that is
it must depend on the corresponding CPU-specific target.

A bit less make-tech but still better overall.

NB: llvm cleanup is not needed anymore after upgrade to
    Mesa-17/llvm-3.7, should be dropped like this year.
2018-06-25 09:40:30 +03:00
Michael Shigorin
bc37f88407 e2k: cleanup comments
Forgot to do that before merging, sorry.

(xorg-drv-ati cares for dependencies
but we still prefer modesetting driver
in the installers to make them versatile)
2018-06-25 09:39:31 +03:00
Michael Shigorin
7b396b0c47 e2k: much improved hardware support
Elbrus-801 and -101 are now added; 401's support refactored
and modified to cover 4.4 server system as well.
2018-05-21 22:51:17 +03:00
Michael Shigorin
f7eadc2fc8 e2k: added ru_RU.UTF-8 preconfiguration
It's legit here as I know no Elbrus users among
non-Russian-speakers, at least so far; should move
to generic l10n feature (which will definitely see
its glory by then).
2018-05-21 22:51:01 +03:00
Michael Shigorin
89bc47f35c e2k: provide canned KOI8-R configs
This is to avoid extra actions when one actually needs
KOI8-R (which is still hardwired in some lcc messages).
Should all be rolled into l10n feature some day...
2018-05-21 22:50:51 +03:00
Michael Shigorin
bbfad01e55 e2k: make serial hook more fault-proof
The early scheme consisted of boot.conf template
with a separate hook filling it in; this was nice
for serial console setup script which could just
amend the kernel command line as needed _but_
this got changed towards the more generic scheme
(breaking the hook in question, unfortunately).
2018-05-21 22:50:35 +03:00
Michael Shigorin
b31af10c79 tar2fs: generate proper boot.conf for e2k
This one supports multiple kernels (and tweaks boot
labels aiming to simplify target kernel selection
for the CPU at hand) instead of an earlier attempt
to fill in a template.

No need for the template so just drop it.
2018-05-21 22:50:07 +03:00
Michael Shigorin
86ed95a7e1 e2k: need startx too
Weird it got overlooked in the first place.
2017-09-08 18:25:02 +03:00
Michael Shigorin
29bbcaa14b e2k: add sound setup
Radeon HDMI as the default soundcard isn't really optimal,
and trying to push 44100 kHz samples towards 48 kHz interface
isn't going to sound great; provide sane ALSA dmix defaults
for Elbrus-401 PC workstation.
2017-08-21 21:57:54 +03:00
Michael Shigorin
0d6fe3500c e2k: official x11 support
The early builds used to rely upon a non-committed
rootfs/files/etc/X11/xorg.conf within this feature
which was a bit annoying and would have screwed an
Elbrus system based on any other GPU.

So let's provide some flexibility by packaging it.
2017-08-07 18:00:28 +03:00
Michael Shigorin
78ac727d7b e2k: initial implementation
Elbrus 2000 only takes us a few lines to get up and running ;-)
2017-08-02 22:14:05 +03:00