Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why do I need cargo to make an initramfs?
Date: Sat, 14 May 2022 12:49:34
Message-Id: 16f102ed-2d7a-f56e-e16a-a0bdaa08a324@web.de
In Reply to: Re[2]: [gentoo-user] why do I need cargo to make an initramfs? by Stefan Schmiedl
1 On 5/14/22 12:52, Stefan Schmiedl wrote:
2 >
3 > Samstag, 14. Mai 2022 11:37:
4 >
5 >> I don't get it. Why should something built with rust require a boot
6 >> packaging tool that also requires rust? That's like saying, if a
7 >> facility has a python component, the whole facility needs to be
8 >> distributed with pip.
9 >> Can anyone tell me where the initramfs staging area or configuration
10 >> file is?
11 > How are you building your initramfs? dracut, genkernel, other?
12 >
13 > Are you sure that cargo is going to be included in the initramfs
14 > and not just required to build it?
15 >
16 > s.
17 >
18
19 Well, I'm not, that's what I'm trying to do.  But I'd like to do it the
20 way I've done it for years rather using some new facility.
21
22 Can genkernel do it?  I built my kernel just now according to
23 https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have.
24
25 Maybe I should start over and use genkernel?
26
27 Okay, I see genkernel has a initramfs action.  I'll try that.  It
28 probably uses cargo under the hood.  SMH.  Building an initramfs isn't
29 all that difficult once you know what's got to go into it. Are we
30 gratuitously adding dependencies?  We should strive to keep things simple.

Replies

Subject Author
Re: [gentoo-user] why do I need cargo to make an initramfs? Neil Bothwick <neil@××××××××××.uk>