Re: [Buildroot] [PATCH 3/3] fs/dracut: new fs type
From: Yann E. MORIN <hidden>
Date: 2021-12-18 13:23:10
Thierry, All, On 2021-12-17 22:50 +0100, Thierry Bultel spake thusly:
Good idea. But dracut generates a gzipped cpio image.
That the cpio is gzipped is unfortuante, because the kernel will again compress it as part of its own compression (whem it is used as an initramfs, IIRC).
Maybe, instead, the "cpio" and "dracut" options (exclusives) could be but in a "Initial RAM filesystem" menu.
We already have such a filesystem:
fs/initramfs/
"initial RAM filesystem linked into linux kernel"
And this one is tricky, because it hooks into linux/linux.mk with manual
and custom dependencies (see linux/linux.mk@571). I am not 100% happy on
how this is done, but we can't really have better...
So, I think that having dracut be an option of cpio is the easiest way
to go...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot