Re: Looking at the payload from an addon
Chris Lumens <[email protected]>
| Newsgroups | gmane.linux.redhat.anaconda.devel |
|---|---|
| Message-ID | <[email protected]> |
> I'm working on an addon where I'd like to do a bit more introspection on the > payload within the addon itself. > > So I started working on the kickstart aspect and ran into a bit of > confusion. > > For what I'm doing I need to act a bit differently if the payload is yum vs > dnf vs ostree. However, I don't see a way for me to look at the payload > object from within the kickstart functions. > > Did I miss where I can get to it? Any suggestions? Can you post the code you've got so far somewhere? Also, what release is this? >From brief looking around, I don't see a great way of getting at payload from without a subclass of AddonData. To me, that seems like an oversight that we could take care of. We are passing around storage, ksdata, and instClass after all. - Chris