Re: [PATCH f14-branch master] systemd symlinks now reside in /lib (#627401).

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

 



Ack.

On Thu, 26 Aug 2010, Chris Lumens wrote:

---
pyanaconda/desktop.py |    8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/desktop.py b/pyanaconda/desktop.py
index 306e481..ed506d6 100644
--- a/pyanaconda/desktop.py
+++ b/pyanaconda/desktop.py
@@ -65,13 +65,13 @@ class Desktop (SimpleConfigFile):
            inittab.write (line)
        inittab.close ()

-        if not os.path.isdir(instPath + '/etc/systemd/system'):
-            log.warning("there is no /etc/systemd/system directory, cannot update default.target!")
+        if not os.path.isdir(instPath + '/lib/systemd/system'):
+            log.warning("there is no /lib/systemd/system directory, cannot update default.target!")
            return
-        default_target = instPath + '/etc/systemd/system/default.target'
+        default_target = instPath + '/lib/systemd/system/default.target'
        if os.path.islink(default_target):
            os.unlink(default_target)
-        os.symlink('/etc/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target)
+        os.symlink('/lib/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target)

        if self.getDefaultDesktop():
            f = open(instPath + "/etc/sysconfig/desktop", "w")


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
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