New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openshift: Fix path to mount and findmnt command #41272
Conversation
Fix openshift oc cluster up mount (cherry picked from commit fd09c3d) Reason: The basic functionality to spin up a local cluster using "oc cluster up" is broken due to wrong paths to mount and findmnt.
|
||
substituteInPlace pkg/oc/bootstrap/docker/host/host.go \ | ||
--replace 'nsenter --mount=/rootfs/proc/1/ns/mnt mkdir' \ | ||
'nsenter --mount=/rootfs/proc/1/ns/mnt ${utillinux}/bin/mount' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be mkdir
instead of mount
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I have accidentally overseen this. Fix to master: #41274
@GrahamcOfBorg build openshift |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: openshift Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: openshift Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: openshift Partial log (click to expand)
|
Fix openshift oc cluster up mount
(cherry picked from commit fd09c3d)
Motivation for this change
Reason: The basic functionality to spin up a local cluster using "oc
cluster up" is broken due to wrong paths to mount and findmnt.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)