Skip to content

Commit cc4ecce

Browse files
committed
photon-os-installer: ostreeinstaller: Fix tmp mountpoint
- tmp mountpoint inside deployment is broken symlink causing failure in tmpfs mount command. - Fixed it by creating symlink before doing mount Change-Id: Iab1d585151616e4fbe3a9c4890996082f79eb3b8 Signed-off-by: Ankit Jain <[email protected]>
1 parent 43fbb5c commit cc4ecce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

photon_installer/ostreeinstaller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ def install(self):
165165
commit_number = self.get_commit_number(self.ostree_ref)
166166
self.do_systemd_tmpfiles_commands(commit_number)
167167

168-
self.run_lambdas([lambda: self.mount_devices_in_deployment(commit_number)], "mounting done")
169168
deployment = os.path.join(self.photon_root, f"ostree/deploy/photon/deploy/{commit_number}.0/")
170169
self.create_symlink_directory(deployment)
170+
self.run_lambdas([lambda: self.mount_devices_in_deployment(commit_number)], "mounting done")
171171

172172
if os.path.exists(loader1):
173173
cmd = []

0 commit comments

Comments
 (0)