Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: Natanael Copa <mlists@××××××.org>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] emerge/tbz2pkg for busybox
Date: Tue, 12 Apr 2005 16:41:17
Message-Id: 1113324011.25607.41.camel@localhost
In Reply to: Re: [gentoo-embedded] emerge/tbz2pkg for busybox by Natanael Copa
1 On Tue, 2005-04-12 at 15:39 +0200, Natanael Copa wrote:
2 > On Sat, 2005-04-09 at 12:17 -0400, Ned Ludd wrote:
3 > > Hi guys.. checking in. Are we feeling these two applets (tgz2pkg/emerge)
4 > > are getting close to being ready for use yet? Or have we stalled?
5 > > Waiting on me for anything?
6 >
7 > I'm sorry. I almost forgot this.
8 >
9 > I have sent the (almost) complete tbz2pkg to Benjamin. There were some
10 > cleanup needed so they shared the data. Last thing I heard from Benjamin
11 > was that I'm more or less done with my part.
12
13 Ok thanks for the update. Hopefully we will hear from him soon, not
14 sure if the not having a public CVS for you both to work within has
15 been a problem or if he's just been real busy.
16
17 > There is one thing that concerns me though...
18 >
19 > Preistall/postinstall scripts. I think we will depend on having scripts
20 > attatched to the packages that could be executed (for creating users,
21 > handling updates etc...)
22 >
23
24 > Any idea on how this could be handled?
25
26 sadly no I do not. have any creative ideas on how to handle this part
27 other than reviewing, trial and error while testing the ebuilds 1 at a
28 time. Some for example will have bash only commands and expressions in
29 the pkg_postinst(), pkg_preinst() that's going to fsck our worlds up.
30 In such cases I see no way around that other than to provide our own
31 init script and sometimes conf.d/init.d replacements.
32
33 iggy has been working on the backend for the baselayout-lite as _pre2
34 and should have a bit of the framework we will want for our scripts in
35 place. If you all done with the tbz2 tool perhaps you could check that
36 out and help there towards pre3 with how the other new tools will play
37 in if you are still wanting to pitch in and help. :)
38
39 Side for those that think smaller is better and I don't know where else
40 to say this. But if your not using java and will never be on your
41 embedded devices you can save about an extra 48 bytes per every
42 ELF DY_DYN and ET_EXEC file by stripping the .jcr section.
43 So together with the .comment and .jcr you can save about ~300 bytes.
44
45 # grep STRIP /etc/make.conf
46 PORTAGE_STRIP_FLAGS="--strip-unneeded -R .note -R .comment -R .jcr"
47
48 --
49 Ned Ludd <solar@g.o>
50
51 --
52 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] emerge/tbz2pkg for busybox "Peter S. Mazinger" <ps.m@×××.net>