Profile syntax for chapter 4

Jason Gurtz jason at tommyk.com
Mon Oct 2 10:24:07 PDT 2000


> > > The next step is mounting the new partition under /mnt/lfs
> > >
> > > Yeah, you can even reverse it: <mount
> > > target="$LFS">$partition</mount>.
> >
> > I like this better
>
> Now that I have had the chance to think about it some more I
> don't agree with
> it. I think we should go with:
> 	<mount device=$partition">$LFS</mount>
>
> This order seems more logical. Also that's how you would usually call the
> mount program: mount <options> partition destination

Yeah, that makes sense for sure

>
> > > So we
> > > have to make up a rule is entered as a tag's parameter and what
> > > is the value
> > > of a tag (the stuff between <blah></blah>)
> >
> > Should the profiler keep track of variables such as these.  I
> mean, we all
> > ready entered what partition we wanted to use above.
>
> I don't understand what you meant to say here.
>

Don't remember myself, must not be important  ;-)

> > I dunno, in cases like this were it is actually a verbatim
> shell script I
> > think it would be better to use a <commands shell="bash">....</commands>
> > set up kinda like <PRE> in HTML
>
> That's an idea to consider yes. But also think what if there is no bash
> available and all we have is the tool and something like python as a
> backend...(the tool could be started by the kernel like:
> 	LILO: lfs init=/sbin/lfs-install-tool
>

Hadn't thought of that case, best then to use XML and let the tool take care
of tranfering to what ever it is.

Cheers,

~Jay

--
+------------------+
| Jason at tommyk.com |
+------------------+


-- 
Unsubscribe: send email to alfs-profile-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the alfs-discuss mailing list