mirror of https://github.com/ventoy/Ventoy.git
Support CentOS-9-Stream (#1335)
This commit is contained in:
parent
446597d880
commit
25dc323522
|
@ -92,7 +92,8 @@ if [ -f /etc/system-release ]; then
|
||||||
vtNeedRepo="yes"
|
vtNeedRepo="yes"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if $GREP -q el8 /proc/version; then
|
|
||||||
|
if $GREP -q 'el[89]' /proc/version; then
|
||||||
vtNeedRepo="yes"
|
vtNeedRepo="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -102,6 +103,8 @@ if $GREP -i -q Fedora /proc/version; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "vtNeedRepo=$vtNeedRepo" >> $VTLOG
|
||||||
|
|
||||||
if [ "$vtNeedRepo" = "yes" ]; then
|
if [ "$vtNeedRepo" = "yes" ]; then
|
||||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/hook/rhel7/ventoy-repo.sh /lib/dracut/hooks/pre-pivot/99-ventoy-repo.sh
|
$BUSYBOX_PATH/cp -a $VTOY_PATH/hook/rhel7/ventoy-repo.sh /lib/dracut/hooks/pre-pivot/99-ventoy-repo.sh
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue