Bug 41543 - Ошибка сборки example4
Summary: Ошибка сборки example4
Status: CLOSED FIXED
Alias: None
Product: Branch p10
Classification: Unclassified
Component: mkimage (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-09 15:42 MSK by Starodumoff Ilya
Modified: 2021-12-09 16:01 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Starodumoff Ilya 2021-12-09 15:42:59 MSK
С какого-то времени перестали собираться образы с mkimage.
Комплектный example4 собирается так:
[00:00:00] Config file: /etc/initrd.mk
[00:00:00] Guessing is complete
[00:00:00] Creating initrd image ...
/usr/share/make-initrd/tools/find-terminfo: line 61: /dev/fd/62: No such file or directory
[00:00:01] Putting udev rules ...
Adding propagator ...
[00:00:01] Sorting sysvinit services ...
/usr/share/make-initrd/tools/sort-services: line 376: /dev/fd/62: No such file or directory
make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:127: pack] Error 1
make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:187: process-config] Error 2
make: *** [/usr/share/make-initrd/mk/make-initrd.mk:177: all] Error 1
make-initrd failed
mki-scripts: /home/staryi/hasher/example4/scripts.d/01-initrd: unable to run script.
make: *** [/usr/share/mkimage/targets.mk:48: run-scripts] Ошибка 1
Comment 1 Антон Мидюков 2021-12-09 15:48:08 MSK
Нужно указать параметр GLOBAL_HSH_PROC=1, чтобы стал доступен /proc.
Начиная с make-initrd >= 2.23.0, это требуется.
Comment 2 Starodumoff Ilya 2021-12-09 16:01:55 MSK
Работает, спасибо.