On Sat, 2008-02-23 at 11:55 +0100, Christopher Friedt wrote:
> Hi everyone,
> 
> I was just getting along using qmerge on my arm board. After comparing 
> with the tinderbox server, I seem to be missing a 'Packages' file [1] in 
> my own binary package repository.
> 
> Does anyone know how to generate the 'Packages' file properly? Is done 
> with catalyst? Can it be done easily with portage-utils?

genpkgindex from gentoolkit. Newer versions of portage (2.2.x) will also
auto generate this file.

The tbox uses this exact copy.

http://tinderbox.dev.gentoo.org/portage/local/bin/genpkgindex

Then it gets called from a bashrc such as..

if [ "$EBUILD_PHASE" = "postinst" ];then
        if [ "${ROOT}" == "/" ] || [ "${ROOT}" == "" ] &&
[ "${FEATURES/*genpkgindex*/}" != "$FEATURES" ]; then
                [ -x ${PORTDIR}/local/bin/genpkgindex ] &&
${PORTDIR}/local/bin/genpkgindex
        fi
fi




> 
> Cheers,
> 
> Chris
> 
> [1] http://tinderbox.dev.gentoo.org/default-linux/x86/All/Packages
> 

-- 
[email protected] mailing list

Reply via email to