I'm attempting to create a Red Hat 7.8 ISO with a reduced set of rpms that have been updated to the latest version. I figured out how to isolate the packages I need and download them, but when I create the new ISO, it boots, starts the installer but it never finds the installation source on the local media. I have followed these steps:
- Mount the source ISO
- Copy the entire file structure into a temporary folder
- Filter the rpms down to just the ones I need
- Use yumdownloader to download the latest version of each RPM into a newPackages
- Delete the original Packages folder and rename newPackages packages.
The next step is to create the new repodata, which I do by running the following command in Packages:
createrepo -dpo .. .
It creates the new repo files in the repodata folder and replaces the repomd.xml file
When I boot, however, it can't find the repository on the ISO.
Is there another file that needs updating to recognize the new repo, or some option I need to make an ISO compatible repo? Did I delete an rpm that is required for initial installation?