mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-11-18 19:53:36 +01:00
Change hard coded dracut hooks directory to variable. (#3753)
Some distros (e.g. Fedora 45) change dracut hooks directory from /lib/dracut/hooks to /var/lib/dracut/hooks
This commit is contained in:
@@ -30,5 +30,5 @@ else
|
||||
|
||||
#don't call it too early issue 2225
|
||||
#$BUSYBOX_PATH/sh $vtHook n /dev "${vtdisk#/dev/}2"
|
||||
cp -a $VTOY_PATH/hook/rhel7/ventoy-inotifyd-call.sh /lib/dracut/hooks/initqueue/settled/90-ventoy-inotifyd-call.sh
|
||||
cp -a $VTOY_PATH/hook/rhel7/ventoy-inotifyd-call.sh $VT_DRACUT_HOOKS/initqueue/settled/90-ventoy-inotifyd-call.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user