Quote:
Originally Posted by Mr. ameya sathe
I repeat
I don't want to copy the whole RPM packages from DVD
|
i think you can provide your dvd path here "baseurl=file:///rpms/packages" edit this line"
actually my opinion is you can never do use yum to intall dvd packages. cause when you dump all your packages in you harddirve like /rmp/pacakge then there is a commmand
Code:
createrepo -v /rpm/package
that you need to run. this command will create
some necessary file that related with yum to install by yum. see the following...after use that command createrepo a directory will create name
repodata with some files
this is the example path of my own repository that i created
Code:
[root@localhost backup]# pwd
/fc7backup/backup/#all rpm are placed here
[root@localhost backup]# cd repodata/
[root@localhost repodata]# pwd
/fc7backup/backup/repodata
[root@localhost repodata]# ls
filelists.xml.gz other.xml.gz primary.xml.gz repomd.xml
these are the files that is am talking about
so as we know as DVD probably ROM...so creating files may be not possible.
thats what i can explain with my short knowledge.
thanks