Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd-hwdb update in openRC command
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
almahdi
n00b
n00b


Joined: 25 Sep 2020
Posts: 35

PostPosted: Fri May 19, 2023 1:33 am    Post subject: systemd-hwdb update in openRC command Reply with quote

How is the openRC equivalent for

Code:
systemd-hwdb update


command?

Please help show the correct solution as It needs to initialize a script in /etc/udev/hwdb.d/
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Fri May 19, 2023 1:56 am    Post subject: Reply with quote

I believe you want udevadm hwdb --update
Back to top
View user's profile Send private message
almahdi
n00b
n00b


Joined: 25 Sep 2020
Posts: 35

PostPosted: Fri May 19, 2023 3:03 am    Post subject: Reply with quote

grknight wrote:
I believe you want udevadm hwdb --update


any better one, as it has user a bit fishy time :

Code:
# udevadm hwdb --update
udevadm hwdb is deprecated. Use systemd-hwdb instead.


?
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Fri May 19, 2023 12:42 pm    Post subject: Reply with quote

If sys-fs/eudev is installed, then use udevadm hwdb --update.

OR

If sys-apps/systemd-utils is providing udev, then use systemd-hwdb update.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Fri May 19, 2023 2:55 pm    Post subject: Reply with quote

It's in a kind of things like that I don't understand the purpose of systemd. It's like replacing the tool by an exact copy, but with systemd in the name :lol:

I think sometimes it's too much
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum