[Dev] Creating Tizen image locally without system connected to internet

Madhu Kumar gogetit2717 at gmail.com
Wed Feb 5 08:09:11 GMT 2014


Hi All,

I am trying to create Tizen image (Tizen 2.2), for arm target, locally
without system connected to internet. Below are the steps I followed,

1) Downloaded RD-210.ks file from

wget http://download.tizen.org/releases/2.2/tizen-2.2/builddata/image-configs/RD-210.ks-configs/RD-210.ks

2) Modified the .ks file as below
repo --name=Tizen-main
--baseurl=http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-main/armv7l/packages/
--save --ssl_verify=no --priority=99
repo --name=Tizen-base
--baseurl=http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-base/armv7l/packages/
--save --ssl_verify=no --priority=99
repo --name=local
--baseurl=file:///home/User1/GBS-ROOT/local/repos/tizen2.1/armv7l/
--priority=1
repo --name=local-toolchain
--baseurl=file:///home/User1/My_Tizen_Source/pre-built/toolchain-arm/
--priority=1

3) Ran the below command
gbs createimage --ks-file=RD-210.ks --tmpfs

After step 3, I am getting the following error,

info: creating image for ks file: RD-210.ks
mic 0.23 (Ubuntu 12.04 precise)
INFO: Substitute macro variable @BUILD_ID@/@ARCH@ in ks: RD-210.ks

INFO: Retrieving repo metadata:
INFO: Retrieving repomd.xml ...
INFO: Retrieving repomd.xml ...
 DONE
INFO: Use detected arch armv7l.
INFO: Creating tizen bootstrap ...
INFO: Installing: mic-bootstrap-x86-ar
++++++++++++++++++++++++++++++++++++++ [1/1]

INFO: Start mic in bootstrap: /var/tmp/mic-bootstrap/tizen6nf_tw/bootstrap

mic 0.23 (Tizen 2.2.0 Tizen)
INFO: Substitute macro variable @BUILD_ID@/@ARCH@ in ks: RD-210.ks
INFO: Retrieving repo metadata:

ERROR: [Errno 14] PYCURL ERROR 6 - "" on
http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-main/armv7l/packages/repodata/repomd.xml

error: <gbs>failed to create image

I then commented the below entries in the .ks file and ran it again

#repo --name=Tizen-main
--baseurl=http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-main/armv7l/packages/
--save --ssl_verify=no --priority=99
#repo --name=Tizen-base
--baseurl=http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-base/armv7l/packages/
--save --ssl_verify=no --priority=99

With the above modifications, I am getting the following error,
info: creating image for ks file: RD-210.ks
mic 0.23 (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 ...
ERROR: Failed to download/install bootstrap package or the package is in
bad format: Can't get rpm binary: mic-bootstrap-x86-arm
error: <gbs>failed to create image

I have downloaded the mic-bootstrap-x86-arm-1.0-1.1.armv7l package from

http://download.tizen.org/releases/2.2/tizen-2.2/repos/tizen-main/armv7l/packages/

Tried putting in GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS as well as
<Tizen_Src>/pre-built/toolchain-arm. But getting the same error.

Any inputs in resolving this really appreciated. Is there a way to create
Tizen image without connecting to Internet?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140205/1fe67900/attachment.html>


More information about the Dev mailing list