Commit Graph

47 Commits

Author SHA1 Message Date
Anton Midyukov
5fd76345a8 grub, syslinux: initrd setup arguments 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
5a77a345a6 grub, syslinux: Add support initrd.img instead full.cz 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
cdc01398f7 grub: fix memtest_efi.cfg, shell_efi.cfg 2021-04-03 22:21:38 +07:00
Anton Midyukov
9658fa449a grub: Added missing README 2021-04-03 22:10:01 +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
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
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
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
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
2088ffdae7 grub: Fix typo in generate.mk 2021-01-25 19:42:32 +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
Anton Midyukov
5848ae70df grub: Drop multiple kernel support 2020-11-12 21:41:32 +07:00
Michael Shigorin
0225b2549f grub: ignore all targets if not available
Otherwise it might e.g. add branding-*-bootloader
for no good reason, poisoning $destdir with an
existing and non-empty /etc/sysconfig/grub2
regardless of the actual grub availability
on the platform.
2020-08-31 14:24:58 +03:00
Anton Midyukov
1babd587ab grub: Added the ability to define the default menu item
Example:
@$(call set,GRUB_DEFAULT,uefi-firmware)
@$(call xport,GRUB_DEFAULT)

See features.in/grub/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
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
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
0950ba8012 grub: added gfxmode support 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
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
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
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