Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install: Fix broken
warn_on_host_root
check
The `warn_on_host_root` check was broken when we added support for installing on already-ostree systems (but only for already-ostree systems). See #907 The solution is to use the original user provided root_path for the fd passed to warn_on_host_root, rather than the modified one, as that will always match /proc/0/root's fsid (in ostree systems systemd is running with the deployment root as its root, and this is what we have mounted as /:/target) Signed-off-by: Omer Tuchfeld <[email protected]>
- Loading branch information