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

fix(initrd): Reverse order of detection #1707

Merged

Conversation

craciunoiuc
Copy link
Member

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

@craciunoiuc craciunoiuc requested a review from nderjung June 7, 2024 12:32
Copy link
Contributor

@LucaSeri LucaSeri left a comment

Choose a reason for hiding this comment

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

Hi @craciunoiuc, thanks for this!

Please see my comment, which is related to the fixes in #1696 and #1698.

initrd/dockerfile.go Outdated Show resolved Hide resolved
@craciunoiuc craciunoiuc added this to the KraftKit v0.9.0 milestone Jun 19, 2024
Lowercase paths currently resolve to docker links.
By reversing order we can exclude local files by checking for them.
Links will usually be valid.

Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
@craciunoiuc craciunoiuc force-pushed the craciunoiuc/correctly-detect-rootfs branch from 9c8875a to 6f84313 Compare July 1, 2024 09:40
@craciunoiuc craciunoiuc changed the title feat(initrd): Correctly detect rootfs when provided fix(initrd): Reverse order of detection Jul 1, 2024
@craciunoiuc craciunoiuc requested a review from LucaSeri July 1, 2024 09:40
Copy link
Contributor

@LucaSeri LucaSeri left a comment

Choose a reason for hiding this comment

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

All good, thanks!

Reviewed-by: Luca Seritan luca.seritan@gmail.com

Copy link
Member

@nderjung nderjung left a comment

Choose a reason for hiding this comment

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

Thanks!

@nderjung nderjung merged commit e5d1aaf into unikraft:staging Jul 1, 2024
12 checks passed
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.

3 participants