1 |
On Sat, 2004-12-04 at 16:50, Natanael Copa wrote: |
2 |
> On Sat, 04 Dec 2004 14:19:38 -0500 |
3 |
> Ned Ludd <solar@g.o> wrote: |
4 |
> |
5 |
> > I enable FEATURES=buildpkg |
6 |
> |
7 |
> Is it possible to autmatically build ipkg packages in a similar way? |
8 |
|
9 |
No and Yes on building ipkg. ipkg-{too,utils} are in portage and one |
10 |
could use those to build ipkgs if they opted to. What I used to do to |
11 |
get the ipkg format was still to enable buildpkg then I did a little |
12 |
hack/conversion of tbz2ipkg in ebuild.sh in the dyn_package() phase. |
13 |
The source code for that can be found here |
14 |
http://oc12.net/~solar/gentoo/tbz2ipkg |
15 |
|
16 |
|
17 |
/usr/bin/ebuild.sh: |
18 |
|
19 |
dyn_package() { |
20 |
.. |
21 |
... |
22 |
|
23 |
tbz2pkg $PWD/../All/${PF}.tbz2 |
24 |
|
25 |
ln -sf "../All/${PF}.tbz2" "${PKGDIR}/${CATEGORY}/${PF}.tbz2" || die |
26 |
"Failed to create symlink in ${PKGDIR}/${CATEGORY}" |
27 |
echo ">>> Done." |
28 |
|
29 |
|
30 |
> -- |
31 |
> Natanael Copa |
32 |
> |
33 |
> -- |
34 |
> gentoo-embedded@g.o mailing list |
35 |
-- |
36 |
Ned Ludd <solar@g.o> |
37 |
Gentoo (hardened,security,infrastructure,embedded) Developer |