Adding a custom package in a custom iso?

Latest response

This is a bit of a unique issue that I have been having. I'm looking to include the Tenable SC "Security Center" rpm into the Packages directory in my custom RHEL7 image. I get how to create a custom iso kickstart, but anytime I try to create new meta data it seems to implode on me. When I cook off my kick start I usually get this:

anaconda 21.48.22.156-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1270, in _selectYumGroup
    raise NoSuchGroup(groupid, required=required)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1383, in _applyYumSelections
    self._selectYumGroup("core")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1441, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1535, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 251, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups())
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
NoSuchGroup: core

Local variables in innermost frame:
default: True
self: <pyanaconda.packaging.yumpayload.YumPayload object at 0x7f7a9b404910>
required: False
pkg_types: ['mandatory', 'default']
optional: False
groupid: core

Bit of a generic error that probably has to do with my metadata. Maybe I need to look at creating my new metadata differently? I know I can install my Security Center rpm later, I just wanted to see if I could do it in my kickstart. Thoughts? Anyone else done some custom iso work before?

--Laszlo

Responses