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

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

    <bug>
          <bug_id>41878</bug_id>
          
          <creation_ts>2022-02-07 13:38:48 +0300</creation_ts>
          <short_desc>/usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидается целочисленное выражение</short_desc>
          <delta_ts>2022-03-08 02:21:19 +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-ucode</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</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>207513</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-02-07 13:38:48 +0300</bug_when>
    <thetext># make-initrd 
[00:00:00] Config file: /etc/initrd.mk
[00:00:01] Guessing config ...
[00:00:01] Generating module dependencies on host ...
[00:00:02] Guessing is complete
[00:00:02] Creating initrd image ...
[00:00:03] Putting udev rules ...
[00:00:04] Putting modules ...
[00:00:04] Generating module dependencies in image ...
[00:00:04] Sorting sysvinit services ...
[00:00:04] Packing image to archive ...
[00:00:05] Writing build info files ...
[00:00:05] Compressing image ...
[00:00:10] Adding CPU microcode ...
/usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидается целочисленное выражение

make-initrd-ucode-2.24.0-alt2



+ grep -E -qs &apos;^CONFIG_MICROCODE(|_INTEL|_AMD)=[my]&apos; /boot/config-5.10.83-std-def-alt1
++ type -P iucode_tool
+ IUCODE_BIN=/usr/sbin/iucode_tool
+ cpu_vendor=
+ cpu_family=
+ iucode_scan_system=--scan-system
+ &apos;[&apos; -z &apos;&apos; &apos;]&apos;
+ &apos;[&apos; -z &apos;&apos; &apos;]&apos;
++ sed -r -n -e &apos;1,/^processor[[:cntrl:]]\:.*/ d&apos; -e &apos;/^model[[:space:]]+[[:cntrl:]]\:.*/,$ d&apos; -e &apos;s/.*[[:cntrl:]]\:[[:space:]](.*)/\1/ip&apos; /proc/cpuinfo
+ cpu=&apos;AuthenticAMD
15&apos;
+ &apos;[&apos; -n &apos;AuthenticAMD
15&apos; &apos;]&apos;
+ cpu_vendor=AuthenticAMD
+ cpu_family=15
+ case &quot;$cpu_vendor&quot; in
+ prep_amd_ucode
+ local family=0 ucode_file=
+ &apos;[&apos; -z 15 &apos;]&apos;
++ printf %x 15
+ family=f
+ &apos;[&apos; f -ge 15 &apos;]&apos;
/usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидается целочисленное выражение</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208315</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-03-08 02:21:19 +0300</bug_when>
    <thetext>make-initrd-2.26.0-alt1 -&gt; sisyphus:

 Mon Mar 07 2022 Alexey Gladkov &lt;legion@altlinux.ru&gt; 2.26.0-alt1
 - New version (2.26.0).
 - Runtime:
   + Show a message if the root is not found for more than 15 seconds (ALT#42016).
 - New fearure:
   + Add locales feature. The feature adds locales and translations of utilities.
 - Feature ucode:
   + Don&apos;t throw an error if no cpu updates are found for intel.
   + Fix firmware definition for amd cpu (ALT#41878).
 - Feature raid:
   + Remove feature due to deprecation.
 - Feature cleanup:
   + Allow to delete temporary files of features.
 - Utilities:
   + initrd-ls, initrd-extract: Fix use-after-free if cpio is empty.
   + replace: Replace utility with bash builtins.
 - Misc:
   + By default show only summary about the build of image.
   + Generate content of sysconfig files.
   + Add more unit tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>