Bug 24082 - make-initrd при поиске устройства не проверяет $DEVLINKS
Summary: make-initrd при поиске устройства не проверяет $DEVLINKS
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 18:51 MSD by aspsk
Modified: 2010-09-19 09:49 MSD (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 aspsk 2010-09-14 18:51:43 MSD
Функция get_dev <retval> <devname> из файла /script/functions
не находит каноническое имя устройства, если <devname> является
ссылкой на устройство.

Решение: нужно проверять не содержится ли $name в $DEVLINKS.
См. http://git.altlinux.org/people/aspsk/packages/?p=make-initrd.git;a=commit;h=6bfa57b1fe4613c883b9cbdd071ee7b313de3321
Comment 1 Alexey Gladkov 2010-09-15 00:41:18 MSD
Добавил в git с небольшими изменениями.
Спасибо!
Comment 2 Repository Robot 2010-09-19 09:49:57 MSD
make-initrd-0.3.9-alt1 -> sisyphus:

* Sun Sep 19 2010 Alexey Gladkov <legion@altlinux> 0.3.9-alt1
- Search for device name in $DEVLINKS variable (ALT#24082)
- Add raid rules for udev >= 151 (ALT#23884)