From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from <gentoo-embedded+bounces-1590-garchives=archives.gentoo.org@gentoo.org>) id 1HPeh7-0006YF-Tb for garchives@archives.gentoo.org; Fri, 09 Mar 2007 12:59:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l29CwhJS006432; Fri, 9 Mar 2007 12:58:43 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l29Cwcek006410 for <gentoo-embedded@lists.gentoo.org>; Fri, 9 Mar 2007 12:58:39 GMT Received: by ug-out-1314.google.com with SMTP id z38so1401211ugc for <gentoo-embedded@lists.gentoo.org>; Fri, 09 Mar 2007 04:58:38 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Xs27rZ5NaBRKzwPZKYl8yn+C8tkjq5oII+z+l69S/EyEjEl9t49icNSRFhzdxghnMlfQ67ckCkoY+P6Q+Xx6Gmz03EcvQhT/Eq2eQCcetM3KMi+Tdcs6SSpcp6KsMGPq9JTe0wa0F63AdoVklAWr/wHp7SZLv/YOoePiatto2zU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=nTsGG9uLdJe+EuqyBQyv9Y5RI+4Xg1UiPloQW5rxlJnJyTbzfEgYm1VW2suDz4h7qpboinfyq72OE3TXrqn1RX8Djot/SQCNsCJQLgEvljgDrxR0hUR7HNTwCO5ekv/xZ/kA5FFvaqi74+r7bAINqAiVo+NyLGBMWOShq2zMbgU= Received: by 10.66.244.10 with SMTP id r10mr9517361ugh.1173445118061; Fri, 09 Mar 2007 04:58:38 -0800 (PST) Received: from ?192.168.65.211? ( [213.234.126.134]) by mx.google.com with ESMTP id z34sm6855536ikz.2007.03.09.04.58.36; Fri, 09 Mar 2007 04:58:37 -0800 (PST) Subject: Re: [gentoo-embedded] init.d scripts and bash From: Natanael Copa <natanael.copa@gmail.com> To: Roy Marples <uberlord@gentoo.org> Cc: gentoo-embedded@lists.gentoo.org In-Reply-To: <20070309115825.52cd9d73@uberlaptop> References: <1173369604.5480.20.camel@localhost> <1173398450.31695.26.camel@onyx.private.gni.com> <20070309073937.154cff79@uberpc.marples.name> <1173431305.6147.12.camel@here.linbsd.net> <1173441082.5390.28.camel@localhost> <20070309115825.52cd9d73@uberlaptop> Content-Type: text/plain Date: Fri, 09 Mar 2007 13:58:35 +0100 Message-Id: <1173445115.5390.48.camel@localhost> Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0e158e14-c62d-4e0d-9066-755534924138 X-Archives-Hash: 0c94b7d1b30664bad099e6a02d40111a On Fri, 2007-03-09 at 11:58 +0000, Roy Marples wrote: > On Fri, 09 Mar 2007 12:51:22 +0100 > Natanael Copa <natanael.copa@gmail.com> wrote: > > > On Fri, 2007-03-09 at 01:08 -0800, Ned Ludd wrote: > > > On Fri, 2007-03-09 at 07:39 +0000, Roy Marples wrote: > > > > > > baselayout-2 is pure C (except for the init scripts themselves) > > > > and is nearing the final stage of development before it enters > > > > the tree. It currently works with any shell in portage except for > > > > zsh and ksh. It can work with bb provided that some things are > > > > disabled. > > > > > > Gimme bugs.. I need #'s if I'm going to work toward solving them. > > > > https://bugs.gentoo.org/show_bug.cgi?id=170080 > > https://bugs.gentoo.org/show_bug.cgi?id=170081 > > https://bugs.gentoo.org/show_bug.cgi?id=170084 > > https://bugs.gentoo.org/show_bug.cgi?id=170085 > > https://bugs.gentoo.org/show_bug.cgi?id=170087 > > https://bugs.gentoo.org/show_bug.cgi?id=170091 > > https://bugs.gentoo.org/show_bug.cgi?id=170092 > > https://bugs.gentoo.org/show_bug.cgi?id=170093 > > > > I have some other patches that fixes modprobe issues with openswan and > > similar. I don't know if is should post those also. > > Could you redo your patches to stop using [[ .. ]] and just [ .. ] so > they work on dash, ash and FreeBSD sh. oh... Then the amount of needed patches increase dramatically. [[ works fine in busybox. # grep '\[\[' /etc/init.d/* | wc -l 535 I just dumped the patches I already have. It will require too much time to rework them right now but I will do it little by little. It would be easier for me if you just post a comment in bugzilla for those who has [[. Then I can fix them one by one. > Thanks > > Roy btw... I'm very curious of this baselayout-2. where can I download the sources? I have my own baselayout and was almost starting with a rewrite in C. http://dev.alpinelinux.org/alpine/alpine-baselayout/ Natanael Copa -- gentoo-embedded@gentoo.org mailing list