Skip to content

Conversation

@Itxaka
Copy link
Member

@Itxaka Itxaka commented Nov 13, 2025

We discovered that several binaries are no longer a hard requirement for immucore to work.

  • Removed 'growpart', 'parted', 'fdisk' (???) and 'partprobe' from the immucore.files list and the dracut needed binaries
  • Streamlined the bundled.go installation check by eliminating redundant binaries
  • This change reduces the footprint of the immucore package and simplifies the installation process.

We discovered that several binaries are no longer a hard requirement for immucore to work.

- Removed 'growpart', 'parted', and 'partprobe' from the immucore.files list and the dracut needed binaries
- Streamlined the bundled.go installation check by eliminating redundant binaries
- This change reduces the footprint of the immucore package and simplifies the installation process.

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team as a code owner November 13, 2025 08:59
Copilot AI review requested due to automatic review settings November 13, 2025 08:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reduces the footprint of the immucore package by removing unnecessary binary dependencies. The changes eliminate growpart, parted, and partprobe from both the immucore.files list and the dracut installation checks, as these binaries are no longer required for immucore functionality.

Key Changes:

  • Removed three partition-related binaries (growpart, parted, partprobe) from dependency lists
  • Updated dracut binary checks to reflect the reduced dependency set

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pkg/bundled/bundled.go Removed partprobe, parted, growpart, and sfdisk from the dracut installation check list
pkg/bundled/alpineInit/immucore.files Removed /usr/bin/growpart, /usr/sbin/parted, and /usr/sbin/partprobe from the required files list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.66%. Comparing base (fea3a17) to head (0af3a10).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #236   +/-   ##
=======================================
  Coverage   66.66%   66.66%           
=======================================
  Files           1        1           
  Lines         168      168           
=======================================
  Hits          112      112           
  Misses         39       39           
  Partials       17       17           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Removed "parted", "growpart", and "cloud-utils-growpart" from package lists as they are no longer needed.
- This cleanup helps streamline the package management and reduces potential bloat.

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from Copilot November 13, 2025 09:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants