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

Roll-forward "Fix ext4 DirectoryToImageAutoSize not working for some images (#6380)" #6402

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Apr 17, 2024

Original PR #6380

The fixes are in this commit

  • Use lstat instead of stat since stat can fail on "dangling" symlinks (symlink with a target that does not exist)
  • Fix a bug which existed before the original PR: in DirectoryToImageAutoSize, if err != nil { return nil } should be if err != nil { return err }
  • Make sure ext4_test runs on CI and add regression tests for both of the above issues
  • Increase minimum disk size to fix the alpine image conversion test

Related issues: N/A

@bduffany bduffany force-pushed the rollforward-disksize branch 4 times, most recently from ba7a7c6 to 2386581 Compare April 18, 2024 01:30
@bduffany bduffany merged commit 6061ff6 into master Apr 18, 2024
16 of 19 checks passed
@bduffany bduffany deleted the rollforward-disksize branch April 18, 2024 17:53
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.

None yet

2 participants