HomeFreeBSD

Remove absolute paths to udev rules and binaries for dracut

Description

Remove absolute paths to udev rules and binaries for dracut

Since dracut functions can locate both udev rules and binaries, there is
no point in keeping absolute paths in the module setup script. It also
breaks the --sysroot option in dracut. This commit removes mentions to
absolute paths for binaries and udev rules.

Reviewed-by: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Andrew J. Hesford <ajh@sideband.org>
Signed-off-by: Savyasachee Jha <hi@savyasacheejha.com>
Closes #13010

Details

Provenance
Savyasachee Jha <genghizkhan91@hawkradius.com>Authored on Feb 14 2022, 12:45 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 16 2022, 11:26 PM
Parents
rG7f5a01bdd3eb: Make dracut fail if essential files cannot be installed
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGed66eafd0592: Remove absolute paths to udev rules and binaries for dracut (authored by Savyasachee Jha <genghizkhan91@hawkradius.com>).Feb 16 2022, 11:26 PM