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] Добавить udev правило в initrd через initrd.mk
Date: Fri, 24 Sep 2021 16:29:38 +0200
Message-ID: <20210924142938.llupx6leanw73g6c@example.org> (raw)
In-Reply-To: <1093f7d9-f7a2-a076-35ff-c2e267b7172b@gmail.com>

On Fri, Sep 24, 2021 at 04:17:06PM +0300, Leonid Krivoshein wrote:
> 
> 24.09.2021 12:58, Alexey Gladkov пишет:
> > # initrd-diff /tmp/initrd-5.10.62-std-def-alt1.img{.old,}
> > --- initrd-5.10.62-std-def-alt1.img.old
> > +++ initrd-5.10.62-std-def-alt1.img
> > @@ -366,4 +366 @@
> > -2  xz -rw-r--r-- 1 0 0    3885 ./etc/udev/rules.d/50-udev-default.rules
> > -2  xz -rw-r--r-- 1 0 0    2651 ./etc/udev/rules.d/60-persistent-input.rules
> > -2  xz -rw-r--r-- 1 0 0    7967 ./etc/udev/rules.d/60-persistent-storage.rules
> > -2  xz -rw-r--r-- 1 0 0     556 ./etc/udev/rules.d/80-drivers.rules
> > +2  xz -rw-r--r-- 1 0 0     295 ./etc/udev/rules.d/80-net-setup-link.rules
> > 
> > Да, это бага. Спасибо!
> > 
> > Пока что кладите это правило PUT_FILES. Там нет вызова внешних утилит и
> > ничего страшного не будет.
> 
> В этой связи три вопроса:
> 
> 1. Ничего, что временно откачу изменения с переходом на PUT_UDEV_RULES?

Я уже исправил это. Скоро отправлю в master и сделаю новою сборку пакета.
Мне кажется лучше подождать фикса.

> 2. Что надо сделать, чтобы заработала has_feature() ? а то сейчас command
> not found.

Эта функция есть всегда:

$ git grep has_feature
data/bin/initrd-sh-functions:127:has_feature()

> 3. Это нормально, что в /etc/{os,initrd}-release попадает последняя
> апстримная версия (2.24.0), а не та, с которой я собираю образ (2.24.1)?

Откуда у тебя 2.24.1, если такой версии ещё не было ?
Расскажи как именно ты собираешь ?

-- 
Rgrds, legion



  parent reply	other threads:[~2021-09-24 14:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 13:37 Антон Мидюков
2021-09-23 14:05 ` Alexey Gladkov
2021-09-23 14:20   ` Антон Мидюков
2021-09-23 14:36     ` Alexey Gladkov
2021-09-27 15:38       ` Антон Мидюков
2021-09-27 15:59         ` Alexey Gladkov
2021-09-27 18:54           ` Leonid Krivoshein
2021-09-29  4:18             ` Антон Мидюков
2021-09-27 18:25         ` Leonid Krivoshein
2021-09-23 16:12     ` Антон Мидюков
2021-09-23 19:13       ` Alexey Gladkov
2021-09-24  4:22         ` Антон Мидюков
2021-09-24  5:37           ` Антон Мидюков
2021-09-24  9:53           ` Alexey Gladkov
2021-09-24  9:57             ` Антон Мидюков
2021-09-24  9:58           ` Alexey Gladkov
2021-09-24 13:17             ` Leonid Krivoshein
2021-09-24 13:52               ` [make-initrd] has_feature() и initrd_release() Leonid Krivoshein
2021-09-24 14:31                 ` Alexey Gladkov
2021-09-24 14:56                   ` Leonid Krivoshein
2021-09-24 14:29               ` Alexey Gladkov [this message]
2021-09-24 14:54                 ` [make-initrd] Добавить udev правило в initrd через initrd.mk Leonid Krivoshein
2021-09-23 14:43   ` Arseny Maslennikov
2021-09-23 15:22     ` Alexey Gladkov
2021-09-23 15:39       ` [make-initrd] udev network interface renaming policy Arseny Maslennikov
2021-09-23 19:05         ` 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=20210924142938.llupx6leanw73g6c@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