Shutdown is in another location

This commit is contained in:
Martin Gracik 2011-03-23 14:07:26 +01:00
parent 4064c78fe6
commit a73cedc951

View File

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