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

Add boot assesment for install and bootentry #604

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Nov 20, 2024

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team November 20, 2024 15:27
@Itxaka
Copy link
Member Author

Itxaka commented Nov 20, 2024

I need to check upgrade as Its not clear what it does.

Signed-off-by: Itxaka <itxaka@kairos.io>
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 47.36842% with 20 lines in your changes missing coverage. Please review.

Project coverage is 48.05%. Comparing base (895e571) to head (4b56395).

Files with missing lines Patch % Lines
pkg/uki/common.go 0.00% 15 Missing ⚠️
pkg/uki/install.go 0.00% 4 Missing ⚠️
pkg/action/bootentries.go 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #604      +/-   ##
==========================================
- Coverage   48.19%   48.05%   -0.15%     
==========================================
  Files          48       48              
  Lines        6023     6049      +26     
==========================================
+ Hits         2903     2907       +4     
- Misses       2842     2863      +21     
- Partials      278      279       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Otherwise it wont match between the file on the system and the selected
default value in the loader.conf

Signed-off-by: Itxaka <itxaka@kairos.io>
Make it simpler by making it work for both install and upgrade by doing
the proper thing:
check if conf file have it enabled, if not enable it for the conf file

This should work with the install as well

Signed-off-by: Itxaka <itxaka@kairos.io>
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.

1 participant