From a73cedc951ddf4d93968d09ac75e98e89f1ac7ca 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 bdf284e6..7869c0d2 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -365,7 +365,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)