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

2022-05-14 Thread Dale
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

:-)  :-) 



[SOLVED]Re: [gentoo-user] Bluetooth speakers

2022-05-14 Thread Peter Humphrey
On Thursday, 5 May 2022 16:22:56 BST Peter Humphrey wrote:

> Is there a knack to getting my plasma desktop to operate happily with my new
> Bluetooth speakers? I can get a connection using the Bluetooth control
> panel, and the sound device appears in the Audio control panel, but testing
> either speaker produces no sound.

I think I've solved the problem. No, not BT but with a wired connection I do 
now have sound. BT can wait until I need it.

The fix was to build a new system without any extra USE flags, i.e. non other 
than what's in the plasma profile. Now it Just Works.

For completeness, these are the flags I removed from make.conf:

gpg gpm gstreamer handbook icu postscript pulseaudio qml

I can only suppose that some of those were fighting others. I still have quite 
a few package-specific USE flags; I'll review all those as well.

Thanks to all who helped.

-- 
Regards,
Peter.






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

2022-05-14 Thread Neil Bothwick
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.


pgpVAN4AiJ7w5.pgp
Description: OpenPGP digital signature


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

2022-05-14 Thread n952162

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.




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

2022-05-14 Thread n952162

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 ...





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

2022-05-14 Thread n952162

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

:-)  :-)





Re: [gentoo-user] Remove rust completely

2022-05-14 Thread Michael Orlitzky
On Wed, 2022-05-11 at 20:22 -0400, Mansour Al Akeel wrote:
> I am trying to avoid installing rust and prevent emerge --update
> --deep world from installing it again.
> How to do this ?
> 

1. Switch away from Mozilla products. Evolution is a great Thunderbird
alternative, and Epiphany is a passable Firefox substitute.

2a. Give up on SVG support in anything other than inkscape. The only
two standalone (i.e. outside of inkscape) SVG libraries involve rust.

2b. Add gnome-base/librsvg to package.provided, and use pre-built
binary packages[0] for any GTK icon themes you need. This isn't perfect
(a few application icons won't render), but it's livable.

3. If you use app-antivirus/clamav, the stable 0.103.x series will
remain rust-free and supported (in Gentoo) until it no longer works, or
has a security issue that isn't easy to backport. Unless you need this
for compliance reasons or for a mail server with third-party
signatures, the "good" news is that its detection rate has never been
great. You're not much worse off without it.

4a. Help the Gentoo developers by pointing out any packages that
currently depend on dev-python/cryptography (which now needs rust)
where that dependency can be made optional by a USE flag.

4b. If upstream is interested, you can try to port python packages away
from the cryptography package to something like pyNaCl.


[0]https://dilfridge.blogspot.com/2021/09/experimental-binary-gentoo-package.html



Re[2]: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread Stefan Schmiedl
 
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.


 




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

2022-05-14 Thread Dale
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

:-)  :-)



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

2022-05-14 Thread n952162

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?




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

2022-05-14 Thread Stefan Schmiedl

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.




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

2022-05-14 Thread n952162

I never needed to use cargo before, to update my kernel.  In what way is
cargo better than earlier mechanisms to build initramfs?