summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-06-02 15:54:34 -0500
committerJohn Klug <john.klug@multitech.com>2023-06-02 15:54:34 -0500
commit6e18f1c283c2a9ba9fddd31ae97f40337cc374ab (patch)
tree5bbcf8c896dc793d5e8294bf44a6390f2e148685
parentc033333b2ac1d68324a6b7875b0ea3f853cb2821 (diff)
downloadmlinux-6e18f1c283c2a9ba9fddd31ae97f40337cc374ab.tar.gz
mlinux-6e18f1c283c2a9ba9fddd31ae97f40337cc374ab.tar.bz2
mlinux-6e18f1c283c2a9ba9fddd31ae97f40337cc374ab.zip
Correct documentation issues in setup.sh
-rwxr-xr-xsetup.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/setup.sh b/setup.sh
index c0b6230..e271e4f 100755
--- a/setup.sh
+++ b/setup.sh
@@ -94,18 +94,21 @@ fi
echo ""
echo "Setup Done."
echo ""
-echo "oe-init-build-env will set the current directory to build"
-echo "One must be within the build tree to run bitbake."
+echo "oe-init-build-env will configure the environment."
+echo "Due to recent security changes in git, you must configure"
+echo "the OEROOT directory as a safe directory."
echo ""
echo "To build mlinux-base-image:"
echo " source oe-init-build-env"
-echo " machine=mtcdt bitbake mlinux-base-image"
+echo " git config --global --add safe.directory $OEROOT"
+echo " MACHINE=mtcdt bitbake mlinux-base-image"
echo " or (requires Redpine sources)"
-echo " machine=mtcdt bitbake mlinux-commisioning-image"
+echo " MACHINE=mtcdt bitbake mlinux-commissioning-image"
echo ""
echo "To build mlinux-mtcap-image:"
echo " source oe-init-build-env"
+echo " git config --global --add safe.directory $OEROOT"
echo " MACHINE=mtcap bitbake mlinux-mtcap-image"
echo " or"
-echo " MACHINE=mtcap bitbake mlinux-mtcap-commisioning-image"
+echo " MACHINE=mtcap bitbake mlinux-mtcap-commissioning-image"