From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 6 Nov 2021 16:57:33 +0100 From: Alexey Gladkov To: make-initrd@lists.altlinux.org Message-ID: <20211106155733.i2t322smig4hkco2@example.org> References: <20211024172323.DBBE6A5E66@lists.altlinux.org> <20211026191600.srasvg6dbltxrsjw@example.org> <595e8a7c-1b6b-361d-b597-60031d25e0f6@gmail.com> <20211106132213.2qojchid4yqymcvb@example.org> <53f2e084-f78a-6f57-805f-b40e5f269ace@basealt.ru> <20211106152545.gjznxcm2jeiszorp@example.org> <20211106153307.z27dnlfcatonaglt@example.org> <9bfd00e1-9646-adad-46c7-b1628bf875a3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9bfd00e1-9646-adad-46c7-b1628bf875a3@gmail.com> Subject: Re: [make-initrd] [PATCH v6 21/22] bootchain-core: adds ability to bring the daemon to the foreground X-BeenThere: make-initrd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: make-initrd@lists.altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2021 15:57:34 -0000 Archived-At: List-Archive: 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@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/make-initrd -- Rgrds, legion