Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: Roy Marples <uberlord@g.o>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] init.d scripts and bash
Date: Fri, 09 Mar 2007 12:59:38
Message-Id: 1173445115.5390.48.camel@localhost
1 On Fri, 2007-03-09 at 11:58 +0000, Roy Marples wrote:
2 > On Fri, 09 Mar 2007 12:51:22 +0100
3 > Natanael Copa <natanael.copa@×××××.com> wrote:
4 >
5 > > On Fri, 2007-03-09 at 01:08 -0800, Ned Ludd wrote:
6 > > > On Fri, 2007-03-09 at 07:39 +0000, Roy Marples wrote:
7 > >
8 > > > > baselayout-2 is pure C (except for the init scripts themselves)
9 > > > > and is nearing the final stage of development before it enters
10 > > > > the tree. It currently works with any shell in portage except for
11 > > > > zsh and ksh. It can work with bb provided that some things are
12 > > > > disabled.
13 > > >
14 > > > Gimme bugs.. I need #'s if I'm going to work toward solving them.
15 > >
16 > > https://bugs.gentoo.org/show_bug.cgi?id=170080
17 > > https://bugs.gentoo.org/show_bug.cgi?id=170081
18 > > https://bugs.gentoo.org/show_bug.cgi?id=170084
19 > > https://bugs.gentoo.org/show_bug.cgi?id=170085
20 > > https://bugs.gentoo.org/show_bug.cgi?id=170087
21 > > https://bugs.gentoo.org/show_bug.cgi?id=170091
22 > > https://bugs.gentoo.org/show_bug.cgi?id=170092
23 > > https://bugs.gentoo.org/show_bug.cgi?id=170093
24 > >
25 > > I have some other patches that fixes modprobe issues with openswan and
26 > > similar. I don't know if is should post those also.
27 >
28 > Could you redo your patches to stop using [[ .. ]] and just [ .. ] so
29 > they work on dash, ash and FreeBSD sh.
30
31 oh... Then the amount of needed patches increase dramatically. [[ works
32 fine in busybox.
33
34 # grep '\[\[' /etc/init.d/* | wc -l
35 535
36
37 I just dumped the patches I already have. It will require too much time
38 to rework them right now but I will do it little by little.
39
40 It would be easier for me if you just post a comment in bugzilla for
41 those who has [[. Then I can fix them one by one.
42
43 > Thanks
44 >
45 > Roy
46
47 btw... I'm very curious of this baselayout-2. where can I download the
48 sources?
49
50 I have my own baselayout and was almost starting with a rewrite in C.
51 http://dev.alpinelinux.org/alpine/alpine-baselayout/
52
53 Natanael Copa
54
55 --
56 gentoo-embedded@g.o mailing list