update scripts for 9.1
This commit is contained in:
17
cleanup.sh
17
cleanup.sh
@@ -1,11 +1,12 @@
|
||||
#!/bin/bash
|
||||
#-----------------------------------------------------------------------------
|
||||
# Title: cleanup.sh
|
||||
# Date: 2019-05-22
|
||||
# Version: 1.0
|
||||
# Author: baho-utot@columbus.rr.com
|
||||
# Date: 2020-05-31
|
||||
# Version: 2.0
|
||||
# Author: chris@cromer.cl
|
||||
# Options:
|
||||
#-----------------------------------------------------------------------------
|
||||
# Copyright 2020 Chris Cromer
|
||||
# Copyright 2019 Baho Utot
|
||||
#-----------------------------------------------------------------------------
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
@@ -21,8 +22,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#-----------------------------------------------------------------------------
|
||||
# Dedicated to Elizabeth my cat of 20 years, Euthanasia on 2019-05-16
|
||||
#-----------------------------------------------------------------------------
|
||||
# This script removes changes made to the host system and
|
||||
# also removes the build tool chain chapter 5 packages as they are no
|
||||
# longer needed. It will also unmount the /mnt/lfs filesystem
|
||||
@@ -31,11 +30,11 @@ set -o errexit # exit if error...insurance ;)
|
||||
set -o nounset # exit if variable not initalized
|
||||
set +h # disable hashall
|
||||
#-----------------------------------------------------------------------------
|
||||
PRGNAME=${0##*/} # script name minus the path
|
||||
LFS=/mnt/lfs # build area
|
||||
PRGNAME=${0##*/} # script name minus the path
|
||||
LFS=/mnt/lfs # build area
|
||||
TOOLCHAIN="${LFS}/tools" # tool chain directory
|
||||
LINK=/tools # tool chain symlink
|
||||
USER=lfs # build user
|
||||
LINK=/tools # tool chain symlink
|
||||
USER=lfs # build user
|
||||
#-----------------------------------------------------------------------------
|
||||
function die() {
|
||||
local _red="\\033[1;31m"
|
||||
|
Reference in New Issue
Block a user