Shutdown is in another location

This commit is contained in:
Martin Gracik 2011-03-23 14:07:26 +01:00
parent 2a0dcf846f
commit b50f1cb802

View File

@ -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)