#!/bin/bash
LFS="/mnt/lfs"
POOL="/usr/lib/lfs-install/lfs-commands-3.3"

chroot $LFS $POOL/chapter6/configuring_vim
chroot $LFS $POOL/chapter6/configuring_glibc
chroot $LFS $POOL/chapter6/configuring_dynamic_loader
chroot $LFS $POOL/chapter6/configuring_sysklogd
chroot $LFS $POOL/chapter6/configuring_shadow_password
chroot $LFS $POOL/chapter6/configuring_sysvinit
chroot $LFS $POOL/chapter6/creating_var_run
chroot $LFS $POOL/chapter6/creating_root_password
chroot $LFS $POOL/chapter7/configuring_setlock_script
chroot $LFS $POOL/chapter7/configuring_localnet_script
chroot $LFS $POOL/chapter7/creating_etc_hosts
chroot $LFS $POOL/chapter8/creating_etc_fstab
chroot $LFS $POOL/chapter8/linux-2.4.18
cd ../../lfs-commands-3.3/chapter8
./making_lfs_system_bootable
cd ../chapter9
./the_end
