• [gentoo-user] why do I need cargo to make an initramfs?

    From n952162@21:1/5 to All on Sat May 14 10:00:01 2022
    I never needed to use cargo before, to update my kernel.  In what way is
    cargo better than earlier mechanisms to build initramfs?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Schmiedl@21:1/5 to All on Sat May 14 10:50:01 2022

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Stefan Schmiedl on Sat May 14 11:40:01 2022
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to All on Sat May 14 12:40:01 2022
    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

    :-)  :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Dale on Sat May 14 13:10:01 2022
    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

    :-)  :-)


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Schmiedl@21:1/5 to All on Sat May 14 13:00:02 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Stefan Schmiedl on Sat May 14 14:50:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to All on Sat May 14 15:30:01 2022
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJ/roUACgkQ92eFu0QS MJic0BAAl+U9Q3tzUu3thc14LMHQCW5YxCDokaYnbuXtSempBklFqnN8/6F5US8/ 0L9wdpmVsJbpnS9XFxEQauM/9BiOK6qPUa54AGJswCz+cPtTSlNYQFK2NqWe4r4E XQDPAQ1d7aPMEECHjkDRb/GdHJBrIAtRVUcyjIlDt+U2Rfrce9k4tAJ1ZgCnDh4Z f7wVKoB7m8KHxYo+JJ4QzMXARQHW3ghTJE9YC7d64FRhf4bwz7MCj2oiDpIUa+ZA If52eADn8KkUyZihQ7LXOas/xS6wQ1+QKA+u33lw9iBIEPQO/fw6m3x/E0vJ/h7y x5KPyPqDA12loARIW5NT/8kiu0EAq+0VgPBuDMG+yGcsJIDpglcAsglRa5GTamqe LGnfBLz8zYsx/UebRmL2XGmquAKaVOi6s0Qk/BQgulEV63er/8pBWsZhMCcXFkbp eGIlKOCcIujiHiPH3ez77IfY9mrbiEfN5oEHb2N+uv+pkKbARkOVqr5s2frRdxEc BU5mo3ZTxVlogZ6LeLAe80Redd+6+CUtmmOg3/GlzuNUXu7O5ejzAdZFCWGLswYs WxFVqrg/xY5hMbl0trKllPFui/dHO/ex26TTtG
  • From Dale@21:1/5 to Neil Bothwick on Sat May 14 18:50:01 2022
    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

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hitachi303@21:1/5 to All on Tue May 17 08:40:01 2022
    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!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)