shell-usage on stage

Reinhard bookreader at gmx.com
Sun Apr 4 08:48:44 PDT 2004


On Saturday 03 April 2004 16:09, Kevin P. Fleming wrote:
> Thomas Pegg wrote:
> > On Sat, 2004-04-03 at 06:59, Reinhard wrote:
> >
> > <snip>
> >
> >>One question to the DTD (cvs):
> >>the stageinfo has the element shell, but it is not used in the official
> >>profiles, when entering chroot-jail.
> >
> > Because that is the CVS DTD it is not in use and won't be until it's
> > released, it will eventually become v3.2 but the current release of
> > nALFS does not have support for the 3.2 syntax only the CVS version does
> > currently.
>
> It's also not necessary; <shell> is only needed if you want your ALFS
> tool to use a shell _other_ than /bin/sh to execute commands, and the
> official profile is just fine using /bin/sh for that. In chapter 5
> that's the host's /bin/sh, and in chapter 6 it's the bash that was built
> during chapter 5 (and no it's not statically linked, it's just a normal
> bash that was installed into /tools and then linked from /bin/sh to
> /tools/bin/bash).

Ok, I was a bit confused, cause using chroot, the path to the shell is from 
outside the chroot-jail and if I understood you right, the stage uses a path 
inside the root ?!?

It wasn't that obvious to me.

Cheers Reinhard




More information about the alfs-discuss mailing list