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

RE: RPM package dir



> Did you compose your tree manually?  If so, you need to move all the
> rpms up a level into just Fedora/ and you need to get rid of the base/
> directory.

OK. Understood.

> base/comps.xml was used by buildinstall to create the repodata

So comps.xml is no longer used?

> now the compose tool needs to create the repodata before buildinstall is
> ran, and it has to reference a comps file wherever it is.  createrepo
> will copy that file into the repodata/ directory.

So,... what should I do different then?
I now do:

createrepo -g Fedora/base/comps.xml .

pkgorder --product="MyDistro" /my/path/fedora/i386 i386 Fedora >
/my/path/fedora/pkgfile.MYDISTRO

buildinstall --pkgorder /my/path/fedora/pkgfile.MYDISTRO --version 1
--product "MyDistro" --release "MyDistro" --prodpath Fedora .

export DISCINF=`head -1 .discinfo`

createrepo --baseurl="media://$DISCINF" -g Fedora/base/comps.xml .


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