[PATCH] makeupdates: Put systemd files under /usr/lib/

Brian C. Lane bcl at redhat.com
Fri Jun 27 23:52:15 UTC 2014


Otherwise the /lib symlink gets clobbered.
---
 scripts/makeupdates | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/makeupdates b/scripts/makeupdates
index d1ccf89..1de193a 100755
--- a/scripts/makeupdates
+++ b/scripts/makeupdates
@@ -273,10 +273,10 @@ def copyUpdatedFiles(tag, updates, cwd):
             install_to_dir(gitfile, "usr/sbin")
         elif gitfile.endswith('.service') or gitfile.endswith(".target"):
             # same for systemd services
-            install_to_dir(gitfile, "lib/systemd/system")
+            install_to_dir(gitfile, "usr/lib/systemd/system")
         elif gitfile.endswith('/anaconda-generator'):
             # yeah, this should probably be more clever..
-            install_to_dir(gitfile, "lib/systemd/system-generators")
+            install_to_dir(gitfile, "usr/lib/systemd/system-generators")
         elif gitfile == "data/tmux.conf":
             install_to_dir(gitfile, "usr/share/anaconda")
         elif gitfile == "data/anaconda-gtk.css":
-- 
1.9.3



More information about the anaconda-patches mailing list