From b1adc035ba3ef4f339a27fa31ce0cb922154520c Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Wed, 20 Mar 2019 18:21:54 +0800 Subject: [PATCH] Update doc/getting-started/gsg_quick_setup.sh 1. Add text to the script usages and inform people to run script with root access. 2. Add logic to determine the right ESP. 3. remove unset proxy line. 4. Add reboot operation after upgrade SOS. 5. Handle multiple efi partition while it's detected. Co-Authored-By: lirui34 <48583653+lirui34@users.noreply.github.com> --- doc/getting-started/gsg_quick_setup.sh | 196 +++++++++++++++++-------- 1 file changed, 133 insertions(+), 63 deletions(-) diff --git a/doc/getting-started/gsg_quick_setup.sh b/doc/getting-started/gsg_quick_setup.sh index e6157499c..a31e17b43 100644 --- a/doc/getting-started/gsg_quick_setup.sh +++ b/doc/getting-started/gsg_quick_setup.sh @@ -1,44 +1,97 @@ #!/bin/bash # Copyright (C) 2019 Intel Corporation. # SPDX-License-Identifier: BSD-3-Clause -# This script is aim to setup or upgrade sos & uos automatically. +# +# This script is aim to quick setup sos and uos automatically. +# You can also use this to upgrade sos with a specified clear linux version. +# Also you should know that system may have boot problems once the script is running failed +# since it will modify various system parameters with full root access. +# +# Usages: +# Upgrade sos to 28100 +# sudo