From b50f1cb8029027107deacd697ecee7a9f03364dc Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Wed, 23 Mar 2011 14:07:26 +0100 Subject: [PATCH] Shutdown is in another location --- src/pylorax/installtree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py index 54e1c5e8..1bc893e7 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -337,7 +337,7 @@ class LoraxInstallTree(BaseLoraxClass): def misc_tree_modifications(self): if self.basearch in ("s390", "s390x"): # copy shutdown - src = joinpaths(self.root, "usr/libexec/anaconda/shutdown") + src = joinpaths(self.root, "usr", self.libdir, "anaconda/shutdown") dst = joinpaths(self.root, "sbin", "init") os.unlink(dst) shutil.copy2(src, dst)