[PATCH] Don't check for a firstboot service file before processing the command.
Chris Lumens
clumens at redhat.com
Tue Aug 6 18:12:36 UTC 2013
firstboot typically is not installed anymore, but initial-setup is. The way
the command is being processed now, it basically won't do anything for anyone.
Besides, systemctl failing for a non-existant service file is not fatal.
---
pyanaconda/kickstart.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 88343da..103a7de 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -529,9 +529,6 @@ class Firewall(commands.firewall.F14_Firewall):
class Firstboot(commands.firstboot.FC3_Firstboot):
def execute(self, *args):
- if not os.path.exists(ROOT_PATH + "/lib/systemd/system/firstboot-graphical.service"):
- return
-
action = "enable"
if self.firstboot == FIRSTBOOT_SKIP:
--
1.8.1.2
More information about the anaconda-patches
mailing list