Commit Graph

1621 Commits

Author SHA1 Message Date
Anton Midyukov
354c2da85c syslinux: cleanup syslinux/.in/ always 2021-12-16 16:44:55 +07:00
Anton Midyukov
98a5f60a53 x11: add use/power/acpi to enlightenment
Enlightenment uses acpid for power management.
2021-12-14 14:34:01 +07:00
Anton Midyukov
8c1c5f6eff Revert "arm-rpi4: change firefox-esr to chromium"
This reverts commit 3e7b8d2943.
No need to assign a browser in this feature. This feature used
actually for all aarch64, armh SBC.
2021-12-11 13:52:13 +07:00
Dmitriy Terekhin
637e7af6fa arm-rpi4: SMART devices are usually not used on RPi4 2021-12-10 22:55:01 +07:00
Dmitriy Terekhin
3e7b8d2943 arm-rpi4: change firefox-esr to chromium
Playing FullHD video with YouTube on Raspberry PI 4 in Firefox-ESR
starting with version 91 occurs with strong delays.
https://bugzilla.altlinux.org/41486
In the chromium problem is not observed.
2021-12-10 21:04:17 +07:00
Anton Midyukov
9fa3dbd8f0 net: fix setup NetworkManager controlled with etcnet (fix typo in 50-net-nm) 2021-12-10 20:50:34 +07:00
Anton Midyukov
f783d28dd9 Revert "Do not rsync .gitignore to build directories"
This reverts commit 366cb49dbe.
.gitignore is needed for packaging empty catalogs to the profile archive.
2021-12-10 20:50:33 +07:00
Anton Midyukov
e066586cba arm-rpi4: copy actualy dtb for last kernel 2021-12-10 20:50:33 +07:00
Anton Midyukov
f35d6500a2 grub: use a more reliable way to identify theme in stage1/scripts.d/01-grub
Use a more reliable way to identify the theme grub.
2021-12-10 20:50:33 +07:00
Konstantin A. Lepikhov
aa77013d70 use/gitlab-runner: update README
- added notes about mkimage network options.
2021-12-10 20:40:01 +07:00
Konstantin A. Lepikhov
4bcf7a17a4 features: add gitlab-runner
- Add gitlab-runner feature.
2021-12-10 20:40:01 +07:00
Konstantin A. Lepikhov
a0068021aa use/net-eth: add dhcp ipv4 only support for networkd 2021-12-10 20:40:01 +07:00
Anton Midyukov
7d631a48cd build-vm: add 20-grub-terminal script for setup terminal_output
By default, GRUB_TERMINAL_OUTPUT='gfxterm' is configured.
This creates problems for virtual machines and single-board computers,
since they need output to console.
2021-12-10 20:40:01 +07:00
Anton Midyukov
99bb98536f dev: Show as an example grub.iso instead of syslinux.iso
grub.iso is available for more platforms.
2021-12-10 20:40:01 +07:00
Anton Midyukov
89d0358454 init: add apt-conf-ignore-systemd for sysvinit
This will solve the problems with the update (p9 -> p10).
2021-12-04 22:12:09 +07:00
Anton Midyukov
0403d2ca7a initrd-bootchain: set BOOTCHAIN_LOGFILE to /var/log/chaind.log
Rename to default.
2021-12-04 22:12:09 +07:00
Anton Midyukov
c2ea126c62 oem: Set piority for rootfs-installer-features package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
16189bc988 live: Set piority for livecd-installer-features package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
e2d2c75015 install2: Set piority for installer-distro-common-stage2 package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
304c4b0359 init: Set priority for systemd-utils-standalone package (use/init/sysv) 2021-12-04 22:12:09 +07:00
Anton Midyukov
7d1c61748f firmware: drop orphaned kernel-modules-acpi_call (use/firmware/laptop)
Not available for all kernels in p10, sisyphus.
Available for std-def only i p9.
2021-12-04 22:12:09 +07:00
Anton Midyukov
e5c6a9b5aa cleanup, install2: drop old cleanup packages 2021-12-04 22:12:09 +07:00
Anton Midyukov
c691652811 uboot: use/tty/S0 for riscv64
ttyS0 is needed qemu. ttySIF0 needs to be set separately.
2021-11-23 23:49:20 +07:00
Anton Midyukov
9eec670524 oem: not use/net-eth/dhcp
The network can be controlled via NetworkManager without ETCnet
configs. DHCP support needs to be added to other targets.
2021-11-22 22:30:28 +07:00
Anton Midyukov
a2ca36201f oem: add packages only to the basic system (not needed in LIVE) 2021-11-22 22:30:28 +07:00
Anton Midyukov
385792d127 oem: not use/x11vnc for use/oem/vnc
Needed alterator-setup 0.3.13.
Now alterator-setup to prepare self to work via VNC.
Also VNC mode is now optional and requires inclusion
in/etc/alterator-setup/config option ALTERATOR_SETUP_VNC=1
2021-11-22 22:30:28 +07:00
Anton Midyukov
7a2df1cbf4 u-boot: build img for RISCV64 with QEMU support
UBOOT_NOFDTDIR does not need more, так как bootload in QEMU uses
U-Boot/EFI.
2021-11-22 22:30:28 +07:00
Anton Midyukov
8ab5bc37e2 dev: exclude livecd-qemu-arch from use/dev/builder/live for non-x86_64
At the moment it seems useless on other architectures.
2021-11-16 23:30:42 +07:00
Anton Midyukov
c11d9d455b browser: exclude livecd-firefox for riscv64 2021-11-16 13:56:23 +07:00
Anton Midyukov
39cbec8b48 grub: add submenu for stagename to netinstall.cfg 2021-11-15 22:47:45 +07:00
Anton Midyukov
a2eed7c8b5 live.mk, mixin.mk, rescue: exclude sdab.cfg from use/rescue
use/rescue need for alt-workstation. But sdab.cfg is not needed.
See also: https://bugzilla.altlinux.org/40704
2021-11-15 22:47:45 +07:00
Dmitriy Terekhin
0ac3ec37ad arm-rpi4: Use rpi-def kernel by default
At the moment rpi-def is LTS 5.10 rpi-un is 5.12
Revert "arm-rpi4: Use rpi-un kernel by default"

