I'm currently trying to create a custom mLinux Image and I'm following the instructions from this website: http://www.multitech.net/developer/software/mlinux/mlinux-building-images/building-a-custom-linux-image/
I followed them and everything worked until this point.
When i'm trying to run the setup file (including this code:
set -e
BUILDCONF=build/conf/local.conf
if [ "$1" != "--update" ]; then
echo ""
echo "Setting up git hooks..."
ln -s ../../scripts/git-hooks/post-merge .git/hooks/post-merge || true
ln -s ../../scripts/git-hooks/post-checkout .git/hooks/post-checkout ||
true
ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit || true
ln -s ../../scripts/git-hooks/pre-push .git/hooks/pre-push || true
fi
echo ""
echo "Updating git submodules..."
git submodule update --init
)
I get the following Error Message for each of the Hooks: Shortcut .gt/hooks/(name of the hook) could not be created: file or directory not found (translated from German). Additionally also: git: submodule is not a command. Has anybody got an idea, what I could have forgotten/ what is wrong?
Thank you in Advance!