ALT Linux Bugzilla
– Attachment 21175 Details for
Bug 58789
Не отображаются сгенерированные bootupd записи в grub при включенном secure boot
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Сгенерированный bootupd конфиг граба
grub.cfg (text/plain), 2.82 KB, created by
Vladimir Romanov
on 2026-04-18 13:12:26 MSK
(
hide
)
Description:
Сгенерированный bootupd конфиг граба
Filename:
MIME Type:
Creator:
Vladimir Romanov
Created:
2026-04-18 13:12:26 MSK
Size:
2.82 KB
patch
obsolete
># Generated by bootupd / do not edit > >if [ -d (md/md-boot)/grub ]; then > # fcct currently creates /boot RAID with superblock 1.0, which allows > # component partitions to be read directly as filesystems. This is > # necessary because transposefs doesn't yet rerun grub2-install on BIOS, > # so GRUB still expects /boot to be a partition on the first disk. > # > # There are two consequences: > # 1. On BIOS and UEFI, the search command might pick an individual RAID > # component, but we want it to use the full RAID in case there are bad > # sectors etc. The undocumented --hint option is supposed to support > # this sort of override, but it doesn't seem to work, so we set $boot > # directly. > # 2. On BIOS, the "normal" module has already been loaded from an > # individual RAID component, and $prefix still points there. We want > # future module loads to come from the RAID, so we reset $prefix. > # (On UEFI, the stub grub.cfg has already set $prefix properly.) > set boot=md/md-boot > set prefix=($boot)/grub >else > if [ -f ${config_directory}/bootuuid.cfg ]; then > source ${config_directory}/bootuuid.cfg > fi > if [ -n "${BOOT_UUID}" ]; then > search --fs-uuid "${BOOT_UUID}" --set boot --no-floppy > else > search --label boot --set boot --no-floppy > fi >fi >set root=$boot > >if [ -f ${config_directory}/grubenv ]; then > load_env -f ${config_directory}/grubenv >elif [ -s $prefix/grubenv ]; then > load_env >fi > >if [ -f $prefix/console.cfg ]; then > # Source in any GRUB console settings if provided by the user/platform > source $prefix/console.cfg >fi > >menuentry_id_option="--id" > >function load_video { > insmod all_video >} > >set timeout_style=menu >set timeout=3 > ># Other package code will be injected from here > >### BEGIN 01_users.cfg ### ># Keep the comment for grub2-set-password >### BEGIN /etc/grub.d/01_users ### >if [ -f ${prefix}/user.cfg ]; then > source ${prefix}/user.cfg > if [ -n "${GRUB2_PASSWORD}" ]; then > set superusers="root" > export superusers > password_pbkdf2 root ${GRUB2_PASSWORD} > fi >fi >### END 01_users.cfg ### > >### BEGIN 10_blscfg.cfg ### >blscfg >### END 10_blscfg.cfg ### > >### BEGIN 14_menu_show_once.cfg ### ># Force the menu to be shown once, with a timeout of ${menu_show_once_timeout} ># if requested by ${menu_show_once_timeout} being set in the env. >if [ "${menu_show_once_timeout}" ]; then > set timeout_style=menu > set timeout="${menu_show_once_timeout}" > unset menu_show_once_timeout > save_env menu_show_once_timeout >fi >### END 14_menu_show_once.cfg ### > >### BEGIN 30_uefi-firmware.cfg ### >if [ "$grub_platform" = "efi" ]; then > menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { > fwsetup > } >fi >### END 30_uefi-firmware.cfg ### > >### BEGIN 41_custom.cfg ### >if [ -f $prefix/custom.cfg ]; then > source $prefix/custom.cfg >fi >### END 41_custom.cfg ###
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58789
: 21175