Make-initrd development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] [PATCH v6 21/22] bootchain-core: adds ability to bring the daemon to the foreground
Date: Sat, 6 Nov 2021 16:57:33 +0100
Message-ID: <20211106155733.i2t322smig4hkco2@example.org> (raw)
In-Reply-To: <9bfd00e1-9646-adad-46c7-b1628bf875a3@gmail.com>

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



  parent reply	other threads:[~2021-11-06 15:57 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 19:16 ` Alexey Gladkov
2021-10-26 20:29   ` Leonid Krivoshein
2021-11-06 13:22     ` Alexey Gladkov
2021-11-06 14:57       ` Leonid Krivoshein
2021-11-06 15:05         ` Антон Мидюков
2021-11-06 15:25           ` Alexey Gladkov
2021-11-06 15:26             ` Антон Мидюков
2021-11-06 15:33               ` Alexey Gladkov
2021-11-06 15:47                 ` Leonid Krivoshein
2021-11-06 15:54                   ` Антон Мидюков
2021-11-06 16:19                     ` Leonid Krivoshein
2021-11-06 15:57                   ` Alexey Gladkov [this message]
2021-11-06 16:06                     ` Антон Мидюков
2021-11-06 16:25                       ` Leonid Krivoshein
2021-11-06 17:30                       ` Leonid Krivoshein
2021-11-06 18:16                         ` Leonid Krivoshein
2021-11-06 17:32                       ` Alexey Gladkov
2021-11-06 15:22         ` Alexey Gladkov
2021-11-06 16:52           ` Leonid Krivoshein
2021-11-06 17:41             ` Alexey Gladkov
2021-11-06 18:03               ` Leonid Krivoshein
2021-11-06 18:29                 ` Alexey Gladkov
2021-11-06 19:32                   ` Leonid Krivoshein
2021-11-06 19:54                   ` Leonid Krivoshein
2021-11-08 13:09                     ` Alexey Gladkov
2021-11-08 16:08                       ` Leonid Krivoshein
2021-11-09 12:17                         ` Alexey Gladkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211106155733.i2t322smig4hkco2@example.org \
    --to=gladkov.alexey@gmail.com \
    --cc=make-initrd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
		make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
	public-inbox-index make-initrd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.make-initrd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git