This commit is contained in:
teldra 2022-02-08 20:57:04 +01:00
parent fa6c78cf37
commit 359b473826

View File

@ -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}"