[Fedora-spins] [spin-kickstarts] look for rd.live.image not liveimg on command line - ref. livecd-tools-18.6

Adam Williamson adamwill at fedoraproject.org
Tue Jul 31 20:13:08 UTC 2012


commit aa39c91a41394d82a178a50dc3a1a1140db457cb
Author: Adam Williamson <awilliam at redhat.com>
Date:   Tue Jul 31 13:12:37 2012 -0700

    look for rd.live.image not liveimg on command line - ref. livecd-tools-18.6

 fedora-live-base.ks |    2 +-
 fedora-live-mini.ks |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 77c84d2..0810a99 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -70,7 +70,7 @@ cat > /etc/rc.d/init.d/livesys << EOF
 
 . /etc/init.d/functions
 
-if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ]; then
+if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then
     exit 0
 fi
 
diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks
index 997f016..7d48921 100644
--- a/fedora-live-mini.ks
+++ b/fedora-live-mini.ks
@@ -310,7 +310,7 @@ cat > /etc/rc.d/init.d/livesys-late << EOF
 
 . /etc/init.d/functions
 
-if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
+if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
     exit 0
 fi
 


More information about the spins mailing list