]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fix the media missing issue when boot UOS server ISO file.
authorlongpanda <admin@ventoy.net>
Sun, 30 Jul 2023 04:58:29 +0000 (12:58 +0800)
committerlongpanda <admin@ventoy.net>
Sun, 30 Jul 2023 04:58:29 +0000 (12:58 +0800)
IMG/cpio/ventoy/ventoy_chain.sh

index cae7c4fd04fd94fe03fb9490f5b00da610bb7dd6..b97e4afbcc0a9ef6f129e134382c6906ff9e9a93 100644 (file)
@@ -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"
 }