]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fixe the issue when booting PrimeOS 2.0.1
authorlongpanda <admin@ventoy.net>
Sun, 6 Mar 2022 13:04:36 +0000 (21:04 +0800)
committerlongpanda <admin@ventoy.net>
Sun, 6 Mar 2022 13:04:36 +0000 (21:04 +0800)
IMG/cpio/ventoy/ventoy_chain.sh

index e135e1b8c3beab7ad578d7d35072c2352084232a..5c071a20f6cc29b2d818370577dd1e0ad84aeb67 100644 (file)
@@ -52,8 +52,12 @@ ventoy_get_os_type() {
         fi
     fi
 
+    # PrimeOS :
+    if $GREP -q 'PrimeOS' /proc/version; then
+        echo 'primeos'; return
+
     # Debian :
-    if $GREP -q '[Dd]ebian' /proc/version; then
+    elif $GREP -q '[Dd]ebian' /proc/version; then
         echo 'debian'; return
 
     # Ubuntu : do the same process with debian