Commit Graph

1394 Commits

Author SHA1 Message Date
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
Anton Midyukov
98e6610022 arm-rpi4: Do not change KFLAVOURS 2020-07-16 02:28:58 +07:00
Anton Midyukov
937c073e2d arm-rpi4: Use /boot/efi as bootmountpoint
Also added download support on the Raspberry Pi 3.
The following feature has appeared. The FAT partition does not
install the last installed kernel, but the first kernel in the
KFLAVOURS list. This was done in order to enable  u-boot to
default load another kernel, for example std-def.
2020-07-16 02:28:58 +07:00
Dmitriy Terekhin
203de60403 arm-rpi4: audio switching is working from GUI 2020-07-03 13:21:04 +07:00
Dmitriy Terekhin
72bf6c762a arm-rpi4: added resizing the root partition and FS to fill the SD card 2020-07-03 13:21:04 +07:00
Anton Midyukov
5137e5ad9c Rename aarch64-rpi4 feature to arm-rpi4
The feature фкь-кзш4 is available for armh now.
2020-07-03 13:20:18 +07:00
Dmitriy Terekhin
9c06f98c62 aarch64-rpi4: added support for booting from FAT when building an image
command "rpi4-boot-nouboot --bootstrap" creates
files of kernel, initrd, dtb, cmdline.txt, config.txt
in /usr/share/u-boot/rpi_4
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
2c083ac684 aarch64-rpi4: added support of files updating on FAT
rpi4-boot-nouboot-filetrigger updates
files of kernel, initrd, dtb, cmdline.txt, config.txt
on FAT when updating kernel

