zoukankan      html  css  js  c++  java
  • Android repo 学习参考

    /***************************************************************************
     *                       Android repo 学习参考
     * 说明:
     *     首先是由于源代码拷贝的问题,将原来的repo源码丢失了,顺便看一下作为使用
     * 者,对repo需要掌握到哪些东西。
     *
     *                                      2017-2-6 深圳 南山平山村 曾剑锋
     **************************************************************************/
    
    一、参考文档:
        1. Git和Repo管理使用简要介绍
            http://blog.csdn.net/stevenhu_223/article/details/8828130
        2. 4.6. Android式多版本库协同
            http://www.worldhello.net/gotgit/04-git-model/060-android-model.html
        3. 实例--建立简单的repo服务器 && manifest 框架
            http://blog.csdn.net/guan506713512/article/details/16340129
        4. manifest-format.txt
            https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.txt
    
    二、找回原版本repo源代码:
        1. 获取源代码:curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
        2. 测试repo命令,查看repo分支:
            zengjf@zengjf:~/myandroid$ repo branch
    
            ... A new repo command ( 1.23) is available.
            ... You should upgrade soon:
    
                cp /home/zengjf/myandroid/.repo/repo/repo /home/zengjf/bin/repo
        3. 找回repo命令:cp /home/zengjf/myandroid/.repo/repo/repo /home/zengjf/bin/repo
    
    三、查看branch分支情况:
        zengjf@zengjf:~/myandroid$ repo branch
        *  imx_L5.1.1_2.1.0-ga       | in:
                                           bionic
                                           bootable/recovery
                                           build
                                           dalvik
                                           external/aac
                                           external/bluetooth/bluedroid
                                           external/dnsmasq
                                           external/kernel-headers
                                           external/libpng
                                           external/libselinux
                                           external/linux-tools-perf
                                           external/ppp
                                           external/skia
                                           external/sonivox
                                           external/tinyalsa
                                           external/tremolo
                                           external/wpa_supplicant_8
                                           frameworks/av
                                           frameworks/base
                                           frameworks/native
                                           frameworks/opt/net/ethernet
                                           frameworks/opt/telephony
                                           frameworks/webview
                                           hardware/broadcom/libbt
                                           hardware/broadcom/wlan
                                           hardware/libhardware
                                           hardware/libhardware_legacy
                                           hardware/qcom/wlan
                                           hardware/ril
                                           libcore
                                           packages/apps/Browser
                                           packages/apps/Camera2
                                           packages/apps/zengjfClock
                                           packages/apps/Email
                                           packages/apps/Gallery
                                           packages/apps/Gallery2
                                           packages/apps/Launcher2
                                           packages/apps/LegacyCamera
                                           packages/apps/Settings
                                           packages/apps/SoundRecorder
                                           packages/wallpapers/MusicVisualization
                                           system/core
                                           system/extras
                                           system/netd
                                           system/vold
        zengjf@zengjf:~/myandroid$ 
  • 相关阅读:
    uptime---系统总共运行时间和系统的平均负载
    top---实时动态地查看系统的整体运行情况
    dmesg---检查和控制内核的环形缓冲区
    sysctl---内核参数相关设置
    C++笔记011:C++对C的扩展——变量检测增强
    C++笔记010:C++对C的扩展——register关键字增强
    C++笔记009:C++对C的扩展——“实用性”增加
    C++笔记008:C++对C的扩展——命名空间 namespace基础
    C++笔记007:易犯错误模型——类中为什么需要成员函数
    C++笔记006:关于类的补充
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/6369906.html
Copyright © 2011-2022 走看看