https://github.com/xerrni/tizen-emulator
tizen emulator
https://github.com/xerrni/tizen-emulator
emulator tizen
Last synced: 6 months ago
JSON representation
tizen emulator
- Host: GitHub
- URL: https://github.com/xerrni/tizen-emulator
- Owner: xerrni
- Created: 2021-01-07T17:38:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T22:43:08.000Z (over 4 years ago)
- Last Synced: 2025-02-09T00:26:23.673Z (8 months ago)
- Topics: emulator, tizen
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Sample usage
1. Generate ssh key pair inside ./.ssh directory```bash
mkdir -p ./.ssh/ && chmod 700 ./.ssh
ssh-keygen -b 4096 -f ./.ssh/id_rsa
```2. Add public key to [review.tizen.org](https://review.tizen.org/gerrit/#/settings/ssh-keys)
website account.3. Export review.tizen.org user name as environment variable
```bash
export TIZEN_USER='tizen.org_username'
```4. Adjust LXC(D) container template using ./adjust-template.sh script.
```bash
./adjust-template.sh
```It will adjust UID, GID, pulse audio and xorg socket path inside template
to match your host user configuration.4. Create && Run LXC(D) container
```bash
./lxc.sh
```5. To launch tizen-emulator execute on host machine:
```bash
lxc exec tizen-emu -- sudo --user ubuntu --login -- bash
```This will launch interactive shell session. Inside it please execute:
```bash
# Navigate to desired tizen-emulator version && device type directory
cd ~/tes/6.0/mobile
# Download and prepare tizen-emulator image
make latest
# Run tizen-emulator
make run
```## NOTES
On Archlinux distribution it is necessary to execute `xhost +local:`
before starting gui application such as tizen-emulator inside container.
This allows xorg server from container to talk to xorg socket on host machine.To start second tizen-emulator, create another LXC(D) container based on tizen-emu.
```bash
# Copy tizen-emu container instance to tizen-emu2
lxc copy tizen-emu tizen-emu2
# Use newly created instance:
lxc exec tizen-emu2 -- sudo --user ubuntu --login -- bash
```