From ab0f25d09799559ba439142f927a549e2151402d Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 6 Mar 2022 21:04:36 +0800 Subject: [PATCH] Fixe the issue when booting PrimeOS 2.0.1 --- IMG/cpio/ventoy/ventoy_chain.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index e135e1b8..5c071a20 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -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