Languages

Menu
Sites
Language
Issue with creating Tizen image offline

I followed the links given below and successfully built the tizen2.2 source and generated the tizen image as well.

Changes made in RD-210.ks:

repo --name=Tizen-main --baseurl=file:///< tizen packages-path> --save --ssl_verify=no --priority=99
repo --name=Tizen-base --baseurl=file:///< tizen packages-path>/armv7l --save --ssl_verify=no --priority=99
repo --name=local-toolchain --baseurl=file:///<Tizen-source>/pre-built/toolchain-arm/ --priority=1
repo --name=local --baseurl=file:///<GBS-ROOT path>/local/repos/tizen2.2/armv7l --priority=1

 

--------console output--------

infosys@infosyspc:~/Tizen_2.2$ sudo gbs createimage --ks-file=RD-210.ks
info: creating image for ks file: RD-210.ks
mic 0.21.2 (Ubuntu 12.04 precise)
Info: Substitute macro variable @BUILD_ID@/@ARCH@ in ks: RD-210.ks
Info: Retrieving repo metadata:
 DONE

Info: Use detected arch armv7l.
Info: Creating tizen bootstrap ...

Warning <bootstrap>: <bootstrap>Can't get rpm binary: mic-bootstrap-x86-arm
Q: Switch to native mode and continue?(y/N) y
Info: Substitute macro variable @BUILD_ID@/@ARCH@ in ks: RD-210.ks
Info: Retrieving repo metadata:
 DONE
Info: Refreshing repository: Tizen-main ...
Info: Refreshing repository: local-toolchain ...
Info: Refreshing repository: Tizen-base ...
Info: Refreshing repository: local ...
Info: zypp architecture is <armv7l>

Error <creator>: Unable to find pattern: common
error: <gbs>failed to create image

Can you please let me know the corrct procedure to create Tizen image OFFLINE?

Thanks.

Responses

1 Replies
Diogo Cardoso

For anyone that got stucked on this:

Under the repodata folder you need the patterns.xml so that mic can know what common package is.

For tizen 2.2 you can download the tar.gz from https://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-main/armv7l/packages/repodata/

Remember to add the file on the repomd.xml so that mic finds it.