Commit Graph

1216 Commits

Author SHA1 Message Date
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
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
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
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
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
240c8fbf14 x11: add e2k-specific bits
xorg-drv-mga2 is MCST Graphics Array driver for 2D part
of videochip found in Elbrus-1C+ APU (also to be a part
of Elbrus-2C3).

xorg-drv-smi is another fork of xorg-drv-siliconmotion
that's absent in p9/sisyphus; *might* be of some interest
to mipsel folks (they've got yet another fork it seems).

Ah, and do not override targets on e2k.
2020-08-31 14:23:58 +03:00
Michael Shigorin
ef05303be2 power: don't mess up e2k's /etc/modules
button.ko isn't compiled within elbrus kernel (or used in any way).
2020-08-31 14:23:57 +03:00
Michael Shigorin
01bdf28b47 power: avoid button.ko on e2k
Done differently, no "button/power" event at the moment.
2020-08-31 14:23:52 +03:00
Michael Shigorin
a852b1d0b8 power: avoid acpid-events-power on e2k
(turns off upon boot)
2020-08-31 14:23:51 +03:00
Michael Shigorin
25e82a2ca2 vmguest: cosmetic fix
(still preferring 80-char wide xterm for proofreading)
2020-08-31 14:23:44 +03:00
Michael Shigorin
efef25e395 branding, docs: drop notes on e2k
Have to refer to MCST instead at the moment.
2020-08-31 14:23:35 +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
Anton Midyukov
a6b46b2125 x11: Added DISPLAY_MANAGER into package priorities 2020-08-27 23:42:07 +07:00
Anton Midyukov
1babd587ab grub: Added the ability to define the default menu item
Example:
@$(call set,GRUB_DEFAULT,uefi-firmware)
@$(call xport,GRUB_DEFAULT)

See features.in/grub/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
346e3c21a6 syslinux: Added the ability to define the default menu item
Example:
@$(call set,SYSLINUX_DEFAULT,harddisk)
@$(call xport,SYSLINUX_DEFAULT)

See features.in/syslinux/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
a6c3620672 syslinux: Set item install2 as default
Suggested-by: andy@
2020-08-27 15:03:51 +07:00
Anton Midyukov
52103e0658 grub, syslinux: Set default timeout to 60 seconds
60 seconds should be enough for any hardware.
It is important not to forget that the timeout for grub is measured
in seconds, and for syslinux in deciseconds.
2020-08-26 14:45:04 +07:00
59323c1c77 Revert "server: Add un-def as optional kernel for use/server/virt"
This reverts commit 1d5b7b1938.
2020-08-23 21:00:27 +07:00
Anton Midyukov
6611ef1d85 uboot: Exclude X86 archs 2020-08-21 20:48:49 +07:00
Anton Midyukov
73ec7f0e9a oem: Added rootfs-installer-features
Run installer features during install via rootfs.
2020-08-21 20:23:48 +07:00
Anton Midyukov
3fe1f5383c net: Use package priorities
This is needed to resolve a bad choice package for Dependency
on network-config-subsystem.
2020-08-21 20:13:14 +07:00
Anton Midyukov
24e429049c x11: Added use/x11/armsoc to /use/x11/xorg always
In the future, you need to decide for which architectures use/x11/nouveau,
use/x11/radeon, use/x11/amdgpu are available. Then this condition will not be needed.
2020-08-20 18:17:00 +07:00
Anton Midyukov
aa72331868 arm-rpi4: Fix name u-boot for armh 2020-08-15 08:42:28 +07:00
Anton Midyukov
2dcfc91deb dev: Fix build use/dev/builder/full on aarch64 2020-08-06 00:11:53 +07:00
Anton Midyukov
d6fd23bb70 live: live-install not adapted for non-X86 2020-08-05 23:20:57 +07:00
Anton Midyukov
fbf6286389 arm-rpi4: Added new subtargets kernel and full 2020-08-05 16:59:54 +07:00
Dmitriy Terekhin
f840c8b1da arm-rpi4: added kernel modules packages 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
1e0b4bf5c1 arm-rpi4: enabled bluetoothd
This is need to working bluetooth with GUI
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
404bd666ff arm-rpi4: disabled systemd-networkd-wait-online
If there is no Ethernet connection, RPi4 loading stops for 2 minutes.
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
81ef3a86fc arm-rpi4: Set celluloid as default video player 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
6d015586b9 arm-rpi4: Set firefox ESR as default browser 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
aa0e39912a arm-rpi4: 98-bootstrap-boot-by-firmware: dtoverlay=vc4-kms-v3d off
On Raspberry Pi 3 B Plus with kernel 5.6.16-rpi-un-alt1 occurs
framebuffer error with dtoverlay=vc4-kms-v3d (antohami@)
2020-08-03 22:37:28 +07:00
Dmitriy Terekhin
6d6cd631b6 arm-rpi4: pulseaudio customization
Changed audio scheduling from timer-based to
interrupt-driven to prevent unwanted crackle.
2020-08-02 00:40:25 +07:00
Alexey Sheplyakov
f30d929a45 install2, rootfs: Create groups necessary for joining a (AD) domain 2020-08-02 00:35:19 +07:00
Anton Midyukov
89fd601968 armh-mcom02: Add extlinux-fdtdir-cleanup.filetrigger
This trigger file will delete all lines containing fdtdir after
installing a new kernel version.
2020-08-01 23:49:36 +07:00
Anton Midyukov
0f846a311b arm-rpi4: Fix 98-bootstrap-boot-by-firmware
- Return 0 at the end of the script
2020-07-31 01:43:00 +07:00
Anton Midyukov
e82687dc95 arm-rpi4: Fix 97-gen-uboot-env 2020-07-31 01:35:17 +07:00
Anton Midyukov
362bdec30a arm-rpi4: switch to grub-efi for aarch64 2020-07-31 01:34:39 +07:00
Anton Midyukov
1c1612e9ec uboot: Add UBOOT_BOOTARGS instead BASE_BOOTARGS
When loading u-boot + extlinux.conf, needs specific arguments that
are not needed when using grub-efi
2020-07-31 01:32:34 +07:00
Anton Midyukov
2614e192be branding: Add bootsplash for X86 only
See-also: c0c5c94b99
2020-07-17 21:21:05 +07:00
Anton Midyukov
3908b9c752 syslinux: Fix boot from hard disk
See-also: https://forum.altlinux.org/index.php?topic=43710.msg350632#msg350632
2020-07-16 02:41:01 +07:00
Anton Midyukov
8bdafdc02a Revert "install2, live, live.mk: drop use/syslinux/localboot.cfg"
This reverts commit c70f18fcba.
2020-07-16 02:41:01 +07:00
Anton Midyukov
540f1082d8 uboot: Reorder cmdline variables
Temp fix
2020-07-16 02:41:01 +07:00
Anton Midyukov
8728b4669c arm-rpi4: Do not set dtb in 97-gen-uboot-env
uboot.env was breaking u-boot boot on Raspberry Pi 3 because of this.
2020-07-16 02:41:01 +07:00