[Fedora-livecd-list] How to install one package from a specific repo?
Lars Bjørndal
lars.bjorndal at broadpark.no
Thu Aug 16 20:29:37 UTC 2007
Jeroen van Meeuwen <kanarip at kanarip.com> writes:
> Lars Bjørndal wrote:
>> Hello!
>>
>> I need to install clamav from the development repository. I tried to
>> do "yum --enablerepo=development -y install clamav" in the %post
>> section of the .ks file, but it didn't work.
>>
>> BTW: I tried to set keepcache=1 in the yum.conf file on the build
>> system, but the packages are lost after the livecd is built. So next
>> time, they need to be refetched... Is it possible to keep them for
>> future use?
>>
>> Lars
>>
>
> Configure the development repository in the yum configuration you use
> for creating the livecd with, enable it and add a line:
>
> includepkgs=clamav
OK. I'm using livecd-creator to build the CD, should I add something like:
repo --name=development\
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch\
--includepkgs=clamav clamav-update etc.?
I've tried to leave out the 'repo' lines in the .ks file. I thought
doing so, would force livecd-creator to use the yum repositories
configured on the build host, but the process would not start.
Lars
More information about the livecd
mailing list