Skip to content
Snippets Groups Projects
Commit 4ed80f1e authored by Bob Mottram's avatar Bob Mottram
Browse files

wget in chroot

parent c5f11c93
No related branches found
No related tags found
No related merge requests found
......@@ -66,10 +66,11 @@ function beaglebone_flasher {
if [ "$rootdir" ]; then
# shellcheck disable=SC2086
chroot "$rootdir" $INSTALL_PACKAGES wget rsync
chroot "$rootdir" wget "https://code.freedombone.net/bashrc/${PROJECT_NAME}/raw/master/image_build/emmc_functions.sh" -O "$EMMC_DIR/functions.sh"
else
$INSTALL_PACKAGES wget rsync
wget "https://code.freedombone.net/bashrc/${PROJECT_NAME}/raw/master/image_build/emmc_functions.sh" -O "$rootdir$EMMC_DIR/functions.sh"
fi
wget "https://code.freedombone.net/bashrc/${PROJECT_NAME}/raw/master/image_build/emmc_functions.sh" -O "$rootdir$EMMC_DIR/functions.sh"
fi
fi
if [ ! -f "$rootdir$EMMC_DIR/functions.sh" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment