[Bug 40] New: create a xml file with chroot commands in it

bugzilla at shadowfax.linuxfromscratch.org bugzilla at shadowfax.linuxfromscratch.org
Sat May 12 11:30:48 PDT 2001


http://bugs.linuxfromscratch.org/show_bug.cgi?id=40

           Summary: create a xml file with chroot commands in it
           Product: Linux From Scratch
           Version: 3.0-pre2
          Platform: PC
               URL:
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: gerard at linuxfromscratch.org


If we change the command used to enter chroot, we have to go into three files
right now to make that change. That's a pain. Create a file called
chroot-cmd.xml containing:

<blockquote><literallayout>
        <userinput>cd $LFS &&</userinput>
        <userinput>chroot $LFS /usr/bin/env -i HOME=/root
                \</userinput>
        <userinput>   TERM=$TERM /bin/bash --login</userinput>
</literallayout></blockquote>

And that's it. Those commands don't appear on a page by itself so we don't need
to add <sect> and stuff to it.





More information about the lfs-book mailing list