[PATCH 1/2] Override kernel cmdline updates

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux