Anton Midyukov
131ef0f66b
syslinux: replace kernel and initrd from syslinux/alt0 to boot
2021-04-06 00:15:59 +07:00
Anton Midyukov
1f4db6c7fe
stage1: build propagator and copy kernel in mkimage-profiles
2021-04-06 00:15:59 +07:00
Nikita Ermakov
3cf428e6e0
bootloader: Add riscv64 to GRUB_ARCHES
2021-04-04 23:15:47 +07:00
Nikita Ermakov
ccf377188e
uboot: Allow to not specify an fdtdir in extlinux.conf
...
QEMU for riscv virt machine passes its own DTB. Overriding DTB breaks
Linux loading.
2021-04-04 23:14:44 +07:00
Nikita Ermakov
741d59ab3d
tty, uboot: Update ttySI0 to ttySIF0 for riscv64
...
ttySI0 was a name of HiFive Unleashed serial console. It was changed to
ttySIF0.
2021-04-04 23:14:36 +07:00
Anton Midyukov
d08d14025a
kernel/lib/10-kernel.mk: sort modules, removing duplicates
...
Another workaround for https://bugzilla.altlinux.org/show_bug.cgi?id=39663
2021-04-04 15:48:04 +07:00
Anton Midyukov
d2d94796d6
kernel, wireless: Replace kernel modules to use/kernel/wireless
2021-04-04 15:43:38 +07:00
Anton Midyukov
7318fc49f5
init: Add startup for targets with sysvinit
...
startup soon won't be installed by anyone.
2021-04-03 22:59:47 +07:00
Anton Midyukov
465ddc27ad
stage2: Added exfat support (50-stage2-fs)
2021-04-03 22:59:47 +07:00
Anton Midyukov
f5db78efcb
stage2/stage1/modules.d: fix missing file extension (.ko)
2021-04-03 22:21:38 +07:00
Anton Midyukov
64e2edcfb5
init: Add mount-efivars for sysvinit
...
This is necessary for kernels 5.10 and higher on systems with sysvinit,
since no one else on these systems except this service will mount
evivars in /sys/firmware/efi/efivars.
2021-04-03 22:21:38 +07:00
Anton Midyukov
60a87c1f82
init: Add rsyslog-classic for sysvinit as THE_PACKAGES
...
Also needed for livecd.
2021-04-03 22:21:38 +07:00
Anton Midyukov
cdc01398f7
grub: fix memtest_efi.cfg, shell_efi.cfg
2021-04-03 22:21:38 +07:00
Anton Midyukov
eb34af1318
stage2: Add cmac.ko to 50-stage2-net-cifs, 10-stage2
...
cmac.ko needed for use SMB2 and newer.
Reported-by: sin@
2021-04-03 22:12:04 +07:00
Anton Midyukov
9658fa449a
grub: Added missing README
2021-04-03 22:10:01 +07:00
Anton Midyukov
1ab7f9178b
fonts: Set SYSTEM_FONTS for use/fonts/install2 again
...
The base font is needed not only in the installer, but also in the
installed system, since the final steps start alterator from the
installed system.
use/fonts/system leave as an alias.
2021-04-03 22:10:01 +07:00
Anton Midyukov
6012ea4029
stage1: Del squash option '-noI'
...
squashfs built with this option are not loaded with modern kernels.
2021-04-03 22:10:01 +07:00
Anton Midyukov
c3ac5009ae
uuid-iso: Available for i586, x86_64, aarch64 only, needed mkimage 0.2.41
...
In mkimage 0.2.41 it is implemented only for mki-pack-efionly-isoboot,
mki-pack-grubpc-isoboot, mki-pack-isoboot.
2021-04-03 21:50:03 +07:00
Dmitriy Terekhin
a30785ff8a
stage2: use uuid-iso to identify the image by UUID
2021-04-03 21:50:03 +07:00
Dmitriy Terekhin
0f8e976fdc
uuid-iso: create UUID for ISO image
...
By default, when building an image, xorriso generates
an image UUID of the form YYYY-MM-DD-hh-mm-ss-cc
from the current time.
If the xorriso command line has a parameter
-volume_date uuid YYYYMMDDhhmmsscc
then the UUID of the image is generated from it.
This feature reads the current time and creates variables:
UUID_ISO containing YYYY-MM-DD-hh-mm-ss-cc
UUID_ISO_SHRT containing YYYYMMDDhhmmsscc
Also add 60-cdrom_id.rules to initrd
This allows to identify CD/DVD by UUID
and use to boot the installer
method:disk,uuid:YYYY-MM-DD-hh-mm-ss-cc
2021-04-03 21:50:03 +07:00
Anton Midyukov
58eea1911b
boot.mk, efi, grub: Add support riscv64
...
For riscv64 available grub-efi.
Needed added support for mkimage (mki-copy-efiboot-chrooted).
2021-03-16 21:15:49 +07:00
Anton Midyukov
724d904cae
grub: restrict graphics mode to architectures i586, x86_64, aarch64
...
Not needed for other architectures.
See-also: use/branding/full
2021-03-16 21:06:04 +07:00
Anton Midyukov
f40fe0ebc5
boot.mk, grub, syslinux: Add the ability to override BOOTLOADER
...
More than one BOOTLOADER may be available for the same architecture.
Set IMAGE_PACKTYPE in boot/iso, there is no point in duplicating
in different features.
Closes ALT bug 39786.
2021-03-16 18:12:48 +07:00
Anton Midyukov
d8041a29cc
build-distro: BOOT_TYPE = $BOOTLOADER
...
There is no point in duplicating conditions.
2021-03-16 18:12:48 +07:00
Anton Midyukov
432df04328
x11: Reduce size of kde5
...
With kde5-maxi image is too large (over 2 GB).
2021-03-15 23:05:49 +07:00
Anton Midyukov
a502ab1894
live: Unified use/live/rw
...
make-initrd-propagator >= 0.44-alt1 always create alt-live-storage.
2021-03-15 23:05:49 +07:00
Anton Midyukov
adad3b9fd0
plymouth: Drop duplicate script in stage2
...
This script is not needed, since the identical script
features.in/plymouth/rootfs/image-scripts.d/10-plymouth is run
for stage2.
2021-03-15 23:05:49 +07:00
Anton Midyukov
fd1e972ceb
armh-mcom02: Don't overwrite extlinux.conf, set screen resolution 1366x768
...
- No need to do double work.
- With screen resolution '1920x1080' there are errors getting EDID when
using fbturbo videodriver. There is a cyclical shift of the screen
image to the right.
2021-03-15 23:05:49 +07:00
Anton Midyukov
d30083a857
uboot: Define timeout variable
...
It is possible to set a timeout for automatic bootloading via a
variable.
2021-03-15 23:05:49 +07:00
Anton Midyukov
3f98496eab
efi: Add check EFIVAR_FS option
2021-03-15 23:05:49 +07:00
Anton Midyukov
c87d3a3b2a
arm-rpi4: Enable fkms for RPi3
...
Fix framebuffer in kernel rpi-un 5.10.20-alt1.
2021-03-15 23:05:49 +07:00
Anton Midyukov
c0447b06ce
x11: Not add use/drm to use/x11
...
This is base target, drm not needed.
2021-03-15 23:05:49 +07:00
Anton Midyukov
4fa38acd17
net: Added switch between NetworkManager (etcnet) and NetworkManager (native)
...
NetworkManager (etcnet) is default now.
2021-03-15 22:48:46 +07:00
Ivan A. Melnikov
6741ce4edf
use/net: Fix 50-net-nm configuration
...
NM_CONTROLLED should always be set together with DISABLED;
otherwise, it's possible to reach the state where
DISABLED=no but NM_CONTROLLED=yes, and have the interface
controlled by both NM and etcnet.
2021-03-15 22:48:46 +07:00
Dmitriy Terekhin
dba1f2c6d6
arm-rpi4: Use pi-bluetooth as it works on both RPi3/4
2021-03-04 20:22:18 +04:00
Dmitriy Terekhin
857bf72c1a
arm-rpi4: Use rpi-un kernel by default
2021-03-04 20:20:31 +04:00
Mikhail Efremov
b2444b812b
slinux: Drop installer-feature-nfs-client-stage3 from vm/*
...
Suggested by iv@: rpcbind is not needed in SL.
2021-02-24 15:56:55 +03:00
Mikhail Efremov
49475f172a
slinux: Drop rootfs-installer-features
...
It is pulled by use/oem/distro target.
2021-02-24 15:56:55 +03:00
Mikhail Efremov
7c6521f42c
slinux: Don't use installer-distro-simply-linux-stage3 for vm/*
...
This package for installer only, don't use it on vm/*.
Just explicitly add installer-features, which can be used with
rootfs-installer-features.
This reverts commit 991a0a35af
.
2021-02-24 15:56:55 +03:00
Ivan A. Melnikov
41a9f8a36a
use/oem: Add installer-common-stage3
...
installer-common-stage3 configures network. Without it,
net-eth step of the OEM setup does not work properly.
2021-02-24 15:07:04 +07:00
Anton Midyukov
991a0a35af
slinux: Add installer-distro-simply-linux-stage3 also
...
installer-distro-simply-linux-stage3 installs the required
installer-features.
2021-02-24 15:05:08 +07:00
Anton Midyukov
b2b69d38dd
slinux: Temporary use un-def kernel for all targets
...
Current un-def kernel (5.10.x) should be std-def at the time
of SL-9.1 release.
2021-02-24 15:00:21 +07:00
Anton Midyukov
66b9a390d0
arm-rpi4: Add hdmi_ignore_edid_audio=1 to config.txt
...
Fixes audio on mainline kernel.
See-also: https://forum.manjaro.org/t/rpi4-a-v-jack-missing-when-using-vc4-driver-kms/50948/19
2021-02-24 14:25:33 +07:00
Anton Midyukov
cb6d5e5449
uboot: Not add 'cma=192M' to UBOOT_BOOTARGS
...
Booting to Raspberry Pi 4 is not possible with these parameter.
2021-02-24 14:25:33 +07:00
Anton Midyukov
8cd927b8d3
office: Add lang to use/office/LibreOffice/full
2021-02-18 20:31:56 +07:00
Anton Midyukov
01c789b2cf
slinux: Add additional steps for alterator-setup (vm/ targets)
2021-02-18 19:52:46 +07:00
Anton Midyukov
86351df6d0
oem: Add use/oem/distro
...
use/oem/distro contains additional steps for executing preinstall
scripts and network configuration.
2021-02-18 19:47:04 +07:00
Ivan A. Melnikov
29cd8e808b
slinux: Use celluloid and firefox on mipsel
...
They work better on Tavolga.
2021-02-18 02:53:00 +07:00
Ivan A. Melnikov
b6f68762c0
slinux: Add use/ntp/chrony mixin-base
...
In addition to code re-use, it also pins chrony as
ntp daemon implementation, which helps to avoid
adding systemd-timesyncd into the images.
2021-02-18 02:52:43 +07:00
Ivan A. Melnikov
8e9fa2bd63
kernel: Add initrd features usb, qemu for mipsel
...
Available for mipsel too.
2021-02-18 02:52:24 +07:00
Ivan A. Melnikov
2bd9931a22
mipsel-bfk3: Don't add ext2 module to initrd explicitly
...
This is already done for VM_FSTYPE in a much better way.
2021-02-18 02:52:00 +07:00
Ivan A. Melnikov
9db2390d31
mipsel-bfk3: Switch to 5.4 kernel
...
There, DTB is named differently.
2021-02-18 02:51:43 +07:00
Ivan A. Melnikov
9620de4b70
mipsel-bfk3: Specify DTB name in config.mk
...
mipsel-bfk3 feature often serves as basis for special
build for various other BE-T1000-based devices. Having
DTB name in config.mk simplifies creating such derivatives.
2021-02-18 02:51:28 +07:00
Anton Midyukov
e1f2f41c2b
slinux: Cleanup
...
lang=ru_RU not needed added into EFI_BOOTARGS, when use grub-efi.
grub-efi use by default.
2021-02-18 02:43:08 +07:00
Anton Midyukov
272f99160c
slinux.mk, slinux: Drop use/slinux/arm-base, pruning
2021-02-18 02:41:47 +07:00
Anton Midyukov
9ff80345cf
slinux: Simplify use/slinux/vm-base
2021-02-18 00:56:49 +07:00
Anton Midyukov
de9adb0594
build-distro, boot.mk: Set BOOT_TYPE, BOOTLOADER to efiboot for aarch64
...
mki-copy-grubaa64boot more not needed. In addition, it did not
support the config in boot/grub instead of EFI/BOOT.
Needed mkimage >= 0.2.38-alt1
2021-02-17 13:47:39 +07:00
Anton Midyukov
b9201c6a74
serer: Removed kernel modules that haven't been built for a long time
2021-02-15 19:14:23 +07:00
Anton Midyukov
63fc0919db
kernel: Removed kernel modules that haven't been built for a long time
2021-02-15 19:14:23 +07:00
Anton Midyukov
d68e0d0768
sound: Removed kernel modules that haven't been built for a long time
2021-02-15 19:14:23 +07:00
Mikhail Efremov
029315e6f4
slinux: Temporary use un-def kernel
...
Current un-def kernel (5.10.x) should be std-def at the time
of SL-9.1 release.
2021-02-15 19:14:22 +07:00
Anton Midyukov
67c14e429b
grub: Add copy grub theme and locale
...
Thanks underwit@
See-also: ALT bug 39632
2021-02-15 19:14:22 +07:00
Anton Midyukov
6fafc883a0
grub: fix comment in 01-grub
2021-02-15 19:14:22 +07:00
Anton Midyukov
dfa67141d8
grub: Use common grub.cfg for grub-pc and grub-efi
2021-02-15 19:14:19 +07:00
Anton Midyukov
aa12c024f9
grub: Use variable $linux_suffix
...
Needed for use one grub.cfg config for all grub platforms.
2021-02-15 17:07:04 +07:00
Anton Midyukov
83109b6bc4
syslinux: Add grub-pc compatibility
...
Directory syslinux can exist if using memtest feature.
2021-02-15 17:05:54 +07:00
Anton Midyukov
1e2a05d9bc
grub, memtest: Add memtest for grub-pc
2021-02-14 23:22:56 +07:00
Anton Midyukov
7de3db560e
grub: Add support grub-pc for ISO bootloading
...
It is required to set the BOOTLOADER and BOOT_TYPE variables in
grubpcboot.
2021-02-14 23:22:56 +07:00
Anton Midyukov
5e60c91a04
net-eth, mipsel-*: Add new target use/net-eth/dhcp/timeout/$TIMEOUT
...
Thanks for the idea Ivan A. Melnikov.
2021-02-14 23:22:56 +07:00
Anton Midyukov
06b67bd75a
firmware: Add firmware-bcm4345 for aarch64, armh
...
Needed for bluetooth support for Raspberry Pi.
2021-02-14 23:22:56 +07:00
Anton Midyukov
961db57535
grub: fix config for grub_platform
2021-02-14 23:22:56 +07:00
Anton Midyukov
99db7a9e8c
grub: replace kernel flavour menu before memtest
2021-02-14 23:22:56 +07:00
Anton Midyukov
439fe29841
build-vm, mipsel-{bfk3,mitx}: Execute fstab scripts before 17-kernel
...
This is necessary for the 'rootfs' initrd feature to work properly
2021-02-14 23:22:56 +07:00
Anton Midyukov
e79b1385d4
build-vm: Add initrd features: kbd rdshell rootfs
...
This is a standard set of initrd features.
2021-02-14 23:22:56 +07:00
Anton Midyukov
563d99e199
build-vm: 17-kernel: Add -efu options to shebang, add verbose for make-initrd
2021-02-14 23:22:56 +07:00
Anton Midyukov
d86bb07f4a
kernel: Add initrd feature usb for more architectures
...
In make-initrd >= 2.5.0-alt1 feature usb requires kernel modules optional.
2021-02-14 23:22:56 +07:00
Anton Midyukov
58e83cea49
build-vm, kernel: Not add specified initrd features into initrd.mk
...
This features not needed for auto-detect.
We also add features not only to initrd.mk, but also specify them
explicitly in the command.
2021-02-01 18:04:40 +07:00
Anton Midyukov
5c1239c97a
grub: Use META_VOL_ID for @distro@ instead RELNAME if available
...
In menu you need the name of the distributiv.
If not set, then we will be as before.
Also corrected the selection of phrases for translation.
Suggested-by: zerg@
See-also: ALT bug 39611, 39612.
2021-01-28 17:33:43 +07:00
2a875c7064
grub: Markup configuration files for translation
2021-01-26 21:29:19 +07:00
Anton Midyukov
fb1ad2cae0
kernel: Added initrd moule reset_raspberrypi for Raspberry Pi 4 8 GB support
2021-01-26 12:02:29 +07:00
Anton Midyukov
b910f28925
stage2: Added reset-raspberrypi.ko into 50-stage2-sbc-aarch64
...
Needed for Raspberry Pi 4B 8 GB.
2021-01-26 11:58:29 +07:00
Anton Midyukov
ae69a2d563
rescue: Added rescue_rw.cfg for grub-efi
...
No problem with EFI support.
2021-01-25 19:42:32 +07:00
Anton Midyukov
2088ffdae7
grub: Fix typo in generate.mk
2021-01-25 19:42:32 +07:00
Anton Midyukov
765796d35c
oem: Not use git in 60-oem-install.mk
...
But with git might not work.
2021-01-25 19:42:32 +07:00
Anton Midyukov
283c03f0c5
stage2: Add more usb drivers into into 50-stage2-usb
2021-01-25 19:42:32 +07:00
Anton Midyukov
09717d13b0
efi: Not check CONFIG_EFI_VARS
...
CONFIG_EFI_VARS is deprecated, and removed for aarch64 (Linux >= 5.10.0).
2020-12-24 21:41:35 +07:00
Anton Midyukov
33523fb532
oem: Create empty /var/lib/install3/lists/.base
...
Empty lists/.base needed for alterator-pkg to calculate the space
required for installation when selecting groups.
See-also: https://lists.altlinux.org/pipermail/devel-distro/2020-December/002239.html
2020-12-23 01:48:59 +07:00
Dmitriy Terekhin
4aeed7ed2e
stage2/stage1: fix module names to match kernel
2020-12-05 21:03:03 +07:00
Anton Midyukov
77e80ef011
oem: Add use/oem/install target
...
This target needed for alterator-setup (pkg step).
Also added preinstall and eth-net steps.
2020-12-05 00:25:53 +07:00
Anton Midyukov
07525d728d
browser, live.mk: Drop use/browser/plugin/java, use/browser/plugin/flash
...
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
8889187eb6
browser, mixin.mk: Drop use/browser/seamonkey/i18n
...
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
e0aa88b7b1
grub: Add EFI_BOOTARGS into BOOT/EFI/grub.cfg
...
Pay attention to what you are adding to the variable. No need to
add language and live_rw there! Они нужны только для refind.
2020-12-05 00:25:53 +07:00
Michael Shigorin
40fb799e84
install2: fix typo in cleanup script
...
Oops, I sure meant a prefix and not a single-letter name.
Reported-by: Sergey V Turchin <zerg@altlinux.org>
Fixes: 4130212a23
2020-12-05 00:25:53 +07:00
Anton Midyukov
f1de2584c2
armh-skit: auto-resize root patition enable
2020-12-05 00:25:53 +07:00
Anton Midyukov
082b221076
armh-skit: Not add u-boot bootloaders
2020-12-05 00:25:53 +07:00
Anton Midyukov
dd0a009edd
armh-mcom02: Fix auto-resize root patition
2020-12-05 00:25:53 +07:00
Anton Midyukov
b7efa177bd
arm-rpi4, auto-resize: replace 91-edit-fstab-growfs into new feature
2020-12-05 00:25:53 +07:00
Anton Midyukov
e3c2d95a3d
arm-rpi4: Drop 97-gen-uboot-env
...
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
d970362b50
arm-rpi4: Disable #dtoverlay=vc4-fkms-v3d for RPi3 on aarch64
...
framebuffer not working with dtoverlay=vc4-fkms-v3d on RPi3 aarch64.
2020-12-05 00:25:53 +07:00
Anton Midyukov
0eb63906ee
arm-rpi4: Clean use/arm-rpi4/x11
...
The Raspberry Pi 4 has hardware acceleration, there is no need to
use special programs.
bluetooth is needed only on a desktop.
2020-12-05 00:25:21 +07:00