-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, Aug 06, 2016 at 06:36:10PM -0700, Andrew David Wong wrote:
> On 2016-08-06 18:05,
emilcr...@gmail.com wrote:
> > Hi there,
> >
> > How do I add an outside/untrusted repository to an app-vm based on the
> > standard template, *without* changing the whole template? And/or how do I,
> > after succeding, install a program from the outside source in the appVM
> > and make the program survive reboot?
> >
> > I guess this is a general question, although my problem is concerned with
> > the VoIP-program Jtisi: they are not included in neither Fedora or Debian
> > repos, and I would not like to add their "untrusted" repo only to the appVM
> > wich would actually run the program. (I know I could create a standalone
> > VM, but I prefer not to use 3 GB of space to run just one program :)).
> >
> > SO: How to solve this? (Without jepoardizing my template-VM)
> >
> > Best regards, E
> >
> > PS: Why oh why is there no voip-client with zrtp-support in the
> > fedora/debian repos?!
> >
>
> You could do this by installing the program to some place in the AppVM that
> survives reboot (e.g., the AppVM's home/ directory). Besides that, I can't
> think of any way to satisfy all of your desiderata simultaneously. (You could
> clone the TemplateVM, but you said you didn't want to create a StandaloneVM
> because it would take up too much disk space, and a cloned TemplateVM would
> take up roughly the same amount.)
I have similar problem with spotify - I don't want to include it in any
of my standard template, but on the other hand, I don't want to waste
disk space just for one VM. So I ended up with installing it at each VM
startup. Using this script:
#!/bin/sh
# 1. Add the Spotify repository signing key to be able to verify
# downloaded packages
sudo apt-key adv --keyserver hkp://
keyserver.ubuntu.com:80 --recv-keys
BBEBDCB318AD50EC6865090613B00F1FD2C19886
# 2. Add the Spotify repository
echo deb
http://repository.spotify.com stable non-free | sudo tee
/etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt-get update
# 4. Install Spotify
sudo apt-get -y install spotify-client xdg-utils libxss1 zenity
Since I don't restart this VM that often, I call this script manually,
just before starting spotify client itself (shell command history is
useful ;) ). But is should be enough to put it into /rw/config/rc.local.
Downsides:
- it downloads the packages each time; not a big problem for me, but
can be for others
- there is no spotify entry in the menu (needs to be started from
terminal)
First issue could be fixed by downloading deb files (apt-get -d) and
then installing them from a local directory (dpkg -i /rw/debs/*.deb).
But it will not automatically download new version.
The second issue can be fixed by creating the entry manually.
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXpxnjAAoJENuP0xzK19csR+gH/jWJNCWvt65vP1Dw+CI6MV/D
BNx45JmUvIjcF14zxe3Fmnw9fZ/tWCTQEMACi49zMkfZQZdUWlKo3iy7jshStxMN
dux+nIM6c0XXgKNzzWunAi/1XZkx4AXEF/PkFJgqqRVdMmq5hzButHXXQZ1RwTWu
I+Sh7zVIFexqSM89mI6IGMoFW2rtMgH8z7kYC6BMXLBpiG7yDAHzGIzbQ4SIvtf4
xKGgzFaZOQU2PrA7zTiwVRMravO0RmRsfxceLwW/8wU48myQUB6RUpZW+Apmjs+u
zgvSg8Vde7uy19P5uFdoex8BiIEbqz7ZH1ufa9bOczDZDv9deMf/Mu+oObxoghE=
=Z+nH
-----END PGP SIGNATURE-----