-
Notifications
You must be signed in to change notification settings - Fork 5
/
install.txt
80 lines (51 loc) · 2.44 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Following are the recommended steps for installing and running "DNA_FMRadio", FMRadioExtension extension and FMRadioService dbus daemon on target device.
Build environment: Tested on Ubuntu 14.10
The .gbs.conf file in your home directory must contain this line in the [repo.tizen_latest] heading:
url = http://download.tizen.org/releases/milestone/tizen/ivi/tizen_20140422.1/repos/ivi/ia32/packages
An example .gbs-conf file is in this project's root directory.
STEPS TO INSTALL AND RUN
*************************************
In an Ubuntu shell:
*** on HOST SYSTEM ***
(the solution is assumed already built with 'gbs' here.)
* Copy the rpms to your target system's
# In the following, to avoid typing a password for each scp or
# ssh command you need to copy
# your public key over
#
# $ ssh-copy-id app@$TIZEN_IP
#
# This command will require your password and then you will be
# able to
# use ssh and scp without a password from that user.
$ sh ./cp_rpms.sh
# Additionally, if you want to ALSO copy the 'debug' rpms,
# do this INSTEAD :
$ ./cp_rpms.sh debug
## You will notice that the script also copies the
## "install_rpms.sh" script over.
*** on TARGET DEVICE ***
* Install the copied rpms
$ cd ~/
$ sudo ./install_rpms.sh
# If the package is installed for the first time, you'll get
# error messages about
# not being able to 'un'install, but just ignore those messages
# Additionally, if you want to ALSO copy the 'debug'
# rpms, do this INSTEAD :
$ sudo ./install_rpms.sh debug
* Reboot your target device if it's the first time you install the rpms
systemd will have to know your service before it can safely autolaunch it.
$ sudo reboot
*** back on HOST SYSTEM ***
* Install and Run the DNA applications
$ cd <X004_FMRadio git repo>
** please note this is the ROOT X004_FMRadio folder.
$ make install
$ make run
# Notice that for now, make run IS NECESSARY for the whole thing
# to work
# since it adds the pulseaudio 'tmp' folder manually :
# $ mkdir -p /tmp/pulseaudio
# So do not run the .wgt application from tizen console just yet.
* Enjoy!