Guide Porting Yocto-project /oe-core installation to other machine over lan

Porting yocto-project / open-embedded to new machine

1)we will call
PC having setup(yocto/oe) as host
PC on which to be install as target

2)replicate user as in host to target
sudo add user <username>

3)grant sudoers priviledges to this user:

sudo gedit /etc/sudoers
# Allow members of group sudo to execute any command
%sudo    ALL=(ALL:ALL) ALL
<username>  ALL=(ALL:ALL) ALL

save it

4)replicate host name in target as in host
sudo gedit /etc/hostname
replace existing with the one on host
eg<username>-xxxx

sudo gedit /etc/hosts
same replicate exiting with the one on host.

5)Install build dependencies(this may vary according to your build
I am refering https://community.freescale.com/docs/DOC-94866 as i want to build for freescale imx sabre lite board)
The essential packages you need for a supported Ubuntu distribution are shown in the following command:

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo

build-essential chrpath libsdl1.2-dev xterm curl

6)connect two computers over lan(can use other modes like wifi but lan is fastest)

in edit connections:
in taget:
Address:10.0.0.1
Netmask:255.255.255.0
Gateway:

in host

Address:10.0.0.2
Netmask:255.255.255.0
Gateway:

7)now rync the files (your setup directory)

$ rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/

options:ult optional(i didnt use them)
//z:to compress while transferring ie speed up xfer
//u:not to copy exsistant files
//l:to copy symlinks
//t:to retain timestamp of files
//e ; to use protocol ,here ssh

Done.


Like what you read?
Do you think you have knowledge to fetch Overseas Jobs and Projects?
Register here and start posting...
The following two tabs change content below.

Embedded Design Engineer by profession .Extremly intrested in Emedded Systems,Linux and Electronics.I truely believe in open source , join me in this mission by registering .

How to Integrate Google “No CAPTCHA reCAPTCHA” on Your Website


Leave a Reply