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
|
echo "TARGETNAME_UNDERSCORE=$TARGETNAME_UNDERSCORE" >> ${target}/tmp/vinstaller/vars
|
||||||
|
|
||||||
cat <<EOF > ${target}/tmp/vinstaller/main_chroot
|
cat <<EOF > ${target}/tmp/vinstaller/main_chroot
|
||||||
|
#!/bin/bash
|
||||||
. /tmp/vinstaller/vars
|
. /tmp/vinstaller/vars
|
||||||
for file in \$(find /tmp/vinstaller/run -type f); do
|
for file in \$(find /tmp/vinstaller/run -type f); do
|
||||||
. $file
|
. $file
|
||||||
config
|
config
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
chmod +x /tmp/vinstaller/main_chroot
|
||||||
|
chroot ${target} /tmp/vinstaller/main_chroot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user