--ignoremissing and other %package line controls.

Greg Oliver oliver.greg at gmail.com
Thu Jun 14 22:06:17 UTC 2018


On Thu, Jun 14, 2018 at 4:50 PM, C. Petro <petro at cpetro.us> wrote:

> Oh, and also does anyone know a good way to check to make sure that the
> contents of your isolinux/Package directory contains all the depedencies
> that your %packages section is asking for?
>
> The script I found...missed 20 or 30 things.
>
> On Thu, Jun 14, 2018 at 9:17 AM, C. Petro <petro at cpetro.us> wrote:
>
>> I've been trying to build a custom RHEL7 ISO for installing secure(ish)
>> servers in a DMZ.
>>
>> Basically I am trying to minimize the packages installed. I had a working
>> set based on RHEL 7.2, and tried to just copy that package list and use
>> RHEL7.5. Of course, dependencies have changed.
>>
>> So I tried to add:
>>
>> %packages --ignoremissing
>>
>> Which did not work--it still attempts to access a non-local repo and
>> install additional packages--10 tries at 30 seconds each!
>>
>> So I set:
>> %packages --ignoremissing --retries=2 --timeout=2
>>
>> And got no behavior change.
>>
>> What am I missing here?
>>
>>
>> Regards,
>> Petro.
>> :wq
>>
>
​I originally was not going to chime in, but it seems you are looking for
an ISO for installation that has already baked bread and wine.


What I do is cp -al the current mirror I have, then rsync mirror the
current repo and add that as a repo in my kickstart file.  I know I will
always the same exact packages for the duration.  It is really not much
data to mirror by today's standards and you will not have to ever worry
about missing packages.. ​

Of course, you did not share any specifics, so no telling what you are
battling.

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20180614/30053577/attachment.htm>


More information about the Kickstart-list mailing list