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"
|
||||
tmp_target="${main}/tmp_target"
|
||||
vars="${target}/tmp/vinstaller/vars"
|
||||
files="${main}/files"
|
||||
|
||||
if [ "${DEBUG}" ]; then
|
||||
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"
|
||||
|
||||
mkdir -p "${target}/tmp/vinstaller/files"
|
||||
cp -rf "${files}/*" "${target}/tmp/vinstaller/files"
|
||||
|
||||
|
||||
echo "USERNAME=${USERNAME}" > "${vars}"
|
||||
echo "PASS=${PASS}" >> "${vars}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user