[make-initrd] [PATCH v6 21/22] bootchain-core: adds ability to bring the daemon to the foreground

Alexey Gladkov gladkov.alexey at gmail.com
Sat Nov 6 18:57:33 MSK 2021


On Sat, Nov 06, 2021 at 06:47:38PM +0300, Leonid Krivoshein wrote:
> 
> 
> 06.11.2021 18:33, Alexey Gladkov пишет:
> > On Sat, Nov 06, 2021 at 10:26:52PM +0700, Антон Мидюков wrote:
> > > > > Для того, чтобы собрать с kbd, нужно в STAGE1 добавить пакеты kbd и dialog.
> > > > > Проблема в другом. При сборке initrd с plymouth и kbd не запускается chaind.
> > > > > До его запуска процесс загрузки не доходит. Та же проблема и с pipeline была
> > > > > изначально, когда я делал первую попытку сборки iso с pipeline вместо propagator.
> > > > Правильно ли я понял, что если собрать образ с kbd и pipeline, то
> > > > pipelined не загрузится ?
> > > > 
> > > Нет. Нужно с pipeline, kbd и plymouth.
> > Ясно. Я посмотрю почему такое происходит.
> 
> У меня другое. После небольшого изменения в m-p (добавил только kbd):
> 
> diff --git
> a/features.in/initrd-bootchain/stage1/scripts.d/80-make-initrd-for-bootchain
> b/features.in/initrd-bootchain/stage1/scripts.d/8
> index cef4f98e..3b04264c 100755
> ---
> a/features.in/initrd-bootchain/stage1/scripts.d/80-make-initrd-for-bootchain
> +++
> b/features.in/initrd-bootchain/stage1/scripts.d/80-make-initrd-for-bootchain
> @@ -25,6 +25,7 @@ FEATURES += bootchain-waitdev
>  FEATURES += bootchain-getimage
>  FEATURES += bootchain-nfs
>  FEATURES += bootchain-cifs
> +FEATURES += kbd
>  PUT_UDEV_RULES += *-net-setup-link.rules *-net-description.rules
>  PUT_FILES += /lib/systemd/network/99-default.link
>  EOF
> 
> ...образы перестали собираться. Ошибка где-то тут:
> 
> create-initrd: Not found utility: kbd_mode

Это бага. У пакета make-initrd не хватает зависимостей на пакет kbd.

> Чуть подробнее:
> 
> + make-initrd --no-checks AUTODETECT= -v -k 5.14.13-un-def-alt1
> [00:00:00] Config file: /etc/initrd.mk
> GUESS_MODULES        =
> PASSED_GUESS_MODULES =
> [00:00:00] Generating module dependencies on host ...
> [00:00:01] Guessing is complete
> FEATURES              : add-modules bootchain-cifs bootchain-getimage
> bootchain-liverw bootchain-localdev bootchain-nfs bootchain-waitdev cleanup
> compress kbd rdshell
> ALL FEATURES          : add-modules add-udev-rules bootchain-altboot
> bootchain-cifs bootchain-core bootchain-getimage bootchain-interactive
> bootchain-liverw bootchain-local bootchain-localdev bootchain-nfs
> bootchain-waitdev bootchain-waitnet cleanup compress depmod-image kbd
> network rdshell system-glibc
> ALL DISABLED FEATURES : nfsroot pipeline systemd
> ALL ACTIVE FEATURES   : add-modules add-udev-rules bootchain-altboot
> bootchain-cifs bootchain-core bootchain-getimage bootchain-interactive
> bootchain-liverw bootchain-local bootchain-localdev bootchain-nfs
> bootchain-waitdev bootchain-waitnet cleanup compress depmod-image kbd
> network rdshell system-glibc
> sed: can't read /etc/sysconfig/consolefont: No such file or directory
> sed: can't read /etc/sysconfig/keyboard: No such file or directory
> sed: can't read /etc/sysconfig/i18n: No such file or directory
> find: '/lib/kbd/keymaps': No such file or directory
> system-glibc-libnss: Copying files from libnss_files.so* ...
> system-glibc-libnss: Copying files from libnss_files.so* ...
> system-glibc-libgcc_s: Copying files from libgcc_s.so* ...
> system-glibc-libgcc_s: Copying files from libgcc_s.so* ...
> [00:00:01] Creating initrd image ...
> mkdir: created directory
> '/tmp/make-initrd.JMA9Ntkq7/5.14.13-un-def-alt1.initrd/img'
> create-initrd: Not found utility: kbd_mode
> make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:123: create] 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
> + fatal 'make-initrd failed'
> 
> Сборка с фичами kbd, plymouth, bootchain...
> 
> 
> -- 
> Best regards,
> Leonid Krivoshein.
> 
> _______________________________________________
> Make-initrd mailing list
> Make-initrd at lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/make-initrd

-- 
Rgrds, legion



More information about the Make-initrd mailing list