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

remove dracut from the IPA rootfs #943

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rozzii
Copy link
Member

@Rozzii Rozzii commented Jan 3, 2025

this PR:

  • removes the dracut packages from the rootfs

The size of the IPA image is slowly but steadily growing, and in order to minimize the size of the image some packages could be removed.

Although dracut is used at some point in the DIB build process there is no point leaving it in the root file system after the IPA build process is finished. IPA user space does not rely on dracut, systemd can handle everything on it's own.

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 3, 2025
@Rozzii
Copy link
Member Author

Rozzii commented Jan 3, 2025

/override metal3-ubuntu-e2e-integration-test-main
This would be tested by the fullstack but fullstack is not yet compatible with prow but I have used this script to build an IPA and booted it successfully .

Metal3 IPA is also not used in any mandatory CI pipeline so it won't cause breakage anyhow.

@metal3-io-bot
Copy link
Collaborator

@Rozzii: Overrode contexts on behalf of Rozzii: metal3-ubuntu-e2e-integration-test-main

In response to this:

/override metal3-ubuntu-e2e-integration-test-main
This would be tested by the fullstack but fullstack is not yet compatible with prow but I have used this script to build an IPA and booted it successfully .

Metal3 IPA is also not used in any mandatory CI pipeline so it won't cause breakage anyhow.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Rozzii
Copy link
Member Author

Rozzii commented Jan 3, 2025

/cc @peppi-lotta @kashifest

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

Nits

this commit:
  - removes the dracut packages from the rootfs

The size of the IPA image is slowly but steadily growing, and in order to
minimize the size of the image some packages could be removed.

Although dracut is used at some point in the DIB build process there is no
point leaving it in the root file system after the IPA build process is
finished. IPA user space does not rely on dracut, systemd can handle everything
on it's own.

Signed-off-by: Adam Rozman <[email protected]>
@Rozzii
Copy link
Member Author

Rozzii commented Jan 10, 2025

/override metal3-ubuntu-e2e-integration-test-main

@metal3-io-bot
Copy link
Collaborator

@Rozzii: Overrode contexts on behalf of Rozzii: metal3-ubuntu-e2e-integration-test-main

In response to this:

/override metal3-ubuntu-e2e-integration-test-main

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

/approve

@metal3-io-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tuminoid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants