progress
This commit is contained in:
parent
66dbcd8289
commit
b34f585d7f
4
main.sh
4
main.sh
|
@ -242,13 +242,15 @@ do_chroot() {
|
|||
echo "TARGETNAME_UNDERSCORE=$TARGETNAME_UNDERSCORE" >> ${target}/tmp/vinstaller/vars
|
||||
|
||||
cat <<EOF > ${target}/tmp/vinstaller/main_chroot
|
||||
#!/bin/bash
|
||||
. /tmp/vinstaller/vars
|
||||
for file in \$(find /tmp/vinstaller/run -type f); do
|
||||
. $file
|
||||
config
|
||||
done
|
||||
EOF
|
||||
|
||||
chmod +x /tmp/vinstaller/main_chroot
|
||||
chroot ${target} /tmp/vinstaller/main_chroot
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user