This reverts commit 857bf72c1a.
2021-11-15 22:47:45 +07:00
28fcd3fb35 init: drop systemd-settings-disable-dumpcore
systemd-settings-disable-dumpcore will soon be removed from Sisyphus and p10.
2021-11-04 23:36:01 +07:00
Anton Midyukov
cf09d2a648 l10n: add base+l10n tagged list
glibc-gconv-modules is also needed.
2021-11-02 00:46:18 +07:00
Anton Midyukov
4516cf5c46 net: fix build without etcnet 2021-11-02 00:44:37 +07:00
Michael Shigorin
17acb958f2 x11, lists/tagged: initial use/x11/xscreensaver
xscreensaver has more than its main package and the details
of what to get where might be confusing for some of us;
in particular, there are 2D and 3D hacks collections
(and some arches would rather prefer to avoid 3D for now),
desktop file sets aimed for MATE/Xfce, and the frontend.

So let's provide some basic reusable targets.
2021-10-28 01:50:52 +07:00
Michael Shigorin
17f79c3aae e2k: explicit amdgpu support in install2
Looks like this helps installers with 5.4.0-2.20 based kernel
to install fine on Elbrus 801-PC with Radeon RX 580.
2021-10-28 01:14:34 +07:00
Michael Shigorin
7e189ba3c8 e2k: sensors-related tweaks
pwmd is finally available on all of v3/v4/v5 subarches,
and there's an installer feature for v4/v5 specifically.
2021-10-28 01:13:54 +07:00
Michael Shigorin
6fd7ea58e2 e2k: implement -f option for write.sh
This one is somewhat different for readonly optical media
(where [auto]mounted disk is a nuisanse) and writable USB
Flash or even fixed disk (where it's too easy to destroy
data by missing the right letter).
2021-10-28 01:12:49 +07:00
Michael Shigorin
153b19dc2b e2k: add label check to write.sh
...so that it's more applicable to a wider set of images
(those lacking e2k-alt-linux' specific labels just won't
get broken default boot target label name for no reason).
2021-10-28 01:12:31 +07:00
Michael Shigorin
c688933213 e2k: add partition check to write.sh
...otherwise a whole-disk block device would be accepted
by the script but not by the firmware's bootloader.

