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

Jian-feng Ding jian-feng.ding at intel.com
Fri Feb 14 05:04:49 GMT 2014


And please try to use "mic" directly for the image creation step. The
reference doc is:
https://source.tizen.org/documentation/reference/mic-image-creator

thanks
- jf.ding

On Wed, Feb 05, 2014 at 01:39:11PM +0530, Madhu Kumar wrote:
> 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.

> _______________________________________________
> Dev mailing list
> Dev at lists.tizen.org
> https://lists.tizen.org/listinfo/dev



More information about the Dev mailing list