rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
291 stars 53 forks source link

Skip symlink if kernel already exists #2028

Closed frelon closed 7 months ago

frelon commented 7 months ago

If kernel or initrd is named the default vmlinuz/initrd we skip the symlinking since the booting will work anyways.

codecov-commenter commented 7 months ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 72.34%. Comparing base (1625514) to head (fa51d8f).

Files Patch % Lines
pkg/elemental/elemental.go 33.33% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2028 +/- ## ========================================== - Coverage 72.36% 72.34% -0.02% ========================================== Files 76 76 Lines 9009 9012 +3 ========================================== + Hits 6519 6520 +1 - Misses 1946 1947 +1 - Partials 544 545 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.