Optical media isn't to be checked for those of course.
2021-10-28 01:12:06 +07:00
Michael Shigorin
9ac31d36b3 x11: use/x11/amdgpu too when use/x11/3d
Looks like a plain omission.

Rollback from use/x11/nvidia/optimus to plain use/x11/nvidia
for now as I don't have a proper x86 stand to test it now;
feel free to revert this part if you do and bumblebee works.
2021-10-28 01:11:10 +07:00
Dmitriy Terekhin
f69132f575 kernel: add drivers/nvme to initrd 2021-10-26 19:16:22 +07:00
Dmitriy Terekhin
79150c6c3f browser: Use midori on riscv64
firefox is absent in sisyphus_riscv64
2021-10-26 19:13:57 +07:00
Dmitriy Terekhin
28d0a9cf3a x11: Add graphics card support for HiFive Unmatched 2021-10-26 19:12:55 +07:00
Anton Midyukov
fa6ff9bd1c init: fix 65-os-release for rescue also
copy script from features.in/init/rootfs/image-scripts.d/65-os-release
2021-10-18 09:44:49 +07:00
Mikhail Efremov
e5db004075 slinux: Set std-def kernel 2021-10-16 21:42:39 +07:00
Mikhail Efremov
df3b774495 slinux: Use volumes-profile-alt-workstation 2021-10-16 21:42:39 +07:00
Mikhail Efremov
1754b3b02e init: Fix 65-os-release
Handle /usr/lib/os-release if it exists.
2021-10-16 21:42:39 +07:00
Mikhail Efremov
75075cc6aa init: Fix /etc/*-release files installation
Handle dangling symlinks.
2021-10-16 21:42:37 +07:00
Anton Midyukov
f23dd4884c syslinux: fix broken 01-syslinux script in previous version 1.4.18 2021-10-14 17:14:58 +07:00
Anton Midyukov
8fdafec8b7 initrd-bootchain: fix typo
This error from initial version in which the feature has been
named as a pipeline.
2021-10-14 09:02:26 +07:00
Anton Midyukov
d3882587d3 initrd-bootchain: allow BOOTCHAIN_LOGFILE, BOOTCHAIN_LOG_VT to be reassigned 2021-10-13 08:45:44 +07:00
Anton Midyukov
be0c99ee01 grub, syslinux: fix typo (twice sed of @initrd_bootargs@) 2021-10-07 20:30:35 +07:00
Anton Midyukov
244396178a isomd5sum: drop obsoletes feature 2021-10-06 20:47:29 +07:00
Anton Midyukov
9c4bf34eb8 mediacheck: add missing use/grub/mediacheck.cfg target 2021-10-06 20:39:13 +07:00
Anton Midyukov
8d73469d35 grub: remove 'ip=dhcp' from netinstall.cfg
Not need to configure all network interfaces. propagator and bootchain
configure one network interface detected on network boot.
2021-10-05 19:19:38 +07:00
Anton Midyukov
d24c7524b6 kernel: add drivers/mfd drivers/clk to initrd for aarch64, armh
Needed for i2c support on singleboard. Needed for bootloading with
micro-SD on Rockchip rk3399.
2021-10-02 18:30:42 +07:00
Anton Midyukov
63030b67e0 kernel: add use/kernel/disable-usb-autosuspend
Now, when CONFIG_USB=y, to disable usb autosuspend, must pass this
parameter when bootloading the kernel.
Package disable-usb-autosuspend has become useless.
2021-10-01 00:21:59 +07:00
Anton Midyukov
52083d8a4b build-vm: create initrd from a special config
The config for generating a generic initrd can be interesting because
it will allow you to return the initrd to its original generic state.
2021-09-30 14:24:22 +07:00
Anton Midyukov
1190de27ad initrd-bootchain: add interface naming udev rules
The naming conventions for network interfaces on stage1 and stage2 must match.
See also: https://lists.altlinux.org/pipermail/make-initrd/2021-September/000568.html
2021-09-29 11:24:25 +07:00
Anton Midyukov
5a94ada258 drm: drop use/drm/stage2/nvidia target
Kernel modules of the proprietary Nvidia driver should not included
to initrd.
2021-09-28 23:48:24 +07:00
49eb1a9990 x11: fix kde5-display-manager-sddm package name 2021-09-28 22:16:45 +07:00
e1bbca0de6 kernel/stage1: prevent to include nvidia to init kernel modules for livecd 2021-09-28 22:16:45 +07:00
68a09bc89a install2: do not cleanup cec and rc kernel modules (needed for amdgpu) 2021-09-28 22:16:45 +07:00
3f4a94b110 install2: don't remove mmc kernel modules to allow USB 0bda:0129 cardreader 2021-09-28 22:16:45 +07:00
93ecd545be kernel: add rtw89 wifi kernel module for support Realtek RTL8852AE 2021-09-28 22:16:45 +07:00
Anton Midyukov
219291c44d stage2: add explicitly kernel/drivers/net/ethernet to 50-stage2-net 2021-09-23 01:26:03 +07:00
Anton Midyukov
edd9601434 syslinux: Generate isolinux.cfg for any BOOTLOADER
isolinux.cfg required for alterator-netinst.
2021-09-17 23:50:54 +07:00
Anton Midyukov
710601bfde drop usupported armh features 2021-09-17 17:39:44 +07:00
Anton Midyukov
8fded4af85 build-vm: add FEATURES and MODULES_TRY_ADD from /etc/initrd.mk
Variables in cmdline override variables from /etc/initrd.mk
See also: https://lists.altlinux.org/pipermail/make-initrd/2021-September/000533.html
2021-09-17 17:39:44 +07:00
Anton Midyukov
76f5cd1ce7 armh-mcom02: add gpu/drm to initd
Allows you to enable graphical output at the initrd stage.
2021-09-17 17:39:44 +07:00
Anton Midyukov
c1efb923ea build-vm, stage2: set GLOBAL_HSH_PROC=1
Enable /proc for build vm/<target> and distro/<target> with use/stage2.
/proc needed for make-initrd >= 2.23.0.
See also https://bugzilla.altlinux.org/40900
2021-09-13 07:40:44 +07:00
Anton Midyukov
ab2758a039 aarch64-dbm, regular-vm.mk: drop aarch64-dbm feature
This feature has long lost its relevance, as intended for the first
samples of boards Baikal M with very raw UEFI firmware.
2021-09-10 22:37:23 +07:00
Anton Midyukov
3aeef06f10 grub, syslinux: add 'nosplash' parameter to mediacheck 2021-09-10 20:37:15 +07:00
Anton Midyukov
c20a77b93f grub, syslinux: replace 'splash=0' to 'nosplash' in rescue
The 'splash=0' parameter not only disables splash, but also switches
to tty5 on which plymouth is supposed to run. This looks like a bug
in propagator. 'nosplash' is also a general parameter for propagator
and make-initrd.
2021-09-10 20:35:45 +07:00
Anton Midyukov
633567ba55 grub: add ip=dhcp to 88netinstall.cfg
This parameter needed for bootloading with initrd-bootchain.
there are currently no network configuration dialogs when booting
with initrd-bootchain.
2021-09-10 01:16:33 +07:00
Anton Midyukov
c1b349cf30 initrd-bootchain: allow overriding variables in bootchain config 2021-09-09 21:22:06 +07:00
Anton Midyukov
63df7d7f84 vmguest: fix build with use/vmguest/kvm/x11 for BRANCH=p9 2021-09-08 13:00:07 +07:00
Anton Midyukov
683d6318c8 syslinux, grub: add lowmem to install2, rescue
For install2, this is needed to work around error 99-cdrom.sh with method:cdrom.
The error shows up with make-initrd-bootchain, but not propagator, as lowmem is
enabled for propagator in this mode.
For rescue, the point is that the latter has become quite large, so by default
it would be better that way.
2021-09-07 14:04:17 +07:00
Anton Midyukov
ddf515131f syslinux: do not quiet option in 84rescue_remote.cfg 2021-09-07 14:04:17 +07:00
Anton Midyukov
fbcd700b98 grub, syslinux: show option lowmem in 85mediacheck.cfg 2021-09-07 14:04:06 +07:00
Anton Midyukov
222cbe1a38 initrd-bootchain: update bootchain config 2021-09-06 21:56:35 +07:00
Anton Midyukov
0a4e458aea stage2: use/initrd-propagator for e2k%
Need to support initrd-bootchain in e2k feature.
2021-09-04 22:05:08 +07:00
Anton Midyukov
3bd31f23ef initrd-bootchain: do not set OEM_URL_NETINST
In the future, will need to modify generate.mk so that can set all
the variables in this config.
2021-09-04 21:59:58 +07:00
Anton Midyukov
24217832d3 initrd-bootchain: disable bc_debug 2021-09-04 21:59:58 +07:00
Anton Midyukov
628cf987dc vmguest: remove useless REGEXP for xorg-dri-virtio
xorg-dri-virtio was added via REGEXP to work around the package
missing issue on p9. But it didn't work.
2021-09-04 21:52:15 +07:00
Anton Midyukov
6968933e29 ntp: fix add fallbck THE_NTPD_SERVICE
use/ntp was broken by commit 7ef157e2b1
2021-09-04 21:52:15 +07:00
Anton Midyukov
e64557d8ea stage2: use/initrd-bootchain instead use/initrd-propagator for sisyphus 2021-09-04 21:52:15 +07:00
Anton Midyukov
a6563bb0c9 initrd-bootchain: Initial feature
This is an alternative to the initrd-propagator feature.
bootchain-* is a make-initrd features. You should look at the documentation
for it in the make-initrd-bootchain-* packages:
/usr/share/make-initrd/features/bootchain-*/README.md
2021-09-04 21:52:15 +07:00
Anton Midyukov
50a2f3929d Revert "net: enable udevd-final for etcnet"
This reverts commit 8f56e8b9c7.
We will not decide for everyone. This is a crutch, we will use it
only in our area of responsibility (regular builds).
2021-09-04 21:52:15 +07:00
Anton Midyukov
32068dc3c5 grub: arrange functional menus (F2-F5) on 86 to 89 position 2021-09-03 03:04:52 +07:00
Anton Midyukov
b3962e1e0d syslinux: fix 85mediacheck.cfg for override method bootloading stage2 2021-09-03 03:02:33 +07:00
Anton Midyukov
b3ac67eb29 stage2: add use/stage2/net-install
Adds grub "Network installation" submenu and kernel modules to
initrd needed for network booting.
2021-09-03 02:29:06 +07:00
Anton Midyukov
2bceab3f6f grub: add submenu item "Network installation" 2021-09-03 02:02:40 +07:00
Anton Midyukov
4b3bc4e02f grub,initrd-propagator,syslinux: split STAGE1_INITRD_BOOTARGS in half
For use them separately.
2021-09-03 02:02:01 +07:00
Anton Midyukov
51e93b2f3e stage2: update 50-stage2-sbc-aarch64
So will be the best SBC support.
2021-08-31 00:45:31 +07:00
Anton Midyukov
11cfd52dbb kernel: add drivers/soc to VM_INITRDMODULES 2021-08-31 00:45:31 +07:00
Anton Midyukov
b16288bb90 Add COMMON_LISTS variable support by analogy COMMON_PACKAGES
The commit 9969571369 used this variable
even though it didn't exist yet. A good reason to add this variable.
2021-08-31 00:42:31 +07:00
Anton Midyukov
88601a3453 slinux, slinux-arm: drop slinux-arm list and use/slinux/arm target
This target and list was only needed for armh.mk. They are no longer needed.
2021-08-23 21:52:13 +07:00