LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   creating local yum repositary (https://www.linuxquestions.org/questions/linux-newbie-8/creating-local-yum-repositary-763127/)

vinaytp 10-20-2009 01:45 AM

creating local yum repositary
 
Hi all...

I have 5 .iso files, all of them together constitute RHEL5 distribution..I know how to create a yum repository with a single .iso file..how can i create a single yum local repository which should include the packages that are in all 5 .iso files....

Main problem that I am facing is how to mount all .iso files under a single folder..

awaiting for positive reply...
Any help will be greatly appreciated...
Thanks in advance....

acid_kewpie 10-20-2009 02:00 AM

you might be able to use something like unionfs to do this, but outside of that, you'd need to copy the files directly. I would expect though that you could keep them separate though really, either making a single repo data file in the directory above their mount points, or have a separate repo per cd anyway.

SharpyWarpy 10-20-2009 03:37 AM

What I did was copy all the files to one directory then ran "createrepo ./" and it works fine.

acid_kewpie 10-20-2009 05:19 AM

Certainly the best approach, but if disk space is not available there should be other options if required.


All times are GMT -5. The time now is 01:06 AM.