#40 closed defect (fixed)
create a xml file with chroot commands in it
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Book | Version: | 3.0-pre2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Change History (2)
comment:1 by , 24 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 24 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Added intel/chapter6/chrootcmd.xml bash-inst.xml, chroot.xml, glibc-inst.xml and m4-inst.xml use include this now.

I've assigned it to me, but I won't be doing this right away. I'll get to it in an hour or two.