From: longpanda Date: Sun, 30 Jul 2023 04:58:29 +0000 (+0800) Subject: Fix the media missing issue when boot UOS server ISO file. X-Git-Tag: v1.0.95~7 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/7ff243f9bbe582e9a785838854dae7187a47d4e7 Fix the media missing issue when boot UOS server ISO file. --- diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index cae7c4f..b97e4af 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -376,6 +376,14 @@ ventoy_get_os_type() { if $GREP -q 'chimera' /proc/version; then echo 'chimera'; return fi + + + if $GREP -q '4.19.' /proc/version; then + if [ -d /lib/dracut/hooks ]; then + echo 'openEuler'; return + fi + fi + echo "default" }