From: Alexey Gladkov <gladkov.alexey@gmail.com> To: make-initrd@lists.altlinux.org Subject: Re: [make-initrd] Multipath feature Date: Mon, 29 Jan 2024 14:38:40 +0000 Message-ID: <Zbe4cOvJX6JBGDn7@example.org> (raw) In-Reply-To: <e278f00f-01d7-46bd-9c18-946e8f837942@gmail.com> On Mon, Jan 29, 2024 at 05:21:44PM +0300, Leonid Krivoshein wrote: > >> > >> $ cat /etc/initrd.mk > >> # trying to detect modules and features to access to root volume > >> AUTODETECT = all > >> FEATURES += lvm > >> FEATURES += multipath > >> PUT_FILES += $(shell ls /lib64/multipath/*.so) > > Ок. Значит получается не хватает зависимости на lvm и плагинов. > > Нет, я не уверен насчёт LVM, зависимость от установщика там была до > правки /etc/initrd.mk. Помогло только добавление плагинов. Ок. Только плагины. > > С плагинами всегда боль. Что у multipath, что у plymouth они лежат в > > разных местах у разных вендоров. Я понимаю, что это только моя боль, но > > всё же. Нужно подумать как лучше паковать такое. > > > >> Т.е. ещё проблема с PUT_DIRS. > > PUT_DIRS работает также как PUT_FEATURE_DIRS. Это директория содержимое, > > которой нужно положить относительно корень образа. > > > > Здесь непонятно, почему PUT_DIRS += ... не сработало, а PUT_FILES += ... > работает. Сработали оба варианта, но первый сработал не так как ты подумал. в первом случае получилось что-то типа: 1 -rw-r--r-- 1 0 0 14312 Jan 01 03:00:00 1970 ./libcheckcciss_tur.so 1 -rw-r--r-- 1 0 0 14432 Jan 01 03:00:00 1970 ./libcheckdirectio.so > Там только плагины, больше ничего. И почему timestamp от > начала эпохи UNIX. timestamp зануляется для reproducible builds. В initrd это время модификации не нужно никому, но зато мешает. -- Rgrds, legion
next prev parent reply other threads:[~2024-01-29 14:38 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-18 7:53 Vladimir Mokrozub 2024-01-18 13:54 ` Vladimir Mokrozub 2024-01-23 22:44 ` Konstantin Lepikhov 2024-01-24 0:09 ` Leonid Krivoshein 2024-01-24 13:00 ` Vladimir Mokrozub 2024-01-28 14:12 ` Alexey Gladkov 2024-01-28 17:17 ` Leonid Krivoshein 2024-01-29 12:03 ` Leonid Krivoshein 2024-01-29 13:47 ` Alexey Gladkov 2024-01-29 14:21 ` Leonid Krivoshein 2024-01-29 14:38 ` Alexey Gladkov [this message] 2024-01-29 16:39 ` Leonid Krivoshein 2024-01-29 16:42 ` Leonid Krivoshein 2024-01-29 16:56 ` Alexey Gladkov 2024-02-16 22:05 ` Leonid Krivoshein 2024-02-16 22:26 ` Leonid Krivoshein 2024-02-17 13:00 ` Alexey Gladkov 2024-02-17 13:15 ` Alexey Gladkov 2024-02-17 18:55 ` Leonid Krivoshein 2024-02-19 10:01 ` Leonid Krivoshein 2024-02-19 10:20 ` Leonid Krivoshein 2024-02-19 12:40 ` Leonid Krivoshein 2024-02-19 13:18 ` Alexey Gladkov 2024-02-19 15:08 ` Leonid Krivoshein 2024-02-19 15:30 ` Alexey Gladkov 2024-02-19 17:44 ` Leonid Krivoshein 2024-02-19 10:32 ` Alexey Gladkov 2024-02-19 10:55 ` Leonid Krivoshein 2024-02-19 12:47 ` Alexey Gladkov 2024-02-19 12:52 ` Leonid Krivoshein 2024-02-19 13:29 ` Alexey Gladkov 2024-02-19 15:07 ` Leonid Krivoshein 2024-02-19 17:48 ` Leonid Krivoshein 2024-02-19 21:41 ` Alexey Gladkov 2024-02-20 1:04 ` Leonid Krivoshein 2024-01-29 13:53 ` Alexey Gladkov 2024-01-29 14:16 ` Leonid Krivoshein
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=Zbe4cOvJX6JBGDn7@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