Issue while appling patch to the android lollipop

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue while appling patch to the android lollipop

530 Views
kishorepoojari
Contributor III

Hello All ,

We are downloaded android source from google repository (android-5.0.2_r1) , try to apply IMX6SL patch to it as per the android user guide.

Development PC OS : Ubuntu 14.04

> source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh

> c_patch /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga

imx_l5.0.0_1.0.0-ga

then the following Error is obtained :

--------------------------------------------------------------------------------

Creating NEW gits - external/linux-lib

mkdir: cannot create directory ‘/home/accord/Android_Source/external/linux-lib’: Permission denied

bash: cd: /home/accord/Android_Source/external/linux-lib: No such file or directory

/home/accord/Android_Source/.git: Permission denied

Error! Fail to git init new git from /home/accord/Android_Source/external/linux-lib

---------------------------------------------------------------------------

If we use sudo permission

>sudo c_patch /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga

imx_l5.0.0_1.0.0-ga

then following Error comes

"sudo: c_patch: command not found "

please help me sort out this issue , guide us how to apply patches to android source.

Note:

c_patch function is available (Is verified by using help cmd)

Regards,

Kishore P

Labels (3)
2 Replies

347 Views
jamesbone
NXP TechSupport
NXP TechSupport

We will provide response as soon as possible we are discussing the issue internally.

0 Kudos

347 Views
kishorepoojari
Contributor III

Hello Jamesnone,

    We got the solution for above problem ,  we given Read and write access for Android_Source Directory and  Execution permission for patch (Android BSP) directory.

Regards,

Kishore P