1 |
Thanks again for the reply! |
2 |
|
3 |
so ill need the following stuff on the NAS: |
4 |
|
5 |
- gentoo-utils (q) |
6 |
- emerge or pkcocre (pkgcore preferred???) |
7 |
- python (any chance that this will work with tinypythen etc ??) |
8 |
- a portage-tree (squashed and partly trimmed) |
9 |
|
10 |
That will eat up way more space than i have. |
11 |
Since im talking about a NAS I could probably only but a bootstrap-script |
12 |
into the rootfs and fetch all the files once the HD is up and running ... |
13 |
|
14 |
But still this solution is nether lightwight nor nice in any way from my point of view. |
15 |
|
16 |
Q: |
17 |
is there a way to make this setup smaller and more lightwight?? |
18 |
|
19 |
-- |
20 |
flip |
21 |
|
22 |
|
23 |
> |
24 |
> On Tue, 2007-09-18 at 22:36 -0400, Mike Frysinger wrote: |
25 |
> > On Tuesday 18 September 2007, Ned Ludd wrote: |
26 |
> > > qtbz2 -O -x /tmp/wget-1.10.2.tbz2 | qxpak -l -O - |
27 |
> > |
28 |
> > one thing ive never liked about qtbz2 and qxpak is the usage seems obscure ... |
29 |
> > i need to re-learn the syntax everytime i try playing with them |
30 |
> |
31 |
> likewise. |
32 |
> |
33 |
> > can it be improved ? ive thought about it but havent figured out a good |
34 |
> > solution ... maybe just add copy & paste examples to the manpage ? or change |
35 |
> > the syntax of qxpak to mimic tar ? or something else ? |
36 |
> |
37 |
> I'd rather us avoid changing syntax as that can break scripts. Overall |
38 |
> the tools work really well after you master the syntax down for the |
39 |
> operations you need them to preform. |
40 |
> |
41 |
> What kills me the most is extracting a single xpak item to stdout. |
42 |
> In order do that we have do something like. |
43 |
> |
44 |
> qtbz2 -x -O wget-1.10.2.tbz2 | qxpak -O - -x CFLAGS |
45 |
> |
46 |
> But in reality it's something more like |
47 |
> |
48 |
> for x in $(qtbz2 -x -O wget-1.10.2.tbz2 | qxpak -O -l - | grep -v |
49 |
> -e .ebuild$ -e .bz2$) ; do echo $x=\"$(qtbz2 -x -O wget-1.10.2.tbz2 | |
50 |
> qxpak -O - -x $x)\" ; done |
51 |
> |
52 |
> And that is a crap load of execve() and pipes just to list fields |
53 |
> for one tbz2 file. For the tbox's html output we do that more or |
54 |
> less for about 10k binpkgs |
55 |
> |
56 |
> Maybe the -x option should take ITEM1,ITEM2,ITEM3.. and process them in |
57 |
> order. |
58 |
> |
59 |
> Granted right now we can do |
60 |
> qtbz2 -x -O wget-1.10.2.tbz2 \ |
61 |
> | qxpak -O - -x RDEPEND CFLAGS CXXFLAGS USE DEPEND |
62 |
> |
63 |
> But the output ordering is not the same as we requested on cmdline. It |
64 |
> appears to be based on the ordering that the item shows up in the vdb. |
65 |
> |
66 |
> Shrug sorry I don't think I really answered the question but this |
67 |
> is all that came to mind.. |
68 |
> |
69 |
> -- |
70 |
> Ned Ludd <solar@g.o> |
71 |
> |
72 |
> -- |
73 |
> gentoo-embedded@g.o mailing list |
74 |
> |
75 |
> |
76 |
|
77 |
|
78 |
_____________________________________________________________________ |
79 |
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! |
80 |
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 |
81 |
|
82 |
-- |
83 |
gentoo-embedded@g.o mailing list |