[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/2] Override kernel cmdline updates



Let liveinst --updates=* override kernel cmdline updates
---
 data/liveinst/liveinst |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index 04085ed..5fa262b 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -90,7 +90,7 @@ if [ ! -e /selinux/load ]; then
 fi
 
 # Process cmdline args
-for opt in `cat /proc/cmdline`; do
+for opt in `cat /proc/cmdline` $*; do
     case $opt in
     xdriver=*)
         ANACONDA="$ANACONDA --$opt"
@@ -98,6 +98,9 @@ for opt in `cat /proc/cmdline`; do
     updates=*)
         UPDATES="${opt#updates=}"
         ;;
+    --updates=*)
+        UPDATES="${opt#--updates=}"
+        ;;
     esac
 done
 
-- 
1.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]