[gnome-initial-setup] Don't activate gnome-initial-setup on a live image



commit 3fba63c6699e4b33d7166bd834a03e0eded909a1
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 18 14:13:01 2013 -0400

    Don't activate gnome-initial-setup on a live image
    
    We do this by not activating the systemd service when we
    find rd.live.image on the kernel commandline - which is how
    Fedora live media work. Other live images may need a slightly
    different check.

 data/gnome-initial-setup.service |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-initial-setup.service b/data/gnome-initial-setup.service
index 8b92bb0..316a1e0 100644
--- a/data/gnome-initial-setup.service
+++ b/data/gnome-initial-setup.service
@@ -1,6 +1,8 @@
+[Unit]
 Description=GNOME initial setup
 After=livesys.service
 Before=display-manager.service getty tty1 service
+ConditionKernelCommandLine=!rd.live.image
 
 [Service]
 Type=oneshot


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