]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove absolute paths to udev rules and binaries for dracut
authorSavyasachee Jha <genghizkhan91@hawkradius.com>
Mon, 14 Feb 2022 12:45:16 +0000 (18:15 +0530)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Feb 2022 23:26:08 +0000 (15:26 -0800)
commited66eafd0592bcc270dc61f64f4d91cf7ea91e30
treee55550ac1c07f1addbe19b17f573f6771c78f953
parent7f5a01bdd3eb70a8618eaf640f02482272fdd950
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
contrib/dracut/90zfs/module-setup.sh.in