1 |
On Sat, 2008-02-23 at 11:55 +0100, Christopher Friedt wrote: |
2 |
> Hi everyone, |
3 |
> |
4 |
> I was just getting along using qmerge on my arm board. After comparing |
5 |
> with the tinderbox server, I seem to be missing a 'Packages' file [1] in |
6 |
> my own binary package repository. |
7 |
> |
8 |
> Does anyone know how to generate the 'Packages' file properly? Is done |
9 |
> with catalyst? Can it be done easily with portage-utils? |
10 |
|
11 |
genpkgindex from gentoolkit. Newer versions of portage (2.2.x) will also |
12 |
auto generate this file. |
13 |
|
14 |
The tbox uses this exact copy. |
15 |
|
16 |
http://tinderbox.dev.gentoo.org/portage/local/bin/genpkgindex |
17 |
|
18 |
Then it gets called from a bashrc such as.. |
19 |
|
20 |
if [ "$EBUILD_PHASE" = "postinst" ];then |
21 |
if [ "${ROOT}" == "/" ] || [ "${ROOT}" == "" ] && |
22 |
[ "${FEATURES/*genpkgindex*/}" != "$FEATURES" ]; then |
23 |
[ -x ${PORTDIR}/local/bin/genpkgindex ] && |
24 |
${PORTDIR}/local/bin/genpkgindex |
25 |
fi |
26 |
fi |
27 |
|
28 |
|
29 |
|
30 |
|
31 |
> |
32 |
> Cheers, |
33 |
> |
34 |
> Chris |
35 |
> |
36 |
> [1] http://tinderbox.dev.gentoo.org/default-linux/x86/All/Packages |
37 |
> |
38 |
|
39 |
-- |
40 |
gentoo-embedded@l.g.o mailing list |