Files
lfs-7.8/6.all-part-1-root_installing-basic-system.sh
Romain Claret 5eef6c6c5a / checked and fixed up to 6.44
+ errors checker for chapter 6
/ cosmetics
2016-03-10 13:14:07 +01:00

34 lines
837 B
Bash

#!/bin/bash
echo ""
echo "### -------------------------------"
echo "### INSTALLING BASIC SYSTEM ###"
echo "### CHAPTER 6.all ###"
echo "### Installing Basic System Software"
echo "### Must be run as \"root\" user"
echo "### -------------------------------"
echo ""
echo "... Loading commun functions and variables"
if [ ! -f ./script-all_commun-functions.sh ]
then
echo "!! Fatal Error 1: './script-all_commun-functions.sh' not found."
exit 1
fi
source ./script-all_commun-functions.sh
if [ ! -f ./script-all_commun-variables.sh ]
then
echo "!! Fatal Error 1: './script-all_commun-variables.sh' not found."
exit 1
fi
source ./script-all_commun-variables.sh
echo ""
echo "... Validating the environment"
check_partitions
is_user root
./6.2-root_preparing-virtual-kernel.sh
./6.4-root_chroot-environment.sh