Commit Graph

4268 Commits

Author SHA1 Message Date
Anton Midyukov
32f1491fbd grub: Add save default item support for more items 2021-05-21 00:07:30 +07:00
Anton Midyukov
8f01688b34 grub: Fix selection of default item
1. Didn't work before because the variable was not exported.
2. Fixed the logic broken by the introduction of support for saving
the selected item on the FAT partition.
2021-05-21 00:03:59 +07:00
Anton Midyukov
366f6a6ba5 build-vm, image.in: Fix parameter VM_SAVE_TAR -> VM_SAVE_TARBALL
The code is given in accordance with the documentation
See-also: commit 2987fa8f61
2021-05-20 20:41:35 +07:00
Dmitriy Terekhin
efec47fa42 grub: save ang read default menu item
If the ISO image has a FAT partition and the image is written
to a flash drive, then it is possible to write to this partition
of the flash drive.
This is necessary, for example, if the user
does not want to install the system, but wants to constantly work
in LiveCD mode with or without recording sessions.
In order for this code to work, you need to make changes
to the FAT partition of the image on the flash drive:
Add the 1st line to the grub.cfg file:
set pfxfat=${prefix}
Write a 1kb file grubenv.
If grub.cfg contains a line like '^default=id',
then the read value is not used.
2021-05-19 15:55:44 +04:00
Evgeny Sinelnikov
aed27a30f8 grub: look for any way to set default menu item
This prepares the ability to write and read
the default menu item from the grubenv file.
If grub.cfg contains a line like '^default=id',
then the read value is not used.
Setting the default menu item from the grubenv file
will be indented inside the 'if' optator and therefore
does not match the '^default' pattern.
2021-05-19 15:52:34 +04:00
Anton Midyukov
8354c1bb70 gear-store-tags 2021-05-17 18:37:52 +07:00
Anton Midyukov
3d2c882ca7 1.4.11-alt1
- build-vm: Add ability to build .img.xz (thanks sem@)
- reports.mk: optimiztion for generate rpm and srpms lists (thanks mike@)
- reports.mk: generate targets.svgz instead targets.png
- add VM_SAVE_TARBALL parameter
- add MKIMAGE_PREFIX parameter
- kernel: optimization use/kernel/initrd-setup
- set STAGE1_INITRD_BOOTARGS in initrd-propagator
- slinux 9.1
- education 9.2
2021-05-17 18:36:09 +07:00
Anton Midyukov
81dba53bc3 regular.mk: use syslinux bootloader for gnustep-sysv
It is necessary to monitor the state of syslinux in Sisyphus.
2021-05-17 18:14:29 +07:00
Andrey Cherepanov
81391e9ca5 education: do not install syslinux and owamp-server missing on aarch64 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
c619f68409 education: use un-def kernel for aarch64 architecture 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
ac8f6f8da8 education/base: add wineexec to run Windows execulatble in two clicks 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
2ce7ac97f0 education: add jre for LibreOffice-still both for install and live 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
0dcb8ed5c5 education: Use complete LibreOffice set with langpacks both for install and live 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
ddf1f8b09b education: release 9.2 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
ad4f247408 education: 9.2rc1 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
b9c68b7e0e education/misc: replace gksu by beesu 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
03d7f2aa05 education/misc: add alterator-control 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
00a8da5bc3 education: add option to make FAT partition during install 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
f2fbbd2f0f education/misc: add alterator-update-kernel for kernel update 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
ab118c32ba education: use use/power/acpi instead of +power because this leads to a forced shutdown [distrtest-3933] 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
8852295296 education/misc: add alterator-grub [distrtest-2996] 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
a0b2f7769d education/teacher: remove installer-feature-init-italc due to migrate to veyon 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
02e4820451 do not remove wifi support from install2 to show network interfaces 2021-05-17 18:14:29 +07:00
Andrey Cherepanov
e0380532ce education: remove use/net-eth/dhcp to make NetworkManager work natively 2021-05-17 18:14:29 +07:00
Anton Midyukov
b2570d8246 lib/profile.mk, doc/params.txt: add parameter MKIMAGE_PREFIX
Previously, you had to specify two parameters MKIMAGE_PREFIX and
GLOBAL_PREFIX with the same value - the path to mkimage. And this
behavior has not been documented. The GLOBAL_PREFIX variable is
defined in mkimage in config.mk and rules.mk.
2021-05-17 18:14:29 +07:00
Anton Midyukov
f1df1961d3 kernel: exclude drivers/rtc from VM_INITRDMODULES
rtc not needed in initrd.
2021-05-14 12:48:26 +07:00
Anton Midyukov
d5c7db0824 x11: exclude primus for aarch64 2021-05-12 21:47:52 +07:00
Anton Midyukov
5cbd365f2c uuid-iso: drop 30-propagator-method-cdrom-fuid
Not needed more. uuid assigned directly in configs.
2021-05-12 13:43:18 +07:00
Anton Midyukov
3e77e02956 grub, initrd-propagator, stage2, syslinux: set STAGE1_INITRD_BOOTARGS in initrd-propagator 2021-05-12 13:36:59 +07:00
Anton Midyukov
e00c4243d8 kernel: optimization use/kernel/initrd-setup
make-initrd supports adding module directories.
2021-05-12 03:02:10 +07:00
Anton Midyukov
de18e39e61 uuid-iso: Allowed for all platform with grub support
Since we are now using fuuid, it doesn't depend on mkimage version.
But it depends on the propagator version.
Needed propagator >= 20210329-alt1
See-also: commit 52e90c264d
2021-05-11 09:38:31 +07:00
Anton Midyukov
97df2ac24c engineering/apcs: exclude beremiz
beremiz removed from Sisyphus.
See-also: http://git.altlinux.org/tasks/archive/done/_265/271405
2021-05-10 21:41:45 +07:00
Anton Midyukov
f4811470d5 desktop+regular: replace fuse-exfat to exfatprogs
As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is
created as an official userspace utilities that contain all of the standard
utilities for creating and fixing and debugging exfat filesystem in linux
system.
std-def kernel in Sisyphus 5.10.
2021-05-04 09:59:42 +07:00
Anton Midyukov
2987fa8f61 build-vm, image.in: add VM_SAVE_TARBALL parameter
The parameter is used to save the intermediate tarball used to
build the virtual machine image.
2021-05-01 01:39:54 +07:00
Anton Midyukov
f9ef0e95f7 reports.mk: generate targets.svgz instead targets.png
SVGZ is more than a hundred times smaller than PNG.
a
2021-04-29 21:26:51 +07:00
Michael Shigorin
1d8b9f494d reports.mk: provide bashism with bash
Wrote that it's a bashism myself and neglected
to specify the proper shell, sigh.

This SHELL manipulation could ruin tracing
piggybacked onto it within lib/report.mk
but it's too late at this stage anyways.
2021-04-29 12:29:22 +07:00
Michael Shigorin
6f584cdc52 reports.mk: use process substitution to dedup
The first half of both pipes was clearly a copy-pasted
initial logfile processing; the file can be of considerable
size (e.g. several megabytes) so it might be slightly more
efficient and cool (but a bit more arcane) to use bash(1)'s
process substitution along with good ol' tee(1) like this:

$ echo -e '1\n2\n3' |tee /dev/stderr 2> >(grep 2 >STDERR) |grep 1 >STDOUT
$ head STD*
==> STDERR <==
2

==> STDOUT <==
1
2021-04-29 12:29:22 +07:00
Michael Shigorin
4c701def7c reports.mk: streamline basedir(1) equivalent
That "clever hack" with two rev(1) invocations
seems pretty stupid to me: too much processes
and processing instead of simple prefix removal.

One can also have that as ${var##*/} when dealing
with a shell variable and avoiding extra forks, BTW.
2021-04-29 12:29:22 +07:00
Michael Shigorin
4a419e6bbb reports.mk: factor out reports/packages
..making it fit 80 columns while at that
to avoid horizontal spaghetti code.
2021-04-29 12:29:22 +07:00
Michael Shigorin
47d9b05b8c grub: fix typo in menu entry
Just a cosmetic fixup (until not paired up with translations):
"2nd" means "second", "1st" meant "first".
2021-04-28 19:34:45 +07:00
Anton Midyukov
a6d9ea8b47 slinux/graphics-base: add glxinfo
Needed to execute command:
inxi -G
2021-04-28 17:57:01 +07:00
Michael Shigorin
949d005e8a slinux: fix e2k build
plymouth might better be used through the corresponding feature
(it's the single place to know how it performs on various arches),
and some other packages are just missing.
2021-04-28 17:54:20 +07:00
Michael Shigorin
9024e2db24 basealt.mk: flashrom by default on e2k
This package is requisite for updating "boot" (Elbrus firmware).
2021-04-28 17:54:20 +07:00
Michael Shigorin
ee8892702f tar2fs: fix e2k handling
The missing glob resulted in disk images properly
partitioned only for e2kv3 ("e2k" for historical
reasons in ALT), and v4+ ones only got a single
ext4 partition that wouldn't work with current
MCST's Boot code.
2021-04-28 17:54:19 +07:00
Mikhail Efremov
125ad24e6c vm: Add ability to build .img.xz
So we are can to build compressed img files.
2021-04-28 17:37:49 +07:00
Mikhail Efremov
be353bc77d slinux: Add winetricks
Suggested by testers.
2021-04-28 17:37:02 +07:00
Dmitriy Terekhin
e1cebfe15e slinux: Add glmark2 for demonstration at Baikal-M 2021-04-28 17:36:33 +07:00
Dmitriy Terekhin
bb7d6ef04b Revert "slinux: Replace firefox-esr with firefox on non-x86"
This reverts commit bf762a260f.
The issue on RPi3 is not observed with firefox-esr-78.9.0-alt0.1.p9
2021-04-28 17:36:13 +07:00
Mikhail Efremov
88d0db35c3 slinux: Exlicitly add use/install2/fat
For FAT partitions on non-EFI images (e.g. i586).
2021-04-28 17:34:27 +07:00
Mikhail Efremov
b73541124b slinux: Use vlc on tegra
Celluloid segfaults on Jetson Nano, so use vlc there, but keep
celluloid for other aarch64 systems.
2021-04-28 17:33:20 +07:00