Changes between Version 3 and Version 4 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
Jan 27, 2012 5:48:03 AM (12 years ago)
Author:
zarvai@inf.u-szeged.hu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v3 v4  
    268268= 3. How you get things running on the N9 =
    269269
    270 == 3.1.a Moving files to N9 with rsync ==
     270== 3.1.a Transfer files to N9 with rsync ==
     271
     272With rsync you can deploy the files to the device.
     273
     274Required storage:
     275  * (ext4)/home/user - 1GB
     276  * (vfat)/home/user/MyDocs - 4.3GB
     277
     278Download rsync for N9
     279  * [http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/armel/rsync_3.0.9-1.0%7erzr1_armel.deb
     280
     281Scp rsync installer to N9 as root:
     282{{{
     283  $ scp rsync_3.0.9-1.0~rzr1_armel.deb root@device:./
     284  $ ssh root@device
     285  RM696-40-4_PR_001:~# dpkg -i rsync_3.0.9-1.0~rzr1_armel.deb
     286  RM696-40-4_PR_001:~# exit
     287  $
     288}}}
     289
     290Create public key for ssh connection, if you don't have it already:
     291{{{
     292  $ ssh-keygen -t rsa
     293}}}
     294Copy public key to N9:
     295{{{
     296  $ ssh user@device "mkdir .ssh"
     297  $ scp ~/.ssh/id_rsa.pub user@device:./.ssh/authorized_keys
     298}}}
     299Now, you don't have to enter password for 'user' when you connect to N9.
     300
     301Download [https://sed.hu/projects/webkit/attachment/wiki/Build%20Qt5%20and%20WebKit2%20for%20N9%20%28Resworb%20Scripts%29/rsync-scripts.tar.gz?format=raw rsync-scripts.tar.gz] and extract it to ~/swork.
     302
     303Initialize directory tree for Qt and WebKit files:
     304{{{
     305  ~/swork/rsync-scripts$ init-rsync.sh
     306}}}
     307
     308Sync files to device:
     309{{{
     310  ~/swork/rsync-scripts$ ./all-rsync.sh
     311}}}
     312This script will execute ./testfonts-rsync.sh, ./qt5-rsync.sh, ./webkit-tests-rsync.sh and ./webkit-build-rsync.sh. This can take some time on first run, so get some coffee or have a lunch.
     313
     314If you don't want to transfer LayoutTests to N9, then you should use '''./all-rsync.sh --no-layout-tests'''. Without this argument rsync always does re-transfer on LayoutTests because of the vfat filesystem's limitation.
     315
    271316
    272317== 3.1.b Mounting NFS on retail N9 ==
     
    403448}}}
    404449
    405 == IV. Flash back N9 to factory state ==
    406 
    407 
     450= 4. Flash back N9 to factory state =
     451
     452