[Fedora-livecd-list] how do I install a local rpm

Lane Brooks lbrooks at MIT.EDU
Wed Jul 18 04:12:35 UTC 2007


Great.  That worked perfectly.  Thanks.

Lane

Douglas McClendon wrote:
> Lane Brooks wrote:
>> I have a few local rpm files that are not part of a yum repo that I 
>> would like to install on my live cd.  What is the recommended way to 
>> do that?
> 
> # on the host build system
> yum install createrepo
> 
> mkdir /var/tmp/myrepo
> cp /path/to/my/*.rpm /var/tmp/myrepo/
> createrepo /var/tmp/myrepo
> 
> then in your kickstart (this is for livecd-creator, probably similar for 
> revisor),  add something like
> 
> 
> repo --name=myrepo --baseurl=file:///var/tmp/myrepo
> 
> then add your rpm names to the package list.
> 
> I'm a bit annoyed as to how hard it seems (from what little I've looked 
> so far) to add arbitrary files, given the chroot.  But for rpms, the 
> above is pretty simple really.
> 
> -dmc
> 
> -- 
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list




More information about the livecd mailing list