]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
add support for UnionTechOS fuyu (#864)
authorpanchenbo <75836904+panchenbo@users.noreply.github.com>
Tue, 27 Apr 2021 09:28:35 +0000 (17:28 +0800)
committerGitHub <noreply@github.com>
Tue, 27 Apr 2021 09:28:35 +0000 (17:28 +0800)
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_loop.sh

index ccd7e3d0f6b4b9481670f71df3ae9bc8ac4754e9..af1747a6c026788c32924b9eea2ed4f79640cf78 100644 (file)
@@ -153,7 +153,10 @@ ventoy_get_os_type() {
             echo 'rhel7'; return
         elif $GREP -q 'openEuler' /etc/os-release; then
             echo 'openEuler'; return
             echo 'rhel7'; return
         elif $GREP -q 'openEuler' /etc/os-release; then
             echo 'openEuler'; return
+       elif $GREP -q 'fuyu' /etc/os-release; then
+            echo 'openEuler'; return   
         fi
         fi
+
     fi
     
     if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then
     fi
     
     if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then
index 341ea84b10d09bc880994d37bf397258f7298db1..ae76a572c10612e17840e94d710d843e828dbbe1 100644 (file)
@@ -198,6 +198,8 @@ ventoy_get_os_type() {
             echo 'rhel7'; return
         elif $GREP -q 'openEuler' /etc/os-release; then
             echo 'openEuler'; return
             echo 'rhel7'; return
         elif $GREP -q 'openEuler' /etc/os-release; then
             echo 'openEuler'; return
+       elif $GREP -q 'fuyu' /etc/os-release; then
+            echo 'openEuler'; return
         fi
     fi
     
         fi
     fi