From: panchenbo <75836904+panchenbo@users.noreply.github.com> Date: Tue, 27 Apr 2021 09:28:35 +0000 (+0800) Subject: add support for UnionTechOS fuyu (#864) X-Git-Tag: v1.0.42~1 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/042ca4b5e36ffbe5897083e7bce2cf76dc145efd?ds=sidebyside add support for UnionTechOS fuyu (#864) --- diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index ccd7e3d..af1747a 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -153,7 +153,10 @@ ventoy_get_os_type() { 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 if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then diff --git a/IMG/cpio/ventoy/ventoy_loop.sh b/IMG/cpio/ventoy/ventoy_loop.sh index 341ea84..ae76a57 100644 --- a/IMG/cpio/ventoy/ventoy_loop.sh +++ b/IMG/cpio/ventoy/ventoy_loop.sh @@ -198,6 +198,8 @@ ventoy_get_os_type() { 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