* [gentoo-user] why do I need cargo to make an initramfs?
@ 2022-05-14 8:00 n952162
2022-05-14 8:44 ` Stefan Schmiedl
0 siblings, 1 reply; 11+ messages in thread
From: n952162 @ 2022-05-14 8:00 UTC (permalink / raw
To: gentoo-user
I never needed to use cargo before, to update my kernel. In what way is
cargo better than earlier mechanisms to build initramfs?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 8:00 [gentoo-user] why do I need cargo to make an initramfs? n952162
@ 2022-05-14 8:44 ` Stefan Schmiedl
2022-05-14 9:37 ` n952162
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Schmiedl @ 2022-05-14 8:44 UTC (permalink / raw
To: n952162, gentoo-user
Samstag, 14. Mai 2022 10:00:
> I never needed to use cargo before, to update my kernel. In what way is
> cargo better than earlier mechanisms to build initramfs?
With cargo being rust's package manager, I'd hazard the guess that
you got yourself a shiny new rust component in either your kernel
or your initramfs content.
s.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 8:44 ` Stefan Schmiedl
@ 2022-05-14 9:37 ` n952162
2022-05-14 10:36 ` Dale
2022-05-14 10:52 ` Re[2]: " Stefan Schmiedl
0 siblings, 2 replies; 11+ messages in thread
From: n952162 @ 2022-05-14 9:37 UTC (permalink / raw
To: gentoo-user
On 5/14/22 10:44, Stefan Schmiedl wrote:
> Samstag, 14. Mai 2022 10:00:
>
>> I never needed to use cargo before, to update my kernel. In what way is
>> cargo better than earlier mechanisms to build initramfs?
>
> With cargo being rust's package manager, I'd hazard the guess that
> you got yourself a shiny new rust component in either your kernel
> or your initramfs content.
>
> s.
>
>
I don't get it. Why should something built with rust require a boot
packaging tool that also requires rust? That's like saying, if a
facility has a python component, the whole facility needs to be
distributed with pip.
Can anyone tell me where the initramfs staging area or configuration
file is?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 9:37 ` n952162
@ 2022-05-14 10:36 ` Dale
2022-05-14 11:07 ` n952162
2022-05-14 11:12 ` n952162
2022-05-14 10:52 ` Re[2]: " Stefan Schmiedl
1 sibling, 2 replies; 11+ messages in thread
From: Dale @ 2022-05-14 10:36 UTC (permalink / raw
To: gentoo-user
n952162 wrote:
> On 5/14/22 10:44, Stefan Schmiedl wrote:
>> Samstag, 14. Mai 2022 10:00:
>>
>>> I never needed to use cargo before, to update my kernel. In what
>>> way is
>>> cargo better than earlier mechanisms to build initramfs?
>>
>> With cargo being rust's package manager, I'd hazard the guess that
>> you got yourself a shiny new rust component in either your kernel
>> or your initramfs content.
>>
>> s.
>>
>>
>
> I don't get it. Why should something built with rust require a boot
> packaging tool that also requires rust? That's like saying, if a
> facility has a python component, the whole facility needs to be
> distributed with pip.
>
> Can anyone tell me where the initramfs staging area or configuration
> file is?
>
>
>
The file(s) are in /etc/dracut.conf.d/. I only have one file but
depending on setup, you could have more than one.
Hope that helps.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[2]: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 9:37 ` n952162
2022-05-14 10:36 ` Dale
@ 2022-05-14 10:52 ` Stefan Schmiedl
2022-05-14 12:51 ` n952162
1 sibling, 1 reply; 11+ messages in thread
From: Stefan Schmiedl @ 2022-05-14 10:52 UTC (permalink / raw
To: n952162, gentoo-user
Samstag, 14. Mai 2022 11:37:
> I don't get it. Why should something built with rust require a boot
> packaging tool that also requires rust? That's like saying, if a
> facility has a python component, the whole facility needs to be
> distributed with pip.
> Can anyone tell me where the initramfs staging area or configuration
> file is?
How are you building your initramfs? dracut, genkernel, other?
Are you sure that cargo is going to be included in the initramfs
and not just required to build it?
s.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 10:36 ` Dale
@ 2022-05-14 11:07 ` n952162
2022-05-14 11:12 ` n952162
1 sibling, 0 replies; 11+ messages in thread
From: n952162 @ 2022-05-14 11:07 UTC (permalink / raw
To: gentoo-user
Thank you.
On 5/14/22 12:36, Dale wrote:
> n952162 wrote:
>> On 5/14/22 10:44, Stefan Schmiedl wrote:
>>> Samstag, 14. Mai 2022 10:00:
>>>
>>>> I never needed to use cargo before, to update my kernel. In what
>>>> way is
>>>> cargo better than earlier mechanisms to build initramfs?
>>> With cargo being rust's package manager, I'd hazard the guess that
>>> you got yourself a shiny new rust component in either your kernel
>>> or your initramfs content.
>>>
>>> s.
>>>
>>>
>> I don't get it. Why should something built with rust require a boot
>> packaging tool that also requires rust? That's like saying, if a
>> facility has a python component, the whole facility needs to be
>> distributed with pip.
>>
>> Can anyone tell me where the initramfs staging area or configuration
>> file is?
>>
>>
>>
>
> The file(s) are in /etc/dracut.conf.d/. I only have one file but
> depending on setup, you could have more than one.
>
> Hope that helps.
>
> Dale
>
> :-) :-)
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 10:36 ` Dale
2022-05-14 11:07 ` n952162
@ 2022-05-14 11:12 ` n952162
1 sibling, 0 replies; 11+ messages in thread
From: n952162 @ 2022-05-14 11:12 UTC (permalink / raw
To: gentoo-user
On 5/14/22 12:36, Dale wrote:
> n952162 wrote:
>> On 5/14/22 10:44, Stefan Schmiedl wrote:
>>> Samstag, 14. Mai 2022 10:00:
>>>
>>>> I never needed to use cargo before, to update my kernel. In what
>>>> way is
>>>> cargo better than earlier mechanisms to build initramfs?
>>> With cargo being rust's package manager, I'd hazard the guess that
>>> you got yourself a shiny new rust component in either your kernel
>>> or your initramfs content.
>>>
>>> s.
>>>
>>>
>> I don't get it. Why should something built with rust require a boot
>> packaging tool that also requires rust? That's like saying, if a
>> facility has a python component, the whole facility needs to be
>> distributed with pip.
>>
>> Can anyone tell me where the initramfs staging area or configuration
>> file is?
>>
>>
>>
>
> The file(s) are in /etc/dracut.conf.d/. I only have one file but
> depending on setup, you could have more than one.
>
> Hope that helps.
>
> Dale
>
> :-) :-)
>
Unfortunately, I don't have that directory. I'm at 4.14.97.
Upgrading to 5.15.32. But I get a kernel panic and have no initramfs
for 5.15.32...
I suppose I could unpack the one I have for 4.14.97 and create a new one
based on that ...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 10:52 ` Re[2]: " Stefan Schmiedl
@ 2022-05-14 12:51 ` n952162
2022-05-14 13:28 ` Neil Bothwick
0 siblings, 1 reply; 11+ messages in thread
From: n952162 @ 2022-05-14 12:51 UTC (permalink / raw
To: gentoo-user
On 5/14/22 12:52, Stefan Schmiedl wrote:
>
> Samstag, 14. Mai 2022 11:37:
>
>> I don't get it. Why should something built with rust require a boot
>> packaging tool that also requires rust? That's like saying, if a
>> facility has a python component, the whole facility needs to be
>> distributed with pip.
>> Can anyone tell me where the initramfs staging area or configuration
>> file is?
> How are you building your initramfs? dracut, genkernel, other?
>
> Are you sure that cargo is going to be included in the initramfs
> and not just required to build it?
>
> s.
>
Well, I'm not, that's what I'm trying to do. But I'd like to do it the
way I've done it for years rather using some new facility.
Can genkernel do it? I built my kernel just now according to
https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have.
Maybe I should start over and use genkernel?
Okay, I see genkernel has a initramfs action. I'll try that. It
probably uses cargo under the hood. SMH. Building an initramfs isn't
all that difficult once you know what's got to go into it. Are we
gratuitously adding dependencies? We should strive to keep things simple.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 12:51 ` n952162
@ 2022-05-14 13:28 ` Neil Bothwick
2022-05-14 16:47 ` Dale
2022-05-17 6:35 ` hitachi303
0 siblings, 2 replies; 11+ messages in thread
From: Neil Bothwick @ 2022-05-14 13:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
On Sat, 14 May 2022 14:51:52 +0200, n952162 wrote:
> Well, I'm not, that's what I'm trying to do. But I'd like to do it the
> way I've done it for years rather using some new facility.
>
> Can genkernel do it? I built my kernel just now according to
> https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have.
>
> Maybe I should start over and use genkernel?
I'd use Dracut, it's simpler and more transparent in its operation.
--
Neil Bothwick
I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last week.
Time to die.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 13:28 ` Neil Bothwick
@ 2022-05-14 16:47 ` Dale
2022-05-17 6:35 ` hitachi303
1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2022-05-14 16:47 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Sat, 14 May 2022 14:51:52 +0200, n952162 wrote:
>
>> Well, I'm not, that's what I'm trying to do. But I'd like to do it the
>> way I've done it for years rather using some new facility.
>>
>> Can genkernel do it? I built my kernel just now according to
>> https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have.
>>
>> Maybe I should start over and use genkernel?
> I'd use Dracut, it's simpler and more transparent in its operation.
>
>
And dracut works for me and that says something.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] why do I need cargo to make an initramfs?
2022-05-14 13:28 ` Neil Bothwick
2022-05-14 16:47 ` Dale
@ 2022-05-17 6:35 ` hitachi303
1 sibling, 0 replies; 11+ messages in thread
From: hitachi303 @ 2022-05-17 6:35 UTC (permalink / raw
To: gentoo-user
Am 14.05.22 um 15:28 schrieb Neil Bothwick:
> Neil Bothwick
>
> I have seen things you lusers would not believe.
> I've seen Sun monitors on fire off the side of the multimedia lab.
> I've seen NTU lights glitter in the dark near the Mail Gate.
> All these things will be lost in time, like the root partition last week.
> Time to die.
So great. Time to watch Blade Runner again!
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-05-17 6:35 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-14 8:00 [gentoo-user] why do I need cargo to make an initramfs? n952162
2022-05-14 8:44 ` Stefan Schmiedl
2022-05-14 9:37 ` n952162
2022-05-14 10:36 ` Dale
2022-05-14 11:07 ` n952162
2022-05-14 11:12 ` n952162
2022-05-14 10:52 ` Re[2]: " Stefan Schmiedl
2022-05-14 12:51 ` n952162
2022-05-14 13:28 ` Neil Bothwick
2022-05-14 16:47 ` Dale
2022-05-17 6:35 ` hitachi303
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox