Commit Graph

1437 Commits

Author SHA1 Message Date
Anton Midyukov
6777e4ed2d build-vm: overwrite existing output file 2021-06-18 18:06:29 +07:00
Anton Midyukov
07b4de5408 grub: Updating 95fwsetup_efi.cfg
More accurate name of the menu item.
2021-06-18 18:06:29 +07:00
Anton Midyukov
e7a9ca2d7a x11: require the entire metapackage chain
Protection against apt-get autoremove.
2021-06-18 18:06:29 +07:00
Anton Midyukov
d498289596 dev, kernel: not set BIGRAM to std-def
It does not need to be set to std-def, if it is available, then it
is already by default.
2021-06-18 18:06:29 +07:00
Anton Midyukov
611cadc60a x11, desktop+deepin: initial package list for deepin desktop
NB: deepin-polkit-aget not worked, so replaced to polkit-gnome.
2021-06-18 18:06:29 +07:00
Anton Midyukov
c8bbabcd2a kernel: add missing virtio kernel modules to VM_INITRDMODULES
fix commit e00c4243d8 regression.
2021-06-06 19:55:23 +07:00
Anton Midyukov
a10ff3f906 grub: fix 83rescue_fm.cfg, 85mediacheck.cfg
Add multiple kernels support and initrd.img support instead full.cz.
2021-06-03 15:58:35 +07:00
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
Andrey Cherepanov
02e4820451 do not remove wifi support from install2 to show network interfaces 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
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
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
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
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
Anton Midyukov
6b073a968e grub: Markup configuration files for translation 2021-04-28 17:28:14 +07:00
Anton Midyukov
f43f250ed2 install2, live, live.mk, rescue: Add local boot for grub-pc menu (iso) 2021-04-23 23:19:37 +07:00
Anton Midyukov
b9bbd4c38e grub: Add items boot with local drive for grub-pc (iso)
use/grub/localboot, use/grub/sdab similar to use/syslinux/localboot,
use/syslinux/sdab.
2021-04-23 23:19:37 +07:00
Anton Midyukov
2b6c37afcd grub, hdt: Add hdt support for grub-pc (memdisk + floppy image)
Note: syslinux --install needed /proc, so:
@$(call set,GLOBAL_HSH_PROC,1)

See-also: mkimage/doc/README.ru
2021-04-22 20:11:14 +07:00
Anton Midyukov
09d751fcc0 grub, syslinux, memtest: replace memtest to boot/
memtest is not part of syslinux.
Also replace tabs to spacebar.
2021-04-22 18:43:58 +07:00
Anton Midyukov
f430dda131 grub: do not generate kernel selection menu if KFLAVOURS is not defined 2021-04-22 09:56:44 +07:00
Ivan A. Melnikov
3bf51ea7e6 oem: use/deflogin/root
This change sets the default root password to 'altlinux'
for all the images that employ use/oem feature.
This password will be reset by the configuration wizard at
the first boot and cannot be used to login
to ssh even if it's enabled out-of-the-box. So, 'happy
path' user experience of our distros does not change;
but it helps in troubleshooting the cases
when alterator-setup cannot start e.g. due to broken
graphics.

See https://lists.altlinux.org/pipermail/devel-distro/2021-April/002351.html
2021-04-22 01:32:36 +07:00
Dmitriy Terekhin
f3d8ad8f54 uuid-iso: prevent "lazy evaluation" of time for UUID 2021-04-19 21:16:43 +07:00
Anton Midyukov
b787c7dbff x11: Excluded sddm hit when kde5-display-manager-ligthdm is selected
Raising the priority of a targeted package does not help, and
lowering the priority of a non-targeted package helped.
2021-04-17 02:10:47 +07:00
Anton Midyukov
52e90c264d uuid-iso: use method=cdrom,fuid:<UUID>
method=disk has a number of unsolved problems in the installer.
2021-04-16 01:31:33 +07:00
Anton Midyukov
0e1338a8ac vmguest: Drop virtualbox-addition kernel modules
Already in the mainline linux kernel >= 5.10.
2021-04-12 23:13:57 +07:00
Anton Midyukov
e1875fe7d1 x11: Add switcher display manager for kde5 (sddm|lightdm) 2021-04-12 23:13:57 +07:00
Dmitriy Terekhin
60b2620885 uuid-iso: id file for propagator option "fuid" 2021-04-12 23:13:57 +07:00
Evgeny Sinelnikov
c85cec1a93 Enable use/stage2/cifs wherever enabled use/stage2/net-nfs 2021-04-12 23:13:57 +07:00
Anton Midyukov
5fd76345a8 grub, syslinux: initrd setup arguments support 2021-04-12 23:13:57 +07:00
Anton Midyukov
27e167b25c initrd-propagator, stage1: Replace 80-make-initrd to initrd-propagator
This will allow in the future to use a different initrd option when
building images, for example dracut.
Also drop old make-inird support.
2021-04-12 23:13:57 +07:00
Anton Midyukov
a61162c42b grub, initrd-propagator, syslinux: Set STAGE1_INITRD to initrd-propagator 2021-04-12 23:13:57 +07:00
Anton Midyukov
923cc1704c propagator: Fix cleanup old propagator
the * symbol was seen as a symbol because of the options in the shebang.
2021-04-12 23:13:57 +07:00
Anton Midyukov
5a77a345a6 grub, syslinux: Add support initrd.img instead full.cz 2021-04-12 23:13:57 +07:00
Anton Midyukov
37f5fbca95 stage2: copy initrd instead full*.cz, if that is not available
In the future, it is planned building iso without propagator.
2021-04-12 23:13:57 +07:00
Anton Midyukov
3259b2faa8 initrd-propagator: Select the propagator as a separate feature 2021-04-12 23:13:57 +07:00
Anton Midyukov
2d0b7811be server: Fixed variable name STAGE1_KFLAVOUR to STAGE1_KFLAVOURS
the variable was renamed earlier. See: sub.in/stage1/Makefile.
2021-04-12 23:13:57 +07:00
Anton Midyukov
d9dca6cb1a doc, grub, stage1, stage2: Add support multiple kernels for grub only
At the moment, the ability to select the kernel with which to boot is
implemented only for grub (grub-pc, grub-efi, ieee1275boot).
note that renamed STAGE1_KFLAVOUR to STAGE1_KFLAVOURS, as multiple
kernels can now be added.
2021-04-12 23:13:47 +07:00
Anton Midyukov
f7043b4a3a Revert "grub: Drop multiple kernel support"
This reverts commit 5848ae70df.
2021-04-06 00:15:59 +07:00
Anton Midyukov
918293f1f4 e2k: Use standard PATH for kernel in stage1 2021-04-06 00:15:59 +07:00
Anton Midyukov
131ef0f66b syslinux: replace kernel and initrd from syslinux/alt0 to boot 2021-04-06 00:15:59 +07:00