Ubuntu 14.04 使用的一些笔记

1. 今天下载了安卓的2.3.5的源代码,解压tar的时候,发现一个错误中断了解压过程: could not create the hard link file, 看了一下基本上都是每个主目录下的 .git 子目录,用过git 知道只是git的本地仓库,然后仔细看看 tar 命令的说明,发现 --exculude 选项,然用用下面的命令解压成功:

  sudo tar -xf Android_Kernel.tar --exclude */.git -C /opt/android/sources

把我找到源码下载的链接一并附上: http://blog.csdn.net/ilittleone/article/details/6823441

  

posted @ 2015-08-29 21:09  zengsiyu  阅读(208)  评论(0编辑  收藏  举报