Extract Qualcomm's latest code patch

Source: Internet
Author: User

For high pass, it will be updated in a period of timeCode. Our development warehouse cannot be directly merged with Qualcomm code.

Then we need to extract the patches for this time period, then let's see which updates are available, and then consider whether to merge or not.

Give me a rough idea

First repo init-u xxx-B branch-name -- mirror

Modify the address in platform/manifest. Git to a local address.

Download the local code to the new directory.

Generate patch

Repo forall-C git format-patch tag1.. tag2

Extract patch

There are the following scripts

#! /Bin/bashmkdir patch
# TMP = $ (basename $ ver) for I in 'Find. -Name "*. patch "'do # echo $ I # dirnew = $ (dirname $ I) # mkdir patch/$ I # rm-RF $ I cp -- parents $ I. /patch/# echo "CP $ I done ..... "doneexit 0

After that, all the patches will be under the patch directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.