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):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user