Skip to content
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

[DEVOPS-5457] Upgrade dependencies version #27

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

Taowyoo
Copy link
Contributor

@Taowyoo Taowyoo commented Jan 17, 2025

Upgrade sys-mount and tar version to avoid dependency on old version of bindgen.
This helps fixing the bindgen vs clang incompatibility issue. See details in internal Jira ticket DEVOPS-5457.

Remove `loopdev` feature on crate sys-mount
to avoid dependency on old version of bindgen.
This helps fixing the bindgen vs clang inconpatibility
issue.
Because we use `sys-mount` only for mount ext4 filesystem,
there is no usaage of mounting loop device, this change is
safe.
@aditijannu
Copy link
Collaborator

The converter does use loop mounts at conversion time to create and populate block devices, so I'm not sure if it's okay to remove the loopdev feature.

I would like to do a CI run or QA validation on this branch before we merge it.

@Taowyoo
Copy link
Contributor Author

Taowyoo commented Jan 17, 2025

@aditijannu Thanks for telling me this.
Then I will change solution to "upgrade sys-mount version" instead.

Upgrade sys-mount version to latest and corresponding tar version.
`tar` version needs to upgraded to at least 0.4.39 to include original
git based version, see:
alexcrichton/tar-rs@f4f439c
@nshyrei
Copy link
Contributor

nshyrei commented Jan 21, 2025

@Taowyoo Please update the title of your PR according to the new changes.

@Taowyoo Taowyoo changed the title [DEVOPS-5457] disable loopdev feature on sys-mount [DEVOPS-5457] Upgrade dependencies version Jan 21, 2025
@dlegalov-fortanix dlegalov-fortanix self-requested a review January 21, 2025 23:16
Copy link
Contributor

@dlegalov-fortanix dlegalov-fortanix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a reasonable update, as long as it is tested to work.

@Taowyoo Taowyoo added this pull request to the merge queue Jan 21, 2025
Merged via the queue into master with commit 8f3348c Jan 21, 2025
1 check passed
@Taowyoo Taowyoo deleted the yx/fix-loopdev_DEVOPS-5457 branch January 21, 2025 23:44
Copy link
Member

@gausk gausk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants