Shutdown is in another location
This commit is contained in:
parent
2a0dcf846f
commit
b50f1cb802
@ -337,7 +337,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