rpi4-boot-uboot-filetrigger updates
files of u-boot and firmware
on FAT when updating u-boot
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
0081e85b20 aarch64-rpi4: configured bluetooth 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
9f7868484e aarch64-rpi4: removed MAC address assignment in u-boot.env file 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
cef45dd80d aarch64-rpi4: Change the default governor to conservative
By default, in cpufreq-simple feature the ondemand
governor is configured. But only the conservative governor is available at
Raspberry Pi 4 kernels. This is change the default governor to conservative.
2020-07-03 13:20:07 +07:00
Anton Midyukov
7244d20f0e slinux: Added support build vm image for riscv64 2020-07-03 12:16:35 +07:00
Anton Midyukov
2d53a9af94 net-eth, oem: use/oem/vnc for disable NetworkManager control eth0
Network interface managed by NetworkManager is not activated when
alterator-setup is launched.
2020-07-03 04:56:33 +07:00
Anton Midyukov
cd88c10e95 kernel: Do not use initrd feature qemu for riscv64 2020-07-02 01:02:37 +07:00
Anton Midyukov
df0875fe22 oem: Added use/oem/vnc 2020-07-02 01:02:37 +07:00
Nikita Ermakov
d1e7fc06eb x11-vnc: Initial X11 VNC feature
Add new feature for X11 VNC support.  Please read
features.in/x11-vnc/README for more information.
2020-07-02 01:02:37 +07:00
Anton Midyukov
5ab897cf40 uboot: Added riscv64 support 2020-07-02 01:02:37 +07:00
Anton Midyukov
e5b42f45da uboot: Use BASE_BOOTARGS 2020-07-02 01:02:37 +07:00
Anton Midyukov
222a84025a uboot: Fix typo 2020-07-02 01:02:37 +07:00
Anton Midyukov
5c35be1f3c uboot: Increased timeout to 7 seconds 2020-07-02 01:01:29 +07:00
Anton Midyukov
4fe56e15e5 bootloader: use installer-feature-bootloader-$BOOTLOADER instead alterator-$BOOTLOADER
installer-feature-bootloader-$BOOTLOADER dependency of alterator-$BOOTLOADER.
This is necessary so that alterator-$BOOTLOADER is deleted after installation,
if it was not installed explicitly.
This will reduce the minimum installation of alt-server.
2020-06-10 03:13:29 +07:00
Anton Midyukov
77eb0456d1 stage2/stage1/modules.d/50-stage2-usb: fix typo 2020-06-10 03:13:29 +07:00
Anton Midyukov
c37775cdf4 regular.mk, server: timeout alignment for syslinux and grub
timeout for syslinux is measured in deciseconds, and for grub in seconds.
2020-06-06 02:18:55 +07:00
Anton Midyukov
8119c70282 Revert "features.in/bootloader/config.mk: no alterator-BOOTLADER by default"
This reverts commit 19ed2b9a7e.
2020-06-06 02:18:55 +07:00
Anton Midyukov
29c79e7fe6 install2: Added installer-distro-$$(INSTALLER)-stage3
This package contains installer configuration hopefully suitable
for a generic ALT Linux based distribution.
The stage3 part is installed onto the new system's root
and executed off there during installation process.
2020-06-06 02:18:55 +07:00
Anton Midyukov
bbf2a013a2 install2: use tag list basesystem 2020-06-06 02:18:55 +07:00
Anton Midyukov
6866c3a821 efi: Do not add package $$(EFI_BOOTLOADER)) everywhere
$$(EFI_BOOTLOADER)) is a bootloader for STAGE1 only.
2020-06-06 02:18:55 +07: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
Anton V. Boyarshinov
19ed2b9a7e features.in/bootloader/config.mk: no alterator-BOOTLADER by default 2020-05-22 20:08:09 +03:00
Anton V. Boyarshinov
6cdc7a7de3 features.in/install2/config.mk: don't add basesystem+alterator into
basesystem
2020-05-22 20:08:01 +03:00
Anton V. Boyarshinov
4cf9c554ca define vmguest/base for non-intel platforms 2020-05-22 20:06:52 +03:00
Mikhail Efremov
7c3459c62f slinux: Add docs and indexhtml to vm-base 2020-05-22 13:34:37 +07:00
Anton Midyukov
1ada94366a mediacheck: allowed for distro targets only 2020-05-22 13:34:37 +07:00
Anton Midyukov
7a6c9a8a13 net: 50-net-nm band-aid again
When renaming HOSTNAME in the alterator, switches managing interface to etcnet.
This creates problems for users.
This partial reverts commit d4170557c2.
2020-05-22 13:34:37 +07:00
Anton Midyukov
eb16754afb kernel: initrd module sdhci-pltfm for all arches 2020-05-22 13:34:37 +07:00
Anton Midyukov
d54b4fd1e8 stage2: add sdhci-pltfm.ko into 50-stage2-mmc 2020-05-22 13:34:37 +07:00
Anton Midyukov
2c761b78d7 kernel, stage2: add bcm2835-dma in initrd for Raspberry Pi 3 (kernel >= 5.6) 2020-05-22 13:34:37 +07:00
Anton Midyukov
b142de6eb3 uboot: not required BOOTLOADER=uboot for 00-uboot-prepare 2020-05-22 13:34:37 +07:00
Anton Midyukov
0f28ee414f build-vm, tar2fs: added VM_PARTTABLE
For Raspberry Pi needed to build grub-efi + MBR images.
2020-05-22 13:34:37 +07:00
Anton Midyukov
c70f18fcba install2, live, live.mk: drop use/syslinux/localboot.cfg
On hybrid images recorded on a USB flash drive, rather than a
compact disk, this menu item loads the USB flash drive itself.
2020-05-22 13:34:37 +07:00
Anton Midyukov
fe2b712557 build-vm: Added INITRDFEATURES to /etc/initrd.mk 2020-05-22 13:34:37 +07:00
Anton Midyukov
3154b04b3e slinux: Set GRUBTHEME
At Simply Linux name of the catalog with the theme is not parsed from
the branding name.
2020-05-22 13:34:37 +07:00
Anton Midyukov
eed69db1ab grub: Added ability to set grub theme name
Simply Linux has a specific directory name with a theme.
2020-05-22 13:34:37 +07:00
Anton Midyukov
b6fed78a52 slinux: use/efi/grub 2020-05-22 13:34:37 +07:00
Anton Midyukov
7c9184499a slinux: Added use/stage2/sbc
For single-board computer support.
2020-05-22 13:34:37 +07:00
Anton Midyukov
1185a11821 education.mk, mixin-basealt.mk, live, slinux: Use stage2 features instead STAGE1_MODLISTS 2020-05-22 13:34:37 +07:00
2a7021e146 server: add use/grub feature as use/syslinux 2020-05-22 13:34:37 +07:00
ce4fb154a4 kernel: Added use/kernel/drm 2020-05-22 13:34:37 +07:00
1d5b7b1938 server: Add un-def as optional kernel for use/server/virt 2020-05-22 13:34:37 +07:00
8acd1a1294 server, server-v.mk: Added use/server/virt and migrate server-v to use it 2020-05-22 13:34:36 +07:00
0a66396735 install2: do not cleanup ipv6 kernel module from install2 2020-05-22 13:34:36 +07:00
116bd3b9b0 install2: do not cleanup btrfs kernel module from install2 2020-05-22 13:34:36 +07:00
897dd46294 server: Disable use/power/acpi/button by default
use/power/acpi/button not needed for systemd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
43b88933df slinux: Drop tracker
There is no GUI for tracker any more and Xfce doesn't support it.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3ea7f54c7d slinux, slinux.mk: Add vm/slinux on x86
Can be useful for OEM.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
109ffec8a1 slinux: Rename 90-cleanup-pkgs -> 90-sl-cleanup-pkgs
warning: file clash: live/image-scripts.d/90-cleanup-pkgs~
2020-05-22 13:34:36 +07:00
Mikhail Efremov
7b30b6324d slinux: Use rootfs-installer-features for vm/ targets 2020-05-22 13:34:36 +07:00
Mikhail Efremov
8e6b4d0f61 slinux, slinux/multimedia-base: Use celluloid as media player on non-x86
Seems it works better there.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3dc8d1c61a slinux: Fix adding browser list
This list must be added for all SL variants.
Thanks jqt4@ for spotting.
This fixes commit 91715712cea6485e5395712d34441ae5a89fdbb3.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
458d2c4558 slinux: Use firefox on ARM and e2k
Seems firefox is faster as reported by jqt4@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
6803bbbbe1 slinux: Don't pull installer-distro-s-l-stage3 to live
Apparently we don't wan't installer-features pulled by it.
All required installer-features pulled by
installer-feature-simply-livecd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
cffdf0e363 slinux: Disable bell on created rootfs
So it will be disabled by default in live and vm/* images.
This make installer-feature-bell-off unneeded on SL-live.
See https://bugzilla.altlinux.org/show_bug.cgi?id=33653.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
c18155e614 slinux: Remove sytemd-{networkd,tymesyncd} from rootfs
Dunno why these packages pulled to rootfs.
They are shouldn't.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
edd2392cbb slinux/live: Enable livecd-* services only
All other services should be added to SYSTEMD_SERVICES_* and
handled by rootfs image script.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
2c93da94fb slinux: Use SYSTEMD_SERVICES_* variables
List services in the profile itself, files systemd-* in the
installer-distro-simply-linux shuold be dropped: we are want
the same list for installer, livecd and rootfs.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
183d85fa9f features/services: Add SYSTEMD_SERVICES_{ENABLE,DISABLE}
Support systemd-spicific services, e.g. *.socket amd .service units.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
57a29b38dc slinux: Set Russian as default in EFI mode 2020-05-22 13:34:36 +07:00
Mikhail Efremov
fd102a272f slinux: Add use/efi/memtest86 and use/efi/shell
Also add use/bootloader/grub and mixin/desktop-installer.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
70bfc2d064 slinux, education.mk: Rename group Communications -> Internet/Networking
As more appropriate name for this group.
Also rename comm-base -> net-base.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
85b85beb43 slinux: Fixed start installer aarch64 iso
Added use/vmguest/kvm/x11 use/stage2/kms.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5f31779964 slinux: Use systemd-optimal 2020-05-22 13:34:36 +07:00
Mikhail Efremov
109271931b slinux: Add all base lists to vm/* 2020-05-22 13:34:35 +07:00
Mikhail Efremov
6df21fd8c1 slinux: Move common part for vm/* to separate target 2020-05-22 13:34:35 +07:00
Mikhail Efremov
573a29872c slinux, slinux.mk, slinux/misc-base: Add vm/slinux* targets
Build rootfs images for ARM.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
4900dab9c4 slinux.mk, slinux: Update iso metainfo
See thread
https://lists.altlinux.org/pipermail/devel-distro/2019-July/001669.html
for details.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
3524d73b8c desktop.mk, live.mk, live: Get rid of acpi
Apparently we don't want it with systemd-logind.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
eeea63f92f slinux, education.mk: Rename network-base -> comm-base
This list for Communications, not network in general.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
948be19c53 slinux: Add chrony
Use chrony as NTP client.
2020-05-22 13:34:35 +07:00
Anton Midyukov
45c6adbf61 build-vm: fixed make-initrd for e2k 2020-05-22 13:34:35 +07:00
Anton Midyukov
0950ba8012 grub: added gfxmode support 2020-05-22 13:34:35 +07:00
Anton Midyukov
a6051acf94 kernel, stage2: make initrd and initfs for all kernels 2020-05-22 13:34:35 +07:00
Anton Midyukov
3d54dc5e7c grub: added info messages for boot 2020-05-22 13:34:35 +07:00
Anton Midyukov
4945e85e1d grub: Added submenu for kernel flavour change 2020-05-22 13:34:35 +07:00
Anton Midyukov
af00ee04fe l10n: set try LOCALE en_US 2020-05-22 13:34:35 +07:00
Anton Midyukov
ed62966ee0 grub: Added submenu for langs change 2020-05-22 13:34:35 +07:00
Anton Midyukov
ea262607b8 grub: sed @relname@ all 2020-05-22 13:34:35 +07:00
Anton Midyukov
26535e49b9 grub: vnc install like as syslinux 2020-05-22 13:34:35 +07:00
Anton Midyukov
6083dd9fe0 grub: fix install-vnc-{connect,listen}.cfg 2020-05-22 13:34:35 +07:00
Anton Midyukov
b3c6f2ebad rescue: Fixed enabled repo for apt-repo-branch
Repositories are signed with different keys. In addition, they may
not have a signature.
2020-05-22 13:34:35 +07:00
Anton Midyukov
81e49400d3 aarch64-dbm: added support mini-ITX board 2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
1322a9c228 aarch64-dbm: added modules-load.d/snd-dummy.conf
The built-in sound device on DBM does not work.
As a result, video playback with the soundtrack
in the browser and media player stops.
To work around the problem, a dummy sound device
is used by default.
2020-05-22 13:34:34 +07:00
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 35db75378e.
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 2b50111650
"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:
01ee407543
e42bcdcb30
5cfc7ede81
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
Anton Midyukov
5b52057937 grub: add 84rescue_remote.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
b6010f5bd4 grub: available for i586, x86_64, aarch64, ppc64le 2020-04-03 22:56:58 +07:00
Anton Midyukov
567c374e40 grub: not show "ALT" before @relname@ in 20install2.cfg
The word "ALT" already contained in @relname@.
Added when call use/grub.
2020-04-03 22:56:58 +07:00
Anton Midyukov
efe311555a grub: change @linux_suffix@ 2020-04-03 22:56:58 +07:00
Anton Midyukov
ed99b96c45 grub: fixed PATH to memtest86.efi in 90memtest-efi.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
85a17f8cb5 grub: add suffix _efi for EFI configs 2020-04-03 22:56:58 +07:00
Anton Midyukov
86f52450a1 grub: generate grub.cfg for grub-efi and ieee1275boot
These changes allow you to create two independent config at the same
time or separately. It will be possible to add support for grub-pc in
the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
80e8362443 grub: fixed search default in stage1/scripts.d/01-grub
The definition of the default menu item has been fixed.
Grub.cfg does not use label, uses --id.
It is assumed that --id is given last.
2020-04-03 22:56:58 +07:00
Anton Midyukov
b9e5244e86 grub: fix typo 2020-04-03 22:56:58 +07:00
Anton Midyukov
f446036f68 grub: fixed build on i586
Not needed Stage1 package. They are added to mkimage.
2020-04-03 22:56:58 +07:00
Anton Midyukov
df1d1f8a6c grub, syslynux: rename scripts
The scripts were named the same for syslinux and grub. Because of this,
scripts for syslinux were overwritten by grub scripts.
2020-04-03 22:16:55 +07:00
300ee8a83f add grub feature 2020-01-20 22:46:08 +07:00
Anton Midyukov
e6bb78a569 branding: ImageMagick-tools for x86_64 only (refind needed)
See-also: commit e4bb17279d
2020-01-20 22:46:08 +07:00
Anton Midyukov
ffed0b927f cleanup: fix jeos for grub saving 2020-01-20 22:46:08 +07:00
Anton Midyukov
40bbaff960 init: create symlinks /var/run -> /run, /var/lock -> /run/lock
After switching to these symlinks, you no longer need to create
the missing directories.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=35350
2020-01-20 22:46:08 +07:00
Anton Midyukov
17671b1d50 init: drop rootfs/image-scripts.d/40-sysvinit
Not needed for polkit-sysvinit >= 0.4
2020-01-20 22:46:08 +07:00
Michael Shigorin
a524a6800a kernel: disable make-initrd debug script
This one has filled up the entire 8 Mb tmpfs
while running inside installer stage1 on a
124-drive system (configured as JBOD).

Reported-by: http://norsi-trans.ru
2020-01-17 17:03:24 +03:00
Anton Midyukov
0b02591530 vmguest: add kernel-modules-virtualbox-addition-guest 2020-01-13 12:12:34 +03:00
Anton Midyukov
efa57b9121 live, init: move 65-os-release from live to init
Install /etc/*-release files if needed.

Reported-by: Ivan A. Melnikov <iv@altlinux.org>
2020-01-13 12:09:51 +03:00
Mikhail Gordeev
fa19e83e90 Add BASE_BOOTARGS -- variable containing arguments to bootloader
The case at hand was the need to pass serial console parameters,
see the next commit.
2020-01-13 12:09:30 +03:00
Ivan A. Melnikov
429f1d182c mipsel-mitx: add root and boot partitions to /etc/fstab 2020-01-13 12:09:28 +03:00
Ivan A. Melnikov
471233df8a init: fix portability 90-systemd on mipsel
autofs4.ko is not available on Tavolga, and might be unavailable
elsewhere as well (or vice versa, might become available).
2019-11-28 19:14:07 +03:00
Anton Midyukov
221e0e6cf4 init: set package priority syslogd for sysvinit
This is necessary to prevent installing the systemd package on systems
with sysvinit.
2019-11-28 19:02:08 +03:00
Anton Midyukov
29ad240c2d pkgpriorities: also needed for rootfs
This should have better been done through some shared code
but it's not that obvious...
2019-11-28 19:01:50 +03:00
Anton Midyukov
958a77ce72 deflogin: drop use/deflogin/sysv/nm
Not needed with polkit-sysvinit >= 0.4.0
See-also: http://git.altlinux.org/tasks/archive/done/_235/240919

Reverts: 4cec22b957
Reverts: 734b04f16f
2019-11-18 18:41:31 +03:00
Anton Midyukov
e9a3382b24 Revert "init: workaround for elogind to run"
This reverts commit b75b2cc330.

See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html
2019-11-18 18:40:14 +03:00
Anton Midyukov
d0898f4748 init, mixin.mk, regular.mk, regular-vm.mk: drop elogind, polkit-gnome for sysv
Use polkit-sysvinit as a workaround.

See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html

Reverts: 08d93ed851
(and several slightly more involved places)
2019-11-18 18:39:32 +03:00
Dmitriy Terekhin
85f857dfc9 aarch64-dbm: initial feature for support DBM board (Baikal M1) 2019-11-08 16:07:54 +03:00
Anton Midyukov
d571fb794b kernel: add initrd module ahci_platform for aarch64, armh
ahci_platform needed for Baikal M.

Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2019-11-08 16:07:52 +03:00
Anton Midyukov
f6c6c8c101 bootloader: skip missing grub/lilo 2019-11-01 13:47:00 +03:00
Michael Shigorin
a7f49316a4 server: add kvm kernel module
Just reasonable given the server/kvm pkglist.

Suggested-by: Andrew Kornilov <hiddenman@altlinux.org>
See-also: http://altlinux.org/Терминальный_сервер_NoMachine_в_KVM
2019-10-27 02:03:05 +03:00
Evgeny Sinelnikov
df88da98fd install2: fix use/install2/autoinstall 2019-10-21 23:11:56 +03:00
Anton Midyukov
0505688e93 init: drop bash-completion-elogind
Conflicts with systemd-utils.

See-also: http://bugzilla.altlinux.org/37352
2019-10-21 20:55:04 +03:00
Anton Midyukov
efefa7b2f6 init: drop bash-completion-systemd
See-also:
http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=commitdiff;h=30c28ce9e6d8d006c81b6bbecaf6423a08d8f3f5
2019-10-16 14:23:39 +03:00
Anton Midyukov
c8aa4ea0aa browser, regular.mk: drop palemoon
...it's no more in Sisyphus too:
See-also: http://git.altlinux.org/tasks/archive/done/_232/238525
2019-10-03 19:56:58 +03:00
aae4330953 disable virtual keyboard for VNC install mode 2019-09-30 21:41:24 +03:00
Anton Midyukov
32e79be977 syslinux: add pxelinux.0
...so that bits required for PXE boot are handy in the image.

Suggested-by: glebfm@altlinux.org, klark@altlinux.org
2019-09-30 21:40:51 +03:00
Anton Midyukov
853c5e275d aarch64-tegra, armh-mcom02: use/bootloader/u-boot
It's required to set BASE_BOOTLOADER variable,
otherwise grub will get in *too*.
2019-09-30 21:29:12 +03:00
Anton Midyukov
8d4c094093 build-vm: drop 04-inittab
Not used by systemd and looks obsolete generally
as sysvinit-based disk images aren't really targeting
low-resource systems these days _by default_ but rather
_can_ target those as well; feel free to reconstruct
these "RAM saving" bits as a part of e.g. lowmem patch.
2019-09-30 21:19:22 +03:00
Ivan A. Melnikov
2245193cbc use/net: Cleanup domain from resolv.conf 2019-09-30 21:06:37 +03:00
Ivan A. Melnikov
21c44d52ec use/net-eth: increase DHCP timeout
bfk3 needs more than 10 seconds to bring the interface up
and get the lease.

TODO: make this configurable.
2019-09-30 21:06:11 +03:00
Anton Midyukov
1709087121 mipsel-bfk3: add use/tty/S0 2019-09-30 19:46:54 +03:00
Anton Midyukov
f9d5a19ffc mipsel-bfk3: add use/mipsel-bfk3/x11 2019-09-30 19:45:16 +03:00
Ivan A. Melnikov
9570ea5590 mipsel-{bfk3,mitx}: Mark sm705 as master-of-seat on tavolga and bfk3
sm750 is seen as framebuffer-only device, so it's not marked with
master-of-seat tag with current udev (which does this mostly to
dri cards). But without master-of-seat device logind does not
report that the seat "CanGraphical", and thus sddm does not
work for it; there might be other problems, too.

This change adds udev rule that marks sm705's fb device as
master-of-seat.
2019-09-30 19:44:54 +03:00
Ivan A. Melnikov
bf37144d05 mipsel-bfk3: Use udev to set sm750 video mode 2019-09-30 19:43:49 +03:00
Ivan A. Melnikov
3956f98bb0 mipsel-bfk3: Initial take on bfk3 support
We only plan to distribute XZ-compressed rootfs tarballs.

(mike@: merging cleaned-up version)
2019-09-30 19:42:10 +03:00
Anton Midyukov
894b898e28 mipsel-mitx: use/tty/S0 2019-09-30 19:39:54 +03:00
Anton Midyukov
4c93a717fb mipsel-mitx: separate use/mipsel-mitx/x11 2019-09-30 19:39:47 +03:00
Ivan A. Melnikov
419cb2ac00 mipsel-mitx: Set console to tty1 in bootconf
Tavolga seldom has a serial port connected, so it makes
more sense to write kernel and systemd's messages
to tty1.
2019-09-30 19:38:45 +03:00
Ivan A. Melnikov
7a731dc3ad mipsel-mitx: set root to /dev/sda6 in bootconf
We don't know the root UUID at this point; recovery.rc
will deal with it later, but we'd like to have
even the tarball in a somwhat working state.
2019-09-30 19:38:38 +03:00
Ivan A. Melnikov
4f37e43204 mipsel-mitx: initial feature for tavolga support
...with xorg-drv-btsm750 and packaged xorg.conf.
2019-09-30 19:38:34 +03:00
Anton Midyukov
a947f13211 kernel: use different kernel flavour on armh only
aarch64 repo has got std-def/un-def flavours by now.
2019-09-23 20:01:14 +03:00
Anton Midyukov
b4f00f4df1 x11: do not disable acpid for enlightenment
This fixes warning at enlightenment startup.
2019-09-16 21:21:51 +03:00
Anton Midyukov
2ff268ec3a x11: add +nm-gtk for use/x11/gtk/nm
...to make it easier for all builds including nm-applet
to add this target.
2019-09-16 21:21:48 +03:00
Anton Midyukov
0fe6b1ee7d build-vm: 07-kernel: all initrd modules are optional
The problem at hand is that different kernels can have
varying module sets, and it makes sense to put four of
those at once sometimes; so avoid silly build breakage.
2019-09-16 21:21:39 +03:00
Anton Midyukov
921762e022 armh-mcom02: add target with proprietary videodriver mali 2019-09-16 21:21:27 +03:00
Anton Midyukov
b150f9097b armh-mcom02: use xorg-drv-fbturbo
xorg-drv-fbturbo is recommended by ELVIS and supports working
with the proprietary mali driver.
2019-09-16 21:21:24 +03:00
Anton Midyukov
e09d7bef57 armh-mcom02: initial features for ELVIS Salute board 2019-09-16 21:21:18 +03:00
Ivan Melnikov
dc598719d0 build-vm, main.mk, pack: add recovery.tar
recovery.tar needed for tavolga (mipsel).
This commit is the result of transferring the required functionality
from build-mr (mipsel rootfs).
This change uses external tool to build Tavolga-compatible
recovery.tar. This simplifies the logic and avoids having
recovery workdir in the profile.
After this change, m-p will require tavolga-image-tools >= 3.0.
2019-09-16 21:21:15 +03:00
Anton Midyukov
ee710017a2 Revert "install2: added installer-feature-create-ghost-directories"
This reverts commit 147964b05f.
installer-feature-create-ghost-directories not needed more.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=37171
2019-09-09 19:31:52 +03:00
Anton Midyukov
6c01aa52ac init: add use/init/systemd/settings/*
Not all systemd-based images need these settings,
so don't change +systemd alias.

See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html
2019-09-09 19:30:24 +03:00
Anton Midyukov
7f8411fb4c aarch64-tegra: initial feature for Jetson Nano 2019-09-09 19:29:48 +03:00
Anton Midyukov
e42bcdcb30 90-build-distro.mk, boot.mk, syslinux: add ARM64 EFI support for distro targets 2019-08-30 19:23:28 +03:00
Anton Midyukov
01ee407543 syslinux: copy config for grub2 on aarch64 2019-08-30 19:23:27 +03:00
Anton Midyukov
ddab9ec084 uboot: handle multiple kernels either
See commit 207cec89c4515fefa2b711acd06c645ed3bd0ee8.
2019-08-30 19:23:17 +03:00
Anton Midyukov
a8b1f11f2e build-vm: handle multiple kernels either again
KFLAVOURS can describe more than one kernel, get iterator back.

Fixes: 27674e297b
2019-08-30 19:23:16 +03:00
Michael Shigorin
79a1c46d85 syslinux: tweak vncconnect item description
I've just borrowed glebfm@'s one introduced by commit
ec23a8ec7b before; this
still might be improved it seems.

Suggested-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2019-08-19 23:37:45 +03:00
Gleb Fotengauer-Malinovskiy
ec23a8ec7b Add installer VNC configs with different labels for images with grub bootloader 2019-08-19 23:33:55 +03:00
Gleb Fotengauer-Malinovskiy
6812e1fe57 install2: fix definition of default password in vnc listen config 2019-08-19 23:33:48 +03:00
Gleb Fotengauer-Malinovskiy
255a0f87d5 bootloader: provide lilo and grub support only on corresponding arches 2019-08-19 23:33:37 +03:00
Gleb Fotengauer-Malinovskiy
9a581248af install2: +install: enable use/install2/full for all arches 2019-08-19 23:33:18 +03:00
Gleb Fotengauer-Malinovskiy
440ee3bbee install2: enable kvm on all arches supported by qemu 2019-08-19 23:33:09 +03:00
Gleb Fotengauer-Malinovskiy
44343a8e13 rescue: on ppc64le install grub-ieee1275 2019-08-19 23:32:30 +03:00
Gleb Fotengauer-Malinovskiy
5cfc7ede81 ppc64le: use syslinux feature only to generate config 2019-08-19 23:32:07 +03:00
Gleb Fotengauer-Malinovskiy
61b48bcc4b build-distro: use ieee1275boot BOOT_TYPE for ppc64le 2019-08-19 23:31:07 +03:00
Gleb Fotengauer-Malinovskiy
35db75378e branding: pull gfxboot and plymouth in only on x86
Plymouth is (much more) portable, but our branding packages contain
bootsplash designs only on x86 nowdays.
2019-08-19 23:30:25 +03:00
Gleb Fotengauer-Malinovskiy
5f8c1c0d01 vmguest: always provide vmguest/base and vmguest/complete features 2019-08-19 23:30:05 +03:00
Gleb Fotengauer-Malinovskiy
f02d3f7d0f vmguest: add kvm/x11 for all arches supported by qemu 2019-08-19 23:29:38 +03:00
Gleb Fotengauer-Malinovskiy
f981ae0c07 syslinux: drop BOOT_TYPE definition (it is already defined by build-distro) 2019-08-19 23:29:09 +03:00
Gleb Fotengauer-Malinovskiy
353a354800 Untie plymouth feature from gfxboot 2019-08-19 23:28:59 +03:00
Gleb Fotengauer-Malinovskiy
e1ce4bd5a6 90-enable-repo: uncomment all matching lines; drop always-broken arch logic 2019-08-19 23:28:43 +03:00
Gleb Fotengauer-Malinovskiy
f7b0b6fc92 deflogin: add use/deflogin/altroot target
...to create users root:alt and alt:root as per BaseALT's rebranding.
2019-08-19 23:28:29 +03:00