From 7020b9631e04bb70e103cbf8a6eaabcfaaa8d6ef Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 13 Dec 2008 21:14:47 -0600 Subject: add stuff to check for check_upgrade and set the enviroment var. --- .../i686-testing-REMOTE/rootoverlay/root/LinHES-install.sh | 11 +++++++++-- .../rootoverlay/root/LinHES-install.sh | 11 +++++++++-- .../i686-testing-local/rootoverlay/root/LinHES-install.sh | 11 +++++++++-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/root/LinHES-install.sh b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/root/LinHES-install.sh index f11b365..85762da 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/root/LinHES-install.sh +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/root/LinHES-install.sh @@ -14,10 +14,17 @@ xhost + CMDLINE=$(cat /proc/cmdline) echo $CMDLINE |grep -q nfsroot NFSROOT=$? -if [ x$NFSROOT = x1 ] +echo $CMDLINE |grep -q clean_upgrade +if [ $? = 0 ] then + export CLEAN_UPGRADE=YES +else + export CLEAN_UPGRADE=NO +fi - unbuffer MythVantage & +if [ x$NFSROOT = x1 ] +then + unbuffer MythVantage & else NETBOOT=YES MythVantage & fi diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/root/LinHES-install.sh b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/root/LinHES-install.sh index f11b365..85762da 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/root/LinHES-install.sh +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/root/LinHES-install.sh @@ -14,10 +14,17 @@ xhost + CMDLINE=$(cat /proc/cmdline) echo $CMDLINE |grep -q nfsroot NFSROOT=$? -if [ x$NFSROOT = x1 ] +echo $CMDLINE |grep -q clean_upgrade +if [ $? = 0 ] then + export CLEAN_UPGRADE=YES +else + export CLEAN_UPGRADE=NO +fi - unbuffer MythVantage & +if [ x$NFSROOT = x1 ] +then + unbuffer MythVantage & else NETBOOT=YES MythVantage & fi diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/root/LinHES-install.sh b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/root/LinHES-install.sh index f11b365..85762da 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/root/LinHES-install.sh +++ b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/root/LinHES-install.sh @@ -14,10 +14,17 @@ xhost + CMDLINE=$(cat /proc/cmdline) echo $CMDLINE |grep -q nfsroot NFSROOT=$? -if [ x$NFSROOT = x1 ] +echo $CMDLINE |grep -q clean_upgrade +if [ $? = 0 ] then + export CLEAN_UPGRADE=YES +else + export CLEAN_UPGRADE=NO +fi - unbuffer MythVantage & +if [ x$NFSROOT = x1 ] +then + unbuffer MythVantage & else NETBOOT=YES MythVantage & fi -- cgit v0.12