[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


           Summary: create a xml file with chroot commands in it
           Product: Linux From Scratch
           Version: 3.0-pre2
          Platform: PC
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          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:

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

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