Bug 41878 - /usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидается целочисленное выражение
Summary: /usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидает...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd-ucode (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-07 13:38 MSK by Vitaly Lipatov
Modified: 2022-03-08 02:21 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2022-02-07 13:38:48 MSK
# 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 '^CONFIG_MICROCODE(|_INTEL|_AMD)=[my]' /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
+ '[' -z '' ']'
+ '[' -z '' ']'
++ sed -r -n -e '1,/^processor[[:cntrl:]]\:.*/ d' -e '/^model[[:space:]]+[[:cntrl:]]\:.*/,$ d' -e 's/.*[[:cntrl:]]\:[[:space:]](.*)/\1/ip' /proc/cpuinfo
+ cpu='AuthenticAMD
15'
+ '[' -n 'AuthenticAMD
15' ']'
+ cpu_vendor=AuthenticAMD
+ cpu_family=15
+ case "$cpu_vendor" in
+ prep_amd_ucode
+ local family=0 ucode_file=
+ '[' -z 15 ']'
++ printf %x 15
+ family=f
+ '[' f -ge 15 ']'
/usr/share/make-initrd/features/ucode/bin/add-ucode: строка 65: [: f: ожидается целочисленное выражение
Comment 1 Repository Robot 2022-03-08 02:21:19 MSK
make-initrd-2.26.0-alt1 -> sisyphus:

 Mon Mar 07 2022 Alexey Gladkov <legion@altlinux.ru> 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'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.