Re: New to Kickstart, trying to add custom packages to DVD Repo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Excellent Tip!  This worked for me!

My setup i am using MAC OSX and VMWare Fusion for testing purposes.

I have my custom kickstart on the CD and I have modified the isolinux.cfg to append "ks=cdrom:/ks.cfg" to the default linux and disabled the prompt.  This kicks off the custom install with my ks.cfg file.

I did a install of RHEL Server to a VM and mounted the RHEL Server ISO.  Once mounted i copied the contents of the DVD to /media/rhel.
Once copied i created an addons directory inside the Server folder (/media/rhel/Server/addons).  I copied isomaster and the supporting xdg-utils rpm to the addons folder.

At this point o ran the command you provided:
> createrepo --update -g repodata/comps-rhel5-server-core.xml .

This generated new files in the repodata folder.  I copied these files and the addons folder to the ISO (using MagicISO on Windows) and saved the ISO.  Back to the VM, i created a new VM and configured it to boot the new custom ISO and once installation is completed i logged in and isomaster is installed.

thank you very much for the excellent support and assistance.

On Mar 18, 2011, at 8:22 AM, Pablo Iranzo Gómez wrote:

> Hi
> ----- Mensaje original -----
>> De: "Mike Partain" <turbo2007@xxxxxxxxx>
>> Para: kickstart-list@xxxxxxxxxx
>> Enviados: Viernes, 18 de Marzo 2011 8:13:11
>> Asunto: New to Kickstart, trying to add custom packages to DVD Repo.
>> Hello all and thanks for taking the time to read my question/post.
>> I am wondering if it is possible to add a custom made RPM to the DVD
>> repository and install it through the %packages portion on RHEL Server
>> 5.4. I have tried simply copying the files from the CD during the post
>> and had some trouble. In looking at the packages section it seemed
>> that it would be easier to add it to the Server folder and run
>> createrepo /media/cdrom/Server.
> What I do is to put them in another folder just to make it clear what are DVD packages and custom ones (easier to do maintenance).
> And yes, putting packages in server is just createrepo, but that must be executed on a system running rhel 5.x.
> cd /media/crom/Server
> createrepo --update -g repodata/comps-rhel5-server-core.xml
> Regards
> Pablo
> -- 
> Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx)
> Senior Global Profesional Services Consultant (RHCA, RHCSS, RHCDS, RHCVA, RHCE, RHCSP) #804006196923216
> Phone: +34 645 01 01 49 (CET/CEST)
> GnuPG KeyID: 0xFAD3CF0D
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx

Kickstart-list mailing list

[Home]     [Fedora Users]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux