<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>56911</bug_id>
          
          <creation_ts>2025-11-19 07:29:16 +0300</creation_ts>
          <short_desc>Сломался grub-mkstandalone --format=&quot;i386-pc&quot;</short_desc>
          <delta_ts>2025-11-21 11:12:45 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>grub-pc</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Egor Ignatov">egori</assigned_to>
          <cc>asy</cc>
    
    <cc>nickel</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>277395</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-11-19 07:29:16 +0300</bug_when>
    <thetext>В версии grub-pc 2.12-alt15 сломался grub-mkstandalone --format=&quot;i386-pc&quot;:
Слегка адаптированная команда из mkimage/tools/mki-copy-grubpcboot:

grub-mkstandalone              --format=&quot;i386-pc&quot;              --output=core.img               --install-modules=&quot;linux normal iso9660 f2fs ext2 fat exfat ntfs ntfscomp biosdisk memdisk part_gpt search tar ls minicmd reboot halt cat&quot;                --modules=&quot;linux normal iso9660 f2fs ext2 fat exfat ntfs ntfscomp biosdi^C part_gpt search&quot;          --locales=&quot;&quot;            --fonts=&quot;&quot;              &quot;boot/grub/grub.cfg=/boot/grub/grub.cfg&quot;

grub-mkstandalone: ошибка: секция .sbat может встраиваться только в образы EFI.

При grub-install --target=i386-pc /dev/sda такая же ошибка.
Очевидно, что виноват коммит &quot;grub-install: Embed SBAT metadata by default&quot;.
Нужно делать это только для efi.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277493</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-11-20 13:17:06 +0300</bug_when>
    <thetext>*** Bug 56934 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277495</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-11-20 13:27:08 +0300</bug_when>
    <thetext>На самом деле, вроде бы, не ломает ничего, а только пугает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277559</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-11-21 10:41:19 +0300</bug_when>
    <thetext>Egor Ignatov, подскажите, когда ждать исправление? Вижу:

https://packages.altlinux.org/ru/tasks/400547/

в статусе failed на этапе install check.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277560</commentid>
    <comment_count>4</comment_count>
    <who name="Egor Ignatov">egori</who>
    <bug_when>2025-11-21 10:44:30 +0300</bug_when>
    <thetext>(In reply to Антон Мидюков from comment #3)
&gt; Egor Ignatov, подскажите, когда ждать исправление? Вижу:
&gt; 
&gt; https://packages.altlinux.org/ru/tasks/400547/
&gt; 
&gt; в статусе failed на этапе install check.

Все верно, это проверка подписи, в остальном все готово. Думаю сегодня таск пройдет в сизиф.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277563</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-11-21 11:12:45 +0300</bug_when>
    <thetext>grub-2.12-alt16 -&gt; sisyphus:

Thu Nov 20 2025 Egor Ignatov &lt;egori@altlinux&gt; 2.12-alt16
- Fix grub-install on i386-pc (closes: #56911)
- add upstream security patch set 2025-11-18:
  (fixes: CVE-2025-54770, CVE-2025-54771)
  (fixes: CVE-2025-61661, CVE-2025-61662, CVE-2025-61663, CVE-2025-61664)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>