Hello everyone,
I downloaded yesterday the android-4.2.2_r1 branch of the google source and I tried to apply the jb4.2.2_1.1.0-ga release patches :
$ cd ~/aosp/fsl-jb-1.1.0
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.2.2_r1
$ c_patch ~/aosp/android_jb4.2.2_1.1.0-ga_source/code/jb4.2.2_1.1.0-ga imx_jb4.2.2_1.1.0-ga
[...]
Switching base version for system/security
Applying patches ...
Applying patch to external/linux-lib
unable to parse patch level, ignoring it.
trailing garbage found in series file: olivier dev 1.6M Jun 20 22:37 0001-Initial-commit-from-CVS.patch
Error! Fail to apply patch from /home/olivier/aosp/android_jb4.2.2_1.1.0-ga_source/code/jb4.2.2_1.1.0-ga/platform/external/linux-lib.git to /home/olivier/aosp/fsl-jb-1.1.0/external/linux-lib. Stop
Do you know what could be the origin of this error ? I changed a little bit c_patch to get the error log output from the patching line:
line 514 :git quiltimport --patches ${patch_git_dirs[$x]} #> /dev/null
Solved! Go to Solution.
Re All,
I tried in root (super user mode) and it worked. It's weird because when I initialized my repo from my local mirror I wasn't in root context.
Applying patch to packages/wallpapers/Basic
0001-ENGR00242457-fix-water-live-wallpaper-leaf-missing-i.patch
Applying patch to packages/apps/Settings
0001-ENGR00236850-WFD-remove-wifi-display-restrict.patch
0002-ENGR00256175-Android-reboot-if-setup-multi-user-with.patch
0003-ENGR00265632-fix-WFD-On-Off-option-will-appear-at-ea.patch
0004-ENGR00266279-WFD-add-auto-scan-after-enabling-wfd.patch
*************************************************************
Success: Now you can build android code for FSL i.MX platform
*************************************************************
Re,
FYI I use Ubuntu 12.04 LTS. Moreover I tried with the jb4.2.2_1.1.0 and I got the same error.
Regards,
Jérome
Re All,
I tried in root (super user mode) and it worked. It's weird because when I initialized my repo from my local mirror I wasn't in root context.
Applying patch to packages/wallpapers/Basic
0001-ENGR00242457-fix-water-live-wallpaper-leaf-missing-i.patch
Applying patch to packages/apps/Settings
0001-ENGR00236850-WFD-remove-wifi-display-restrict.patch
0002-ENGR00256175-Android-reboot-if-setup-multi-user-with.patch
0003-ENGR00265632-fix-WFD-On-Off-option-will-appear-at-ea.patch
0004-ENGR00266279-WFD-add-auto-scan-after-enabling-wfd.patch
*************************************************************
Success: Now you can build android code for FSL i.MX platform
*************************************************************
I have the same problem, I tried in root ,But it didn't work. I was using ubuntu12.04 in virtual box.
EnriqueOchoaVazquez FYI.