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

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

    <bug>
          <bug_id>56085</bug_id>
          
          <creation_ts>2025-09-22 05:47:06 +0300</creation_ts>
          <short_desc>Typo in guess/device-tree/action file</short_desc>
          <delta_ts>2025-09-22 10:49:09 +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>make-initrd</component>
          <version>unstable</version>
          <rep_platform>all</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>antohami</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>272872</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2025-09-22 05:47:06 +0300</bug_when>
    <thetext>Для make-initrd  2.55.1-alt2 в /usr/share/make-initrd/guess/device-tree/action
в строке 28 опечатка в имени переменной:
    modialias_file=&quot;${uevent%/uevent}/modalias&quot;
      ^^^
- должно быть modalias_file, судя по строкам 31 и 69.

Как следствие, сейчас при выполнении кода выдаётся ошибка вида

/usr/share/make-initrd/guess/device-tree/action: line 31: modalias_file: unbound variable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272879</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-09-22 10:12:47 +0300</bug_when>
    <thetext>(Ответ для Nikolay A. Fetisov на комментарий #0)
&gt; Для make-initrd  2.55.1-alt2 в
&gt; /usr/share/make-initrd/guess/device-tree/action
&gt; в строке 28 опечатка в имени переменной:
&gt;     modialias_file=&quot;${uevent%/uevent}/modalias&quot;
&gt;       ^^^
&gt; - должно быть modalias_file, судя по строкам 31 и 69.
&gt; 
&gt; Как следствие, сейчас при выполнении кода выдаётся ошибка вида
&gt; 
&gt; /usr/share/make-initrd/guess/device-tree/action: line 31: modalias_file:
&gt; unbound variable

Спасибо за рапорт.
https://github.com/osboot/make-initrd/pull/50
#395537 TESTED #1 [test-only] sisyphus make-initrd.git=2.55.1-alt3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272890</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-09-22 10:49:09 +0300</bug_when>
    <thetext>make-initrd-2.55.1-alt3 -&gt; sisyphus:

Mon Sep 22 2025 Anton Midyukov &lt;antohami@altlinux&gt; 2.55.1-alt3
- guess/device-tree: fix typo in the variable name &quot;modalias&quot; (Closes: 56085)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>