export YOCTO_WORKDIR=<path_to_your_workdir>
+### Set up that work dir in which you clone the scm/bb/tizen repository:
+
+ mkdir -p $YOCTO_WORKDIR
+ cd $YOCTO_WORKDIR
+ git clone ssh://review.tizen.org:29418/scm/bb/tizen
+
### Copy .spec2yoctorc to your home directory
cp tizen/proto-meta-Tizen_generic/.spec2yoctorc ~/
### Create a symbolic link to spec2yocto.py in a directory of your ${PATH}
- ln -sf ~/bin/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py
+ ln -sf ${YOCTO_WORKDIR}/tizen/tools/spec2yocto.py
You can, of course, replace the "~/bin" with another directory of your choice.
+### Ensure that spec2yocto.py can find cmdln.py, for example from mic:
+
+ <install Tizen mic>
+ ln -s /usr/share/pyshared/mic/utils/cmdln.py ${YOCTO_WORKDIR}/tizen/tools/
+
### Create a spec2yocto directory in /usr/share
sudo mkdir /usr/share/spec2yocto
-### Create a symbolic link to roto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro
+### Create a symbolic link to proto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro
sudo ln -sf ${YOCTO_WORKDIR}/tizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro
files you can use this command which will clone all the tizen projects used in the Tizen Yocto
images (note that it will take a while):
- .tizen/tools/gitCloneAll.sh
+ ./tizen/tools/gitCloneAll.sh
Alternatively you can also fetch a specific project:
- .tizen/tools/gitCloneAll.sh <project-name>
+ ./tizen/tools/gitCloneAll.sh <project-name>
+
+<project-name> has to be listed in the .spec2yoctorc. Check with
+
+ spec2yocto manifestToList | grep <project-name>
## Using spec2yocto