Hi all,

I don't know whether I can ask this question here. If not just ignore
it.

I am trying to run CTS on the custom board with Gingerbread 2.3.5 on
top of it.
In the CTS test cases ,

#start --plan Android -p
android.security.cts.PackageSignatureTest#testPackageSignatures

I am getting the following error :

Error Log:
junit.framework.AssertionFailedError: These packages should not be
signed with a well known key: [com.android.soundrecorder,
com.android.voicedialer, com.android.launcher, ..... ,
com.android.camera, com.svox.pico, com.android.email,
com.android.deskclock, ] at
android.security.cts.PackageSignatureTest.testPackageSignatures(PackageSignatureTest.java:
62)


I browsed in Google , some of them recommended to build the sources as
a release build. (Using BUILD_VARIANT=user )

I followed the link:

http://www.kandroid.org/online-pdk/guide/release_keys.html

But I got a build error. I don't how to proceed:

Dist: out/dist/blaze-emulator-eng.ramya.zip
creating boot.img...
  running:  mkbootfs /tmp/targetfiles-RZnKhC/BOOT/RAMDISK
  running:  minigzip
  running:  mkbootimg --kernel /tmp/targetfiles-RZnKhC/BOOT/kernel --
cmdline console=ttyO2,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000
init=/init vram=10M omapfb.vram=0:4M --base 0x80000000 --pagesize 4096
--ramdisk /tmp/tmpWEPGYI --output /tmp/tmpevCs9G
Traceback (most recent call last):
  File "./build/tools/releasetools/img_from_target_files", line 192,
in <module>
    main(sys.argv[1:])
  File "./build/tools/releasetools/img_from_target_files", line 176,
in main
    common.AddBoot(output_zip, OPTIONS.info_dict)
  File "/home/ramya/project/G5/blaze/build/tools/releasetools/
common.py", line 257, in AddBoot
    "boot.img", output_zip, info_dict)
  File "/home/ramya/project/G5/blaze/build/tools/releasetools/
common.py", line 190, in BuildAndAddBootableImage
    CheckSize(img, targetname, info_dict)
  File "/home/ramya/project/G5/blaze/build/tools/releasetools/
common.py", line 361, in CheckSize
    p = info_dict["fstab"][mount_point]
KeyError: '/boot'
make: *** [out/target/product/blaze/blaze-img-eng.ramya.zip] Error 1

Any suggestions.

Regards,
Ramya

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to