From 62bc29fe482dad0c3fa2c8199975b3c4538974aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 9 Jul 2014 10:54:55 +0200 Subject: [PATCH] Update README MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: If49a13a7ccf999bb350a632a52e71c730e80f5d7 Signed-off-by: Kévin THIERRY --- README.md | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 0854e55..bb603d0 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,20 @@ # spec2yocto - ## Installation -### Go to your work directory: - - cd /your/work/directory - ### Define the YOCTO_WORKDIR environment variable: export YOCTO_WORKDIR= -### Clone this project - - git clone https://github.com/eurogiciel-oss/yoctoTizen.git - ### Copy .spec2yoctorc to your home directory - cp yoctoTizen/proto-meta-Tizen_generic/.spec2yoctorc ~/ + cp tizen/proto-meta-Tizen_generic/.spec2yoctorc ~/ ### Create a symbolic link to spec2yocto.py in a directory of your ${PATH} - ln -s /bindir/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py /spec2yocto + ln -sf ~/bin/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py + +You can, of course, replace the "~/bin" with another directory of your choice. ### Create a spec2yocto directory in /usr/share @@ -29,15 +22,25 @@ ### Create a symbolic link to roto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro - sudo ln -s /home/kthierry/yocto/yoctoTizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro + sudo ln -sf ${YOCTO_WORKDIR}/tizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro + +## Usage ### Execute gitCloneAll.sh - ./tools/gitCloneAll.sh +This will clone all the tizen projects used in the Tizen Yocto images + + .tizen/tools/gitCloneAll.sh ## Using spec2yocto -TO DO +For example, to generate the recipes: + + spec2yocto createRecipes + +For more commands, you can display the help: + + spec2yocto -h ## License -- 2.7.4