ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Eugene Prokopiev <eugene.prokopiev@gmail.com>
To: "Discussion of distributions <i>development</i>"
	<devel-distro@lists.altlinux.org>
Subject: [devel-distro] Актуальный пример минимально работоспособного live-профиля mkimage
Date: Sun, 12 Dec 2021 16:22:31 +0300
Message-ID: <CANM4RugH3kSe3whgzpgUvR-1jEWgg9AwFLCkQLDDgQ-Gpyqymg@mail.gmail.com> (raw)

Здравствуйте!

А покажите, пожалуйста, актуальный пример минимально работоспособного
live-профиля mkimage (если он есть). А если пример будет без
использования propagator (кажется, это стало уже не обязательным и
должно решаться фичей pipeline в make-initrd) - так вообще отлично
будет

Когда-то я делал для себя
http://git.altlinux.org/people/enp/packages/mkimage-profile-live-minimal-example.git
- но теперь на p10 и на Сизифе он не собирается:

mkimage: Processing 'run-scripts' ...
[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 59: /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: /tmp/.private/enp/mkimage-profile-live-minimal-example/scripts.d/01-make-initrd:
unable to run script.
make: *** [run-scripts] Ошибка 1

Если удалить файл scripts.d/01-make-initrd (я уж не помню, откуда
взялась идея вызывать make-initrd явно, а не пользоваться встроенным
механизмом mkinitrd - видимо этот механизм сломался, и я утащил фикс
из /usr/share/doc/mkimage-0.2.44/examples/example), то результат все
равно отрицательный:

mkimage: Processing 'pack-image' ...
mkmodpack: warning: Firmware file "yam/9600.bin" for module "yam" not found
...
mkmodpack: warning: Module pattern "znet.ko" doesn't match anything.
cat: /usr/lib64/propagator/initfs: No such file or directory
make: *** [/usr/share/mkimage/targets.mk:141: pack-image] Ошибка 1

Да, профили /usr/share/doc/mkimage-0.2.44/examples/example{1,2,3}
совсем давно протухли, скоро будет десятилетний юбилей, наверное :)

Помогите, пожалуйста, сделать минимальный рабочий пример

-- 
WBR,
Eugene Prokopiev

             reply	other threads:[~2021-12-12 13:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-12 13:22 Eugene Prokopiev [this message]
2021-12-12 13:31 ` Антон Мидюков
2021-12-12 13:48   ` Eugene Prokopiev
2021-12-12 13:59     ` Антон Мидюков
2021-12-12 14:16       ` Eugene Prokopiev

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=CANM4RugH3kSe3whgzpgUvR-1jEWgg9AwFLCkQLDDgQ-Gpyqymg@mail.gmail.com \
    --to=eugene.prokopiev@gmail.com \
    --cc=devel-distro@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

ALT Linux Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

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


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