[lfs-dev] 7.9 & dev: extraneous markup - kernel headers pages.

akhiezer lfs65 at cruziero.com
Fri Apr 8 11:33:49 PDT 2016


> From: Bruce Dubbs <bruce.dubbs at gmail.com>
> Date: Fri, 8 Apr 2016 12:14:32 -0500
> Subject: Re: [lfs-dev] 7.9 & dev: extraneous markup - kernel headers pages.
>
> akhiezer wrote:
> >
> > lfs 7.9 & svn-20160407 : ch.5 & ch.6 'linux-headers' pages have a
> > bit of extraneous markup for commands, that doesn't follow practice
> > in rest of book.
> >
> > Example:
> > ====
> > * http://www.linuxfromscratch.org/lfs/view/stable/chapter05/linux-headers.html
> >
> >    Rendered txt:
> >
> >      make INSTALL_HDR_PATH=dest headers_install
> >      cp -rv dest/include/* /tools/include
> >
> >    Corresp html (~~de-fanged):
> >
> >          [pre class="userinput"]
> > [kbd class="command"]make INSTALL_HDR_PATH=dest headers_install
> > [/kbd][kbd class="command"]cp -rv dest/include/* /tools/include[/kbd]
> > [/pre]
> > ====
> > Each command is wrapped in its own [kbd] tag: whereas the book appears
> > to follow the general practice of only using one [kbd] tag-pair for
> > the cmd-block.
>
> The source is:
>
> <screen><userinput remap="make">make INSTALL_HDR_PATH=dest 
> headers_install</userinput><userinput remap="install">cp -rv 
> dest/include/* /tools/include</userinput></screen>
>
> The reason is that we use jhalfs to extract the first
> <userinput remap="make"> as a non privileged command and the <userinput 
> remap="install"> as privileged.
>
> I suppose that this is not needed since everything in Chapter 5 is done as 
> user lfs and as root in Chapter 6.
>
> Looking at the output in a browser, I can't tell the difference.  Why is 
> this a problem?
>


The intent is pro-actively keeping src consistent, removing not-needed,
now-inconsistent cruft.



akh





--


More information about the lfs-dev mailing list