[poky] Installing GDB or the saga of getting RPM/Zypp to run on JFFS2
Holger Hans Peter Freyther
holger at freyther.de
Sat Jul 2 14:09:41 PDT 2011
On 07/01/2011 03:44 PM, Mark Hatle wrote:
>> f) The size of zypper
>> > libzypp is a _huge_ library, did anyone look into shrinking it? maybe
>> > by making zypper link statically to it? Did anyone look into the alternatives
>> > like SMART?
> zypper is somewhat of a pig. Again this wasn't really designed for really small
> systems.
>
> I've used smart in the past, it's worth looking into... but it's been a lack of
> time. (Plus smart, at least used to, require python.. which itself is a pig, if
> you don't already need python.)
>
Hi again,
I looked a bit around and I found:
- zypper
- SMART
- yum
- apt-rpm
zypper/libzypp:
- I tried to produce a static libzypp and hoped the compiler would
make it small, but I ended up in unresolved symbols in zypper and
didn't feel like continuing (and using -Wl,--begin-group.. )
SMART:
- Oh, I assume that the python installation needed will bringt it to
the ballpark of libzypp/zypper
yum:
- It is slow on my laptop, it will not fly on a 300Mhz device..
apt-rpm:
- I stumbled over a port for rpm 5.x (rpm is such a mess), it
compiles (after patching out a json dependency, for a library
using Scons, highlighting broken scons support).
- Even with things in the package we don't need the installed size
is < 2MB
- genbasedir requires our RPMs to be in RPMS.all/, RPMS.armv5te/
format... and it is segfaulting.
- I have attached my current bb file (against my companies bblayer)
anyone wants to jump in with trying to get apt-rpm to replace zypper? The
net-saving will be probably around 5-6MB...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: apt_rpm
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110702/53f0cf04/attachment.ksh>
More information about the poky
mailing list