1 |
Mike Frysinger <vapier@g.o> wrote on 2010/10/08 05:06:13: |
2 |
> |
3 |
> On Friday, October 01, 2010 02:56:07 Joakim Tjernlund wrote: |
4 |
> > Mike Frysinger <vapier@g.o> wrote on 2010/10/01 02:36:44: |
5 |
> > > On Thursday, September 30, 2010 11:38:58 Joakim Tjernlund wrote: |
6 |
> > > > Next problem, how do I force other computers to use the bin pkg? Unless |
7 |
> > > > one passes -G to emerge, emerge rebuilds the pkg and I don't want that |
8 |
> > > > as I have passed EXTRA_ECONF args and added a small patch to glibc as |
9 |
> > > > well. |
10 |
> > > |
11 |
> > > man emerge -> -K |
12 |
> > |
13 |
> > Thanks, but this is not quite what I want. This depends on the user |
14 |
> > actually passing -K to emerge. I realize I want something like the |
15 |
> > different -bin ebuilds in portage such as openoffice-bin or firefox-bin. |
16 |
> > Any pointers on how to create a -bin ebuild from the binary pkgs I |
17 |
> > get form crossdev ... -portage -b ? |
18 |
> |
19 |
> portage has no support for changing PN on the fly |
20 |
|
21 |
Yeah, I came to the same conclusion. I used qlist and tar instead: |
22 |
TARGET="powerpc-e300c2-linux-gnu" |
23 |
MY_ROOT="/usr/${TARGET}" |
24 |
mkdir -p /tmp/${TARGET} |
25 |
qlist --quiet --all ${TARGET} > /tmp/${TARGET}/cross-tools |
26 |
ROOT=${MY_ROOT} qlist --quiet --all > /tmp/${TARGET}/pkgs |
27 |
#prefix all paths with our target root prefix |
28 |
sed -i s:/:${MY_ROOT}/: /tmp/${TARGET}/pkgs |
29 |
tar czf /tmp/${TARGET}.tgz -T /tmp/${TARGET}/cross-tools \ |
30 |
-T /tmp/${TARGET}/pkgs |
31 |
|
32 |
Would be nice if one could get rid of the sed hack by adding |
33 |
an option to qlist to list the true abs path. |
34 |
|
35 |
Jocke |