http://www.multitech.net/developer/software/mlinux/mlinux-building-images/building-a-custom-linux-image/
我跟着他们,直到现在一切都正常。
当我试图运行安装文件时(包括以下代码:
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
)
无法创建Shortcut.gt/hooks/(钩子的名称):找不到文件或目录(从德语翻译)。
另外:git:submodule不是命令。
提前谢谢你!