From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3CGfGdv001191 for ; Tue, 12 Apr 2005 16:41:17 GMT Received: (qmail 31635 invoked by uid 210); 12 Apr 2005 12:40:40 -0400 Received: from 10.10.10.188 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/820. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(10.10.10.188):. Processed in 0.0749109999999999 secs); 12 Apr 2005 16:40:40 -0000 Received: from unknown (HELO ?10.10.10.188?) (10.10.10.188) by 0 with RC4-MD5 encrypted SMTP; 12 Apr 2005 12:40:39 -0400 Subject: Re: [gentoo-embedded] emerge/tbz2pkg for busybox From: Ned Ludd To: Natanael Copa Cc: gentoo-embedded@lists.gentoo.org In-Reply-To: <1113313173.15836.61.camel@nc> References: <1110902754.19237.12.camel@nc> <1113063471.13388.3.camel@localhost> <1113313173.15836.61.camel@nc> Content-Type: text/plain Date: Tue, 12 Apr 2005 12:40:11 -0400 Message-Id: <1113324011.25607.41.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: e38cb8fe-0f74-43be-930f-fa1028ee9a16 X-Archives-Hash: ece5276fb673cb6266e0dc211443cc4e On Tue, 2005-04-12 at 15:39 +0200, Natanael Copa wrote: > On Sat, 2005-04-09 at 12:17 -0400, Ned Ludd wrote: > > Hi guys.. checking in. Are we feeling these two applets (tgz2pkg/emerge) > > are getting close to being ready for use yet? Or have we stalled? > > Waiting on me for anything? > > I'm sorry. I almost forgot this. > > I have sent the (almost) complete tbz2pkg to Benjamin. There were some > cleanup needed so they shared the data. Last thing I heard from Benjamin > was that I'm more or less done with my part. Ok thanks for the update. Hopefully we will hear from him soon, not sure if the not having a public CVS for you both to work within has been a problem or if he's just been real busy. > There is one thing that concerns me though... > > Preistall/postinstall scripts. I think we will depend on having scripts > attatched to the packages that could be executed (for creating users, > handling updates etc...) > > Any idea on how this could be handled? sadly no I do not. have any creative ideas on how to handle this part other than reviewing, trial and error while testing the ebuilds 1 at a time. Some for example will have bash only commands and expressions in the pkg_postinst(), pkg_preinst() that's going to fsck our worlds up. In such cases I see no way around that other than to provide our own init script and sometimes conf.d/init.d replacements. iggy has been working on the backend for the baselayout-lite as _pre2 and should have a bit of the framework we will want for our scripts in place. If you all done with the tbz2 tool perhaps you could check that out and help there towards pre3 with how the other new tools will play in if you are still wanting to pitch in and help. :) Side for those that think smaller is better and I don't know where else to say this. But if your not using java and will never be on your embedded devices you can save about an extra 48 bytes per every ELF DY_DYN and ET_EXEC file by stripping the .jcr section. So together with the .comment and .jcr you can save about ~300 bytes. # grep STRIP /etc/make.conf PORTAGE_STRIP_FLAGS="--strip-unneeded -R .note -R .comment -R .jcr" -- Ned Ludd -- gentoo-embedded@gentoo.org mailing list