Merge branch 'master' of https://github.com/baho-utot/LFS-RPM
This commit is contained in:
commit
23ada5ad5e
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Title: installer.sh
|
# Title: installer.sh
|
||||||
# Date: 2018-09-09
|
# Date: 2019-05-22
|
||||||
# Version: 1.0
|
# Version: 1.0
|
||||||
# Author: baho-utot@columbus.rr.com
|
# Author: baho-utot@columbus.rr.com
|
||||||
# Options:
|
# Options:
|
||||||
@ -116,7 +116,7 @@ cat > ${ROOTPATH}/tmp/script.sh <<- EOF
|
|||||||
pushd /usr/share/info
|
pushd /usr/share/info
|
||||||
rm -v dir
|
rm -v dir
|
||||||
for f in *; do
|
for f in *; do
|
||||||
install-info ${f} dir 2>/dev/null
|
install-info "${f}" dir 2>/dev/null
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
pushd /boot
|
pushd /boot
|
||||||
@ -137,7 +137,7 @@ chmod +x ${ROOTPATH}/tmp/script.sh
|
|||||||
chroot ${ROOTPATH} /usr/bin/env -i \
|
chroot ${ROOTPATH} /usr/bin/env -i \
|
||||||
HOME=/root \
|
HOME=/root \
|
||||||
TERM="${TERM}" \
|
TERM="${TERM}" \
|
||||||
PS1='(intsaller) \u:\w:\$' \
|
PS1='(installer) \u:\w:\$' \
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
|
||||||
/bin/bash --login -c 'cd /tmp;./script.sh'
|
/bin/bash --login -c 'cd /tmp;./script.sh'
|
||||||
_end_run
|
_end_run
|
||||||
|
Loading…
Reference in New Issue
Block a user