Bug 40591 - Dracut не может создать initramfs с модулем ignition, если не установлен curl
Summary: Dracut не может создать initramfs с модулем ignition, если не установлен curl
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: dracut (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-28 10:35 MSK by keremet
Modified: 2021-07-30 14:54 MSK (History)
2 users (show)

See Also:


Attachments
Лог dracut (4.25 KB, text/plain)
2021-07-28 10:35 MSK, keremet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description keremet 2021-07-28 10:35:18 MSK
Created attachment 9540 [details]
Лог dracut

Причина в том, что модуль ignition зависит от модуля url-lib, который в свою очередь требует наличия curl

В /usr/lib/dracut/modules.d/45url-lib/module-setup.sh:
check() {
    require_binaries curl || return 1
    return 255
}

# rpm -qf /usr/lib/dracut/modules.d/45url-lib/module-setup.sh
dracut-055-alt1.x86_64

Вариант решения - добавить к пакету dracut зависимость от curl
Comment 1 Repository Robot 2021-07-30 14:54:28 MSK
dracut-055-alt2 -> sisyphus:

 Fri Jul 30 2021 Andrey Sokolov <keremet@altlinux> 055-alt2
 - Move url-lib module to network package, add dependency on curl (closes 40591)