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

install-env-deps: recommend kdump-anaconda-addon #5205

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

AdamWill
Copy link
Contributor

Way back in https://bugzilla.redhat.com/show_bug.cgi?id=1115914 and https://bugzilla.redhat.com/show_bug.cgi?id=1176483 , we wanted to get this addon included in the install environment. However, it wasn't really done properly. As things wound up, it got listed in lorax runtime-install.tmpl (which does the job of getting it in the 'traditional' installer environment, but not getting it on live images), and then to get it on live images, it was added to the anaconda-tools comps group.

This got the job done, but isn't correct. anaconda-tools is meant to contain packages that the installer might need to deploy to the installed system, not packages that should be in the installer environment. It only wound up getting the package installed in the live environment because we have to include all packages from anaconda-tools in the lives because we have no way to add packages to live installs at install time.

Adding this here is more correct, and would mean we only need to list it in one place (here) instead of two (lorax templates and comps).

@github-actions github-actions bot added the f40 label Sep 25, 2023
AdamWill added a commit to AdamWill/lorax that referenced this pull request Sep 25, 2023
I'm proposing making this part of anaconda-install-env-deps
instead in rhinstaller/anaconda#5205 .
It's more correct.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
@AdamWill
Copy link
Contributor Author

Corresponding lorax and comps PRs - weldr/lorax#1349 and https://pagure.io/fedora-comps/pull-request/898 .

@VladimirSlavik
Copy link
Contributor

VladimirSlavik commented Sep 26, 2023

Thanks! Makes sense.

You want to Recommend this in -env- and Require in -img-, that's the pattern we followed so far.

Way back in https://bugzilla.redhat.com/show_bug.cgi?id=1115914
and https://bugzilla.redhat.com/show_bug.cgi?id=1176483 , we
wanted to get this addon included in the install environment.
However, it wasn't really done properly. As things wound up, it
got listed in lorax runtime-install.tmpl (which does the job of
getting it in the 'traditional' installer environment, but not
getting it on live images), and then to get it on live images,
it was added to the anaconda-tools comps group.

This got the job done, but isn't correct. anaconda-tools is
meant to contain packages that the installer might need to
deploy to the installed system, not packages that should be in
the installer environment. It only wound up getting the package
installed in the live environment because we have to include
all packages from anaconda-tools in the lives because we have
no way to add packages to live installs at install time.

Adding this here is more correct, and would mean we only need to
list it in one place (here) instead of two (lorax templates and
comps).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you!

@VladimirSlavik
Copy link
Contributor

/kickstart-test --testtype smoke

Copy link
Contributor

@M4rtinK M4rtinK left a comment

Choose a reason for hiding this comment

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

Looks good to me as well, thanks! :)

@VladimirSlavik VladimirSlavik merged commit edb3a11 into rhinstaller:master Sep 27, 2023
17 checks passed
AdamWill added a commit to AdamWill/lorax that referenced this pull request Feb 1, 2024
I'm proposing making this part of anaconda-install-env-deps
instead in rhinstaller/anaconda#5205 .
It's more correct.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
bcl pushed a commit to weldr/lorax that referenced this pull request Feb 1, 2024
I'm proposing making this part of anaconda-install-env-deps
instead in rhinstaller/anaconda#5205 .
It's more correct.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
bcl pushed a commit to bcl/lorax that referenced this pull request Mar 28, 2024
I'm proposing making this part of anaconda-install-env-deps
instead in rhinstaller/anaconda#5205 .
It's more correct.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
U2FsdGVkX1 pushed a commit to fedora-riscv/fedora-comps that referenced this pull request Apr 4, 2024
I'm proposing making the addon part of anaconda-install-env-deps
instead in rhinstaller/anaconda#5205 .
It's more correct. This group is meant to contain things that
may be needed *on the installed system*, not in the installer
environment. The addon is needed in the installer environment,
not the installed system.

However, one thing the addon does is add kexec-tools to the list
of packages to be installed to the installed system, so we should
add kexec-tools to this group for correctness.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants