Shutdown is in another location
This commit is contained in:
parent
4064c78fe6
commit
a73cedc951
@ -365,7 +365,7 @@ class LoraxInstallTree(BaseLoraxClass):
|
|||||||
def misc_tree_modifications(self):
|
def misc_tree_modifications(self):
|
||||||
if self.basearch in ("s390", "s390x"):
|
if self.basearch in ("s390", "s390x"):
|
||||||
# copy shutdown
|
# 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")
|
dst = joinpaths(self.root, "sbin", "init")
|
||||||
os.unlink(dst)
|
os.unlink(dst)
|
||||||
shutil.copy2(src, dst)
|
shutil.copy2(src, dst)
|
||||||
|
Loading…
Reference in New Issue
Block a user