1176 Commits

Author SHA1 Message Date
Dmitriy Terekhin
61442dfbfc aarch64-dbm: added 98-dbm-startup-nsh
The tar2fs script writes the contents of the
/boot/efi directory to a disk image partition for EFI.
Place the scripts executed by EFI Shell in /boot/efi
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
12ab3f4156 aarch64-dbm: removed forced setting of screen resolution to 1280x720
With firmware from SDK-M-4.1, a screen resolution of 1920x1080
is supported
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
8bc377c712 aarch64-dbm: added 93-grub2-param-dbm
To load a Linux kernel onto a DBM board using GRUB2,
you need specific parameters on the kernel command line
and an explicit definition the dtb file to load.
This script creates the required settings in the file
/etc/sysconfig/grub2
2020-05-22 13:34:34 +07:00
Anton Midyukov
0cd5e2ea3f aarch64-rpi4: add rpi4-boot-switch
Switch of boot mode for Raspberry Pi 4
In Alt, it is customary to load the kernel, dtb and initrd
using u-boot and configuration in extlinux.conf.
Firmware Raspberry Pi 4 loads and modifies dtb
according to config.txt configuration.
U-boot doesn't.
The scripts in this package allow you to switch boot modes:
Firmware loads the kernel, dtb, and initrd. U-boot is not used.
Firmware loads dtb. U-boot loads the kernel and initrd.
U-boot loads the kernel, dtb, and initrd.
2020-05-22 13:34:34 +07:00
Anton Midyukov
7fbd12af5c aarch64-rpi4: add RPi-audioswitch
Raspberry Pi 3/4 simply TUI switch between HDMI and 3,5mm
headphone jack audio output.
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
2af8ab0ee4 aarch64-rpi4: Generate file needed for WiFi on RasPi4 2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
64ec069783 aarch64-rpi4: Initial feature for support RasPi4 2020-05-22 13:34:34 +07:00
Anton Midyukov
29906e77c6 rescue: cleanup extra locales 2020-05-22 13:34:34 +07:00
Anton Midyukov
72d0e0f1fb armh-mcom02: use/no-sleep 2020-05-22 13:34:34 +07:00
Anton Midyukov
dc2101a01d uboot: setup serial tty for qemu 2020-05-22 13:34:34 +07:00
Anton Midyukov
482e11ab9d no-sleep: initial feature
This feature disabled suspend, sleep, hibernation mode.
2020-05-22 13:34:34 +07:00
Anton Midyukov
c310a1e999 mipsel-bfk3: add root and boot partitions to /etc/fstab 2020-05-22 13:34:34 +07:00
Anton Midyukov
11cc65a117 stage2: Added ahci_platform.ko into 50-stage2-ata
This kernel module needed for bootloading on dbm2 (Baical-M)
2020-05-22 13:34:34 +07:00
Anton Midyukov
df6ce49a9d branding: gfxboot and plymouth for all arches
Partially this is a return of the commit 35db75378ee51155053342c93a10168c9809179e.
For branding packages, regexp is used. Therefore, it makes no sense to limit them
to architectures. use/plymouth and use/syslinux was fenced separately.
2020-05-01 23:49:57 +07:00
Anton Midyukov
c0c5c94b99 plymouth: not supported for not-X86 2020-05-01 23:49:57 +07:00
Anton Midyukov
cc248448a0 build-vm: running make-initrd later plymouth setup 2020-05-01 23:49:57 +07:00
Anton Midyukov
b4674cd512 plymouth: initial support rootfs 2020-05-01 23:49:57 +07:00
Anton Midyukov
ffc0b9a373 plymouth: fixed for used with not distro targets 2020-05-01 23:49:57 +07:00
Anton Midyukov
e64ea1c4b1 x11: use/x11/xorg for aarch64 allowed full 2020-05-01 23:49:57 +07:00
Anton Midyukov
1aa6397c93 live: Not disabled crond
crond is needed for log rotation.
See-also: https://forum.altlinux.org/index.php?topic=36177.msg346822#msg346822
2020-05-01 23:49:57 +07:00
Anton Midyukov
fb040b7480 x11: drop xorg-drv-wizardpen
Dropped from Sisyphus.
See-also: http://git.altlinux.org/tasks/archive/done/_241/246827/logs/events.2.1.log
2020-05-01 23:49:57 +07:00
Anton Midyukov
f0a02f043d kernel: Added INITRD_MODULES more for aarch64, armh, cleanup 2020-05-01 23:49:57 +07:00
Anton Midyukov
a5d46a88ca kernel: add Rockchip SoC support 2020-05-01 23:49:57 +07:00
Anton Midyukov
9040722f11 kernel: added initrd modules for support USB boot on Raspberry Pi
xhci-plat-hcd needed for USB boot on Raspberry Pi 4B
dwc2 needed for USB boot on Raspberry Pi 3B, 3B+
2020-05-01 23:49:57 +07:00
Mikhail Gordeev
a4ee3d2e82 install2: Do not remove fuse module
It is needed by ntfs
2020-05-01 23:49:56 +07:00
6fb8793c8b efi: ignore use/efi/lilo use/efi/grub on an unsupported target arch 2020-05-01 23:49:56 +07:00
Anton Midyukov
15cbaefdda stage2: Added support ntfs in 50-stage2-fs
See-also: https://bugzilla.altlinux.org/37598
          https://bugzilla.altlinux.org/37636
2020-05-01 23:49:56 +07:00
Anton Midyukov
070bc04017 stage2: Added use/stage2/sbc
This list kernel modules for loading on single board computers.
2020-05-01 23:49:56 +07:00
Anton Midyukov
192dca1302 stage2: update 50-stage2-usb
Add more usb kernel modules
2020-05-01 23:49:56 +07:00
Mikhail Efremov
c84aa6be32 services: Fix generation of on/off services lists
If we already have systemd-{enabled,disabled} lists, then
don't overwrite them, just add lists to them.
Services presented in the lists should be filtered out
from services-{on,off} lists already.
This fixes commit 2b5011165046d4313542ea2a5ac5b19a5bf44ade
"services: Don't touch services already listed in the config".
2020-05-01 23:49:56 +07:00
Mikhail Efremov
c1250f8bb8 domain-client: Drop krb5-ticket-watcher
Suggested by cas@.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
0f35cc865c install2: Drop installer-feature-journald-tty
Use systemd-settings-enable-log-to-tty12 (included by +systemd-optimal)
instead.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
badfca54c4 efi, base+efi: Don't add efivars to /etc/modules
Module efivars will be loaded by udev now.
2020-05-01 23:49:56 +07:00
Anton Midyukov
80c348ae20 init: +systemd-optimal do not call +systemd 2020-05-01 23:49:56 +07:00
Anton Midyukov
6ccfa1546e armh-mcom02: Fixed /etc/alsa-set-initial-options
Kernel module snd-seq-midi is not compiled for mcom02.
2020-05-01 23:49:56 +07:00
Anton Midyukov
1436fa5ff7 cleanup: added qt5-base-common into use/cleanup/x11-alterator 2020-05-01 23:49:56 +07:00
Anton Midyukov
342254e8cc server: enable libvirtd service by default
Users expect that if virtualization is selected during installation
of the distribution, the libvirtd service will be enabled.
2020-04-07 22:35:52 +07:00
Anton Midyukov
2398b75a10 kernel: initrd-setup refactoring
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5 build-vm, kernel, uboot: setup /etc/fstab for build-vm
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087 build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806

Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Anton Midyukov
fc67e5a8c2 build-vm, tar2fs: get ARCH from command line argument
tar2fs does not run in hasher and without qemu. This causes build
problems for an architecture other than the host.
2020-04-07 22:35:52 +07:00
068badeff7 firmware: intel-ucode allow for X86 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
9804e0b216 hdt: for i586 and x86_64 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
774489dd6d efi: use/efi/grub for EFI_ARHES only 2020-04-03 22:56:58 +07:00
Anton Midyukov
65a7c43a08 grub: added fwsetup_efi.cfg
Added for EFI only (see stage1/scripts.d/01-grub).
2020-04-03 22:56:58 +07:00
Anton Midyukov
00283166b7 syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c syslinux: do not use syslinux to generate config on unsupported arches
These are partial commits reverts:
01ee4075438e9ecfcf1b7bb71b37025f3232c3bf
e42bcdcb3095346a4c653938f7e90fa3c80b292f
5cfc7ede81024fa62039013a09160b8a7da1457d
2020-04-03 22:56:58 +07:00
Anton Midyukov
7ae39113b0 efi: use/efi/grub by default for all arches 2020-04-03 22:56:58 +07:00
Anton Midyukov
0c4f35fc5d efi: do not call use/efi/refind from use/efi/memtest86
This is necessary to prevent unintentional assignment of rEFInd
as EFI_BOOTLOADER.
I also want to hope that memtest86.efi can be made to work from
grub-efi in the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
20554501e5 install2, live: add grub.cfg support 2020-04-03 22:56:58 +07:00