svn bootscripts

Bruce Dubbs bruce.dubbs at gmail.com
Mon May 30 18:19:17 PDT 2011


Dan Nicholson wrote:
> On Mon, May 30, 2011 at 12:55 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>> DJ Lucas wrote:
>>> On 05/30/2011 12:34 PM, Bruce Dubbs wrote:
>>>> In the latest svn, the bootscripts are lfs-bootscripts-20110424.
>>>>
>>>> I get an error: Â make[1]: /usr/lib/lsb/install_initd: Command not found
>>>>
>>>> This was identified a week ago by xinglp, but I don't see a fix.
>>>>
>>>> Â  Â  -- Bruce
>>> Either need to roll back the inadvertent commit to the bootscripts
>>> tarball job or move forward with the patch I sent in. Let me know if I
>>> should do this.
>> I'd appreciate it if you could do a revert. Â I took a look at the patch
>> and it installs initd-tools as yet another package. Â I looked at the
>> source to initd-tools and I don't understand why we need a C program to
>> do that. Â It could be done in a shell script. That would require some
>> effort to create, but would be much easier to maintain.
>>
>> Perhaps I can try writing the script after the middle of next month. Â We
>> have a big deadline coming up. Â After that, Â I think I've earned about a
>> year of comp time.
> 
> Try writing as a shell script, Bruce. DJ did before and found that my
> C version was much, much faster. Parsing the dependencies and building
> a tree in an interpreted language with no data structures is a
> nightmare. In C it's a linked list of structs. Just my opinion,
> though.

I'll take a look and perhaps I'll come to the same conclusions.  I'm not 
sure speed is the issue though.

   -- Bruce



More information about the lfs-dev mailing list