1 |
How do you guys handle library packages in cross-architecture emerges? I |
2 |
found that using portage gave me all sorts of problems when it came to |
3 |
library packages, as the includes, static libraries and dynamic |
4 |
libraries all got installed into the target's rootfs. I also found that |
5 |
the target's include directories & libraries weren't in the search path |
6 |
which caused dependent packages to fail. |
7 |
|
8 |
|
9 |
|
10 |
-----Original Message----- |
11 |
From: Vladimir Pouzanov [mailto:farcaller@×××××.com] |
12 |
Sent: 15 March 2007 11:25 |
13 |
To: gentoo-embedded@l.g.o |
14 |
Subject: Re: [gentoo-embedded] gentoo-embedded buildroot utility |
15 |
|
16 |
On 3/15/07, Natanael Copa <natanael.copa@×××××.com> wrote: |
17 |
> Then in tbz2's you have everything, including doc's, .a files, headers |
18 |
> etc. If you are not going to use this stuff on your end target, why |
19 |
> waste the bandwith? Sure in our part of the world where we have |
20 |
bandwith |
21 |
> this is no big deal but there are part of the world where bandwith |
22 |
still |
23 |
> is expensive and slow. So I wanted to strip this out from the binary |
24 |
> package. |
25 |
|
26 |
One way to partially achieve this is nodoc/noinfo/noman, however it |
27 |
still keeps headers and other garbage. I'm handling it with a |
28 |
converter to my own tbz2-like format, but I use squashfs to store |
29 |
files. Converter also does the job of splitting tbz to several such |
30 |
squashfs files like abc-2.3, abc-2.3-dev, abc-2.3-man, etc. |
31 |
|
32 |
> Then there was the problem with package that needed to create a user |
33 |
or |
34 |
> something like that in pkg_postinst. Calling pkg_postinst would need |
35 |
to |
36 |
> read the ebuild which would require bash + loads of eclasses. It could |
37 |
> also be be very handy to have a hook for executing something specific |
38 |
my |
39 |
> distro. This was also lacking in tbz2. |
40 |
|
41 |
You have to choose between size and flexibility here. Squashfs pack (I |
42 |
really like this format ;) ) of portage/eclass is 429.90Kb. This is |
43 |
not critical for my handheld, however it would be hard to fit same |
44 |
into my router. |
45 |
|
46 |
-- |
47 |
Sincerely, |
48 |
Vladimir "Farcaller" Pouzanov |
49 |
http://hackndev.com |
50 |
-- |
51 |
gentoo-embedded@g.o mailing list |
52 |
|
53 |
|
54 |
-- |
55 |
gentoo-embedded@g.o mailing list |