diff options
-rwxr-xr-x | lfs.sh | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -71,16 +71,16 @@ fi # Create limited directory layout if [[ ! -f "${LFS}"/sources/limited ]]; then -+ mkdir -p "${LFS}"/sources -+ mkdir -p "${LFS}"/tools -+ mkdir -p "${LFS}"/bin -+ mkdir -p "${LFS}"/etc -+ mkdir -p "${LFS}"/lib -+ mkdir -p "${LFS}"/sbin -+ mkdir -p "${LFS}"/usr -+ mkdir -p "${LFS}"/var -+ touch "${LFS}"/sources/limited -+fi + mkdir -p "${LFS}"/sources + mkdir -p "${LFS}"/tools + mkdir -p "${LFS}"/bin + mkdir -p "${LFS}"/etc + mkdir -p "${LFS}"/lib + mkdir -p "${LFS}"/sbin + mkdir -p "${LFS}"/usr + mkdir -p "${LFS}"/var + touch "${LFS}"/sources/limited +fi case $(uname -m) in x86_64) mkdir -p "${LFS}"/lib64 ;; @@ -174,7 +174,9 @@ if [[ "$retval" -eq 0 ]]; then printf "%b" "\n${IWHT}======= ${IYLW}Chapter 7 ${IGRN}Cleanup and Backup \ ${IWHT}=======${RST}\n" + # shellcheck source=chapter7/cleanup.sh source "${LFS}"/sources/chapter7/cleanup.sh + # shellcheck source=chapter7/backup.sh source "${LFS}"/sources/chapter7/backup.sh else exit "$retval" |