|
|
|
@ -24,14 +24,14 @@ |
|
|
|
|
#----------------------------------------------------------------------------- |
|
|
|
|
set -o errexit # exit if error...insurance ;) |
|
|
|
|
set -o nounset # exit if variable not initalized |
|
|
|
|
set +h # disable hashall |
|
|
|
|
set +h # disable hashall |
|
|
|
|
#----------------------------------------------------------------------------- |
|
|
|
|
# Common variables |
|
|
|
|
PRGNAME=${0##*/} # Script name minus the path |
|
|
|
|
TOPDIR=${PWD} # This directory |
|
|
|
|
LFS=/mnt/lfs # Where LFS will be installed to |
|
|
|
|
PRGNAME=${0##*/} # Script name minus the path |
|
|
|
|
TOPDIR=${PWD} # This directory |
|
|
|
|
LFS=/mnt/lfs # Where LFS will be installed to |
|
|
|
|
PARENT=/usr/src/LFS-RPM # Where build system wil live |
|
|
|
|
SWAP_FILE_SIZE=1024 # Size of swap file in MB |
|
|
|
|
SWAP_FILE_SIZE=1024 # Size of swap file in MB |
|
|
|
|
#----------------------------------------------------------------------------- |
|
|
|
|
# Common support functions |
|
|
|
|
function die { |
|
|
|
|