SCIENTIFIC-LINUX-USERS Archives

October 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 7 Oct 2016 14:26:47 -0400
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1185 bytes) , build.context.dvd.sh (8 kB)
On 10/07/2016 01:04 PM, Bill Askew wrote:
> I have been searching for a howTo that provides the steps required to create the repodata on an install DVD.
> I am using the SL 7.2 install DVD as a baseline and removing the unneeded packages then am using a kickstart file to do the install.
> This works fine without updating the repodata however if I want to add packages or replace packages with new packages I believe I would need to rebuild the repodata the match the new packages.
> Thanks
>

I have a modified version, but this is what Pat sent me a few months ago (written by Connie).  It is a good starting point for rolling your own.

The approach I took was to put my additional packages either using the context scheme SL proposes or just another directory off the DVD root.

Depending on what you decide to do, you will want to grab a copy of the original comps.xml and make any additional modifications to it.  Then, from what will be the DVD root, run 'createrepo -g <path_to_comps.xml> .'  This will find and build a repo from all rpms found in subdirectories.

I also have some scripts to inject custom bootloader configs and kickstart options if you are interested.

Hope that helps.

-Mark

ATOM RSS1 RSS2