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

The installed_pkgs.log file now covers dynamic builddeps #1431

Merged

Conversation

praiskup
Copy link
Member

This change required us to create a new "postdeps" hook with post-%generate_buildrequires timing.

Fixes: #1429
Relates: #1393

This change required us to create a new "postdeps" hook with
post-%generate_buildrequires timing.

Fixes: rpm-software-management#1429
Relates: rpm-software-management#1393
@@ -43,7 +43,7 @@ def __init__(self, plugins, conf, buildroot):
self.inst_done = False
self.online = self.buildroot.config['online']
plugins.add_hook("postyum", self._availablePostYumHook)
plugins.add_hook("prebuild", self._installedPreBuildHook)
Copy link
Member

Choose a reason for hiding this comment

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

Although this hook is not documented, it is used by several plugins. I believe it should not be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

The hooks in this "prebuild" namespace are still called, this particular hook is just moved to a later timing...

Copy link
Member

Choose a reason for hiding this comment

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

Right. I was confused and thought you are replacing the hook itself. Sorry for the noise.

@xsuchy
Copy link
Member

xsuchy commented Aug 23, 2024

+1

@praiskup praiskup merged commit bd85ff0 into rpm-software-management:main Aug 26, 2024
22 checks passed
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.

package_state output doesn't count with %generate_buildrequires
2 participants