Hi,

I am modifying the .ks file to add test packages for enabling automation using 
OTS or testrunner-lite.

Please follow the below steps:

1)  Add the following two repositories in .ks file:

repo --name=devel-quality-testing  
--baseurl=http://download.meego.com/live/devel:/quality/testing/ --save 
--debuginfo --source 
--gpgkey=http://download.meego.com/live/devel:/quality/testing/repodata/repomd.xml.key

//Following repo is needed only for handset ux sanity test suite.
 repo --name=MeeGo_Hanset_UX_Testing 
--baseurl=http://download.meego.com/live/home:/dadhikar:/MeeGo_Hanset_UX_Testing/Trunk_Testing/
 --save --debuginfo --source 
--gpgkey=http://download.meego.com/live/home:/dadhikar:/MeeGo_Hanset_UX_Testing/Trunk_Testing/repodata/repomd.xml.key

2) Add the following packages in .ks file in %packages section:

      qttas-server

    //Following packages are needed only for handset ux sanity test suite.

      meegotouch-tests-plugins

      sp-endurance-meego

      libXres

      libXres

      lzo

      lzop

      sp-endurance-meego-postproc

3) sudo mic-image-creator --run-mode=<run mode as per host pc linux version> 
--format=raw --arch=<architecture of your h/w> --save-kernel --config=<ks file> 

I am attaching sample modified .ks file for your reference.


Regards
Dimpy

From: ext WuYongbo [mailto:wilbur.un...@gmail.com]
Sent: Thursday, May 05, 2011 11:44 AM
To: Adhikary Dimpy (Nokia-SD/Bangalore); meego...@meego.com
Subject: how to build image for ots testing ?


HI Dimpy and all,

from the auto test report in 
http://qa-reports.meego.com/1.3/Handset/Sanity%20-%20Automated/N900/2577,
I can see that you are using ks file from daily release.

but how do you modify this ks file to build image for ots ? at least install 
some test packages.

I tried that add following repo to the released ks file and build armv7hl 
image, and it failed.
http://download.meego.com/live/devel:/quality:/tests/Trunk/armv7hl/
http://download.meego.com/live/Trunk:/Extra/Trunk/

I am using FC13, cmd line is :
mic-image-creator --cache=/opt/cache --arch=armv7hl --format=raw --save-kernel 
--package=tar.gz --configure=modified-file.ks

--
Good luck !

Attachment: meego-handset-armv7hl-n900-1.2.80.0.20110502.2.ks
Description: meego-handset-armv7hl-n900-1.2.80.0.20110502.2.ks

_______________________________________________
MeeGo-qa mailing list
MeeGo-qa@lists.meego.com
http://lists.meego.com/listinfo/meego-qa

Reply via email to