-
Notifications
You must be signed in to change notification settings - Fork 56
9p: add 9p fuse client #1123
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
base: release-4.19
Are you sure you want to change the base?
9p: add 9p fuse client #1123
Conversation
Reviewer's GuideThis PR enhances the createdisk.sh script to support 9P file sharing on Windows by adding steps that enable a COPR repository and download the 9pfs binary via SSH when generating the Windows bundle, then include it in the installation list. Flow diagram for 9P FUSE client installation in createdisk.shflowchart TD
A[Start createdisk.sh] --> B{Is SNC_GENERATE_WINDOWS_BUNDLE != 0?}
B -- No --> C[Continue without 9pfs setup]
B -- Yes --> D[Enable COPR repo mskvarla/9pfs via SSH]
D --> E[Create ~/packages directory via SSH]
E --> F[Download 9pfs package to ~/packages via SSH]
F --> G[Add 9pfs to ADDITIONAL_PACKAGES]
G --> H[Continue with install_additional_packages]
C --> H
H[Install additional packages and copy systemd units]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant DevEnv as create-disk script
participant COPR as COPR (mskvarla/9pfs)
participant Cache as Local cache dir
participant VMPrep as install_additional_packages step
rect rgb(230, 248, 255)
DevEnv->>COPR: enable repo (if Windows bundle)
DevEnv->>COPR: dnf download 9pfs --downloaddir=Cache
COPR-->>DevEnv: provide 9pfs package
DevEnv->>COPR: disable repo
DevEnv->>DevEnv: append '9pfs' to PRE_DOWNLOADED_ADDITIONAL_PACKAGES
end
DevEnv->>VMPrep: call install_additional_packages (uses pre-downloaded packages)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
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.
/hold |
ce67106
to
ab5803b
Compare
a737705
to
ebb66cd
Compare
/unhold |
/test e2e-snc |
@redbeam both commit should be squashed because you are replacing container build binary to rpm based one. |
This adds the necessary steps for installation of the 9pfs client to the hyperv image. The binary is installed from a COPR repository. This binary is needed to enable 9P file sharing.
ebb66cd
to
fc6975d
Compare
9P support for filesharing on Windows: crc-org/crc#4168
Summary by Sourcery
Enhancements:
Summary by CodeRabbit
New Features
Chores