Public bug reported:

XDG_DATA_HOME used for saving emulator which user created.

sudo ubuntu-emulator create helloworld --arch=i386 --channel=ubuntu-
touch/ubuntu-rtm/14.09

After that the emulator would be saved in below directory.
.local/share/ubuntu-emulator/helloworld.

So I set the XDG_DATA_HOME to /home/emulator/ with export. And move the
helloworld into /home/emulator/ubuntu-emulator/.

After that I could list the emulator with 'ubuntu-emulator list'
successfully. So the  XDG_DATA_HOME take effect.

But when I create a new emulator with 'sudo' I found it still create a
new emulator in '.local/share/ubuntu-emulator/' while not in
'/home/emulator/ubutnu-emulator'.

Thanks!

** Affects: phablet-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394858

Title:
  XDG_DATA_HOME can't work ubuntu-emulator

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1394858/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to