참고 사이트:
https://source.tizen.org/ko/documentation/developer-guide/getting-started-guide/creating-tizen-images-mic
https://wiki.tizen.org/wiki/Modify_Emulator_Image
- KickckStart File 다운로드
http://download.tizen.org/ 에서 버전에 맞는 KickStart File을 다운로드 해야 한다.
- i586 mobile 버전 기준1$ wget http://download.tizen.org/snapshots/tizen/mobile/tizen-mobile_20150613.2/images/emulator32-wayland/mobile-emulator32-wayland/tizen-mobile_20150613.2_mobile-emulator32-wayland.ks
Tizen Image 만들기
1$ gbs createimage --ks-file=tizen-mobile_20150613.2_mobile-emulator32-wayland.ksEmulator Image 수정하기
tizen 다운받은 디렉토리안에 mic-output 폴더에서 ~.tar.gz 압축풀면 platform.img가 있다.
-> 최근 버전 경우(mobile)는 ~.tar.gz 압축을 풀면 emulator-rootfs.img emulator-sysdata.img emulator-user.img이 들어있다.
이 경우에는 qemu-img로 빌드 할때1$ ~/tizen-sdk/tools/emulator/bin/qemu-img convert -O qcow2 emulator-rootfs.img emulator-sysdata.img emulator-user.img emulimg.3.0.x86
하면 제대로 런치화면에서 작동한다.
- 빌드할때 자동으로 Emulator Image를 만들어주고 싶을때는1$ gbs build -A i586 -R http://download.tizen.org/snapshots/tizen/ivi/latest/repos/emulator/packages/ --define "with emulator" --overwrite --include-all
- Mobile 버전의 경우는 emulator도 32/64bit 로 나뉘어져있다.
- Tizen SDK에서 img파일을 열어주면 된다!