Bug 56085 - Typo in guess/device-tree/action file
Summary: Typo in guess/device-tree/action file
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-22 05:47 MSK by Nikolay A. Fetisov
Modified: 2025-09-22 10:49 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay A. Fetisov 2025-09-22 05:47:06 MSK
Для make-initrd  2.55.1-alt2 в /usr/share/make-initrd/guess/device-tree/action
в строке 28 опечатка в имени переменной:
    modialias_file="${uevent%/uevent}/modalias"
      ^^^
- должно быть modalias_file, судя по строкам 31 и 69.

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

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

Спасибо за рапорт.
https://github.com/osboot/make-initrd/pull/50
#395537 TESTED #1 [test-only] sisyphus make-initrd.git=2.55.1-alt3
Comment 2 Repository Robot 2025-09-22 10:49:09 MSK
make-initrd-2.55.1-alt3 -> sisyphus:

Mon Sep 22 2025 Anton Midyukov <antohami@altlinux> 2.55.1-alt3
- guess/device-tree: fix typo in the variable name "modalias" (Closes: 56085)