progress
This commit is contained in:
parent
fa6c78cf37
commit
359b473826
3
main.sh
3
main.sh
|
@ -8,6 +8,7 @@ main="/tmp/vinstall"
|
||||||
target="${main}/target"
|
target="${main}/target"
|
||||||
tmp_target="${main}/tmp_target"
|
tmp_target="${main}/tmp_target"
|
||||||
vars="${target}/tmp/vinstaller/vars"
|
vars="${target}/tmp/vinstaller/vars"
|
||||||
|
files="${main}/files"
|
||||||
|
|
||||||
if [ "${DEBUG}" ]; then
|
if [ "${DEBUG}" ]; then
|
||||||
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
||||||
|
@ -253,6 +254,8 @@ do_chroot() {
|
||||||
cp -rf "${tmp_target}" "${target}/tmp/vinstaller/run"
|
cp -rf "${tmp_target}" "${target}/tmp/vinstaller/run"
|
||||||
|
|
||||||
mkdir -p "${target}/tmp/vinstaller/files"
|
mkdir -p "${target}/tmp/vinstaller/files"
|
||||||
|
cp -rf "${files}/*" "${target}/tmp/vinstaller/files"
|
||||||
|
|
||||||
|
|
||||||
echo "USERNAME=${USERNAME}" > "${vars}"
|
echo "USERNAME=${USERNAME}" > "${vars}"
|
||||||
echo "PASS=${PASS}" >> "${vars}"
|
echo "PASS=${PASS}" >> "${vars}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user