9.1 #1
10
setup.sh
10
setup.sh
@ -24,14 +24,14 @@
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
set -o errexit # exit if error...insurance ;)
|
set -o errexit # exit if error...insurance ;)
|
||||||
set -o nounset # exit if variable not initalized
|
set -o nounset # exit if variable not initalized
|
||||||
set +h # disable hashall
|
set +h # disable hashall
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Common variables
|
# Common variables
|
||||||
PRGNAME=${0##*/} # Script name minus the path
|
PRGNAME=${0##*/} # Script name minus the path
|
||||||
TOPDIR=${PWD} # This directory
|
TOPDIR=${PWD} # This directory
|
||||||
LFS=/mnt/lfs # Where LFS will be installed to
|
LFS=/mnt/lfs # Where LFS will be installed to
|
||||||
PARENT=/usr/src/LFS-RPM # Where build system wil live
|
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
|
# Common support functions
|
||||||
function die {
|
function die {
|
||||||
|
Loading…
Reference in New Issue
Block a user