|
我是根据Sady的教程进行的:https://www.right.com.cn/forum/thread-53623-1-1.html
编译时出现了错误:
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# git checkout origin/Toastman-RT
Checking out files: 100% (91800/91800), done.
Note: checking out 'origin/Toastman-RT'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 9ae63fc... Little tidy-ups
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# git checkout -b origin/Toastman-RT
Switched to a new branch 'origin/Toastman-RT'
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# sudo rm -rf ~/tomato_git/tomato
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# tar zxvf ~/tomato_git/tomato.tar.gz .
tar (child): /home/zhangkai/tomato_git/tomato.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# cd ~/tomato_git/tomato/release/src-rt/linux-2.6
bash: cd: /home/zhangkai/tomato_git/tomato/release/src-rt/linux-2.6: 没有那个文件或目录
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# cd ~/tomato_git/tomato/release/src
bash: cd: /home/zhangkai/tomato_git/tomato/release/src: 没有那个文件或目录
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# sudo rm -rf ~/tomato_git/tomato
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# tar zxvf ~/tomato_git/tomato.tar.gz .
tar (child): /home/zhangkai/tomato_git/tomato.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
之后我又看了网上有位仁兄出现了类似的问题似乎https://www.right.com.cn/forum/thread-78363-1-1.html
但又和我的问题不完全一样,请懂的大神指导一下,谢谢啦 |
|