VRReaderServiceDeployment

From VentureResearchWiki
Jump to navigation Jump to search

VRReader RFID Service Deployment[edit | edit source]

Update version number in source[edit | edit source]

go to any of the src folders, for example:

venture@dev40-ubuntu-vm:~/svn/vr/linux/src/forkliftreader_linux$

For Linux[edit | edit source]

vi configure.in
>>> go to line: 8 <<<
>>> AM_INIT_AUTOMAKE([ForkliftReader_Linux],[5.x.x]) <<<
replace the 5.x.x with the next release version, for example: 5.1.5 or 5.2.0

autoreconf
./configure
make

For Android[edit | edit source]

vi android/config.h

>>> go to line: 98 <<<
>>> #define VERSION "5.x.x" <<<

replace the 5.x.x with the next release version, for example: 5.1.5 or 5.2.0

Check in new source changes to svn[edit | edit source]

svn ci -m "forkliftreader_linux: updating to version 5.x.x"
  • record the new svn release version

Release ipk for Target System[edit | edit source]

-- example shown here is for Dora image on the Shelf Readers -- -- These instructions should translate well for the Danny image and other VR Devices --

ssh embedded-dev 
cd ../yocto-dora/poky 
. oe-init-build-env

-- another example for the new fido image

ssh embedded-dev2 
cd ../yocto-fido/poky 
. oe-init-build-env

Create a bitbake file for the new version[edit | edit source]

cp ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.4.bb ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.5.bb 
vi ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.5.bb 
>>> SRCREV = "1667" <<< 
replace SRCREV with the new svn release version, recorded previously 
cp ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.4.bb ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.5.bb 
vi ../meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.5.bb 
>>> SRCREV = "1667" <<<
replace SRCREV with the new svn release version, recorded previously

Build and deploy the new version for Target system[edit | edit source]

-- shelves

MACHINE=vr-am33-shelf bitbake vrfrv2-linux-event 
MACHINE=vr-am33-shelf bitbake vrfrv2-linux-event-5.1

-- vrreaders

MACHINE=vr-am33-linuxboard bitbake vrfrv2-linux-event 
MACHINE=vr-am33-linuxboard bitbake vrfrv2-linux-event-5.1

Update VRReader Releases Page[edit | edit source]

  • Create a new entry for the new Version and add release/feature/bug notes
\\fs2_new\Releases\VRReader_Releases.html