-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jun 23, 2015 at 10:11:01PM +0000, Patrick Schleizer wrote:
> Importing RPMFusion for a Fedora TemplateVM is kinda simple. [5]
>
> How do I import RPMFUsion in dom0? Seems more complicated?
>
> > Marek Marczykowski-Górecki
> >> 1. Download rpmfusion repository package, transfer it to dom0 and
> install with yum. [1]
>
> How do I do this?
>
> Instructions on rpmfusion homepage [3] aren't secure. They are using
> '--nogpgcheck'.
>
> Let me guess...
>
> - dom0 cannot connect to gpg key server. So download/verify the gpg key
> for example in a DispVM.
>
> - (Temporarily) import the key for verification purposed by using 'rpm
> --import RPM-GPG-KEY-rpmfusion-free-fedora-21'
>
> - dom0 cannot download the rpmfusion repository package. So download
> [wget] it for example in a DispVM or so. 'wget
>
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm'
>
> - verify rpmfusion-free-release-21.noarch.rpm by using 'rpm -K
> rpmfusion-free-release-21.noarch.rpm' in a DispVM or so.
Actually you need rpmfusion-free-release-20.noarch.rpm, as Qubes dom0
is based on Fedora 20.
> - copy 'rpmfusion-free-release-21.noarch.rpm' to dom0 using instructions
> [4] Typing a somewhat lengthy command by hand.
>
> qvm-run --pass-io <src_domain> 'cat
> /home/user/rpmfusion-free-release-21.noarch.rpm' >
> ~/rpmfusion-free-release-21.noarch.rpm
>
> - Then in dom0: 'sudo rpm --install --nodeps --force
> rpmfusion-free-release-21.noarch.rpm' ?
>
> '--nodeps --force' was required, otherwise it would show an error
> 'system release issue >= 21'. Bug in Qubes Q3 RC1?
rpmfusion assumes that "system release" is "fedora release", which isn't
true on Qubes. Here it is "qubes release".
You need to manually replace "$releasever" with "20" in
/etc/yum.repos.d/rpmfusion*repo.
> Like this?
Yes, something like this. Some steps can be simplified as the default
template already contains a key and the package installed - you can
simply copy repository definition and the key to dom0. This should be
preferably done just after system installation (even if you don't use
rpmfusion just now - you don't need to enable it), because if the
template later would be compromised, you'll have key copied before that
happened. But template compromise is quite fatal anyway (unless you use
multiple templates for different purposes).
> Kinda complicated/time-consuming?
>
> And a related issue...
>
> - Then in dom0: 'sudo qubes-dom0-update kernel-4.0*' shows an error:
>
> 'cannot find valid baseurl for repo: rpmfusion-free/3.0/x86_64'
See above info regarding $releasever.
- --
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 v1
iQEcBAEBAgAGBQJVidvZAAoJENuP0xzK19cshEAIAI43NoCN2QYIqlZqQlci3vle
IyXXBn/SQ43HEiSLiBnw9LzaSCG8pURvQjskP4KRfgJ1iv5g0vtv/56kOhl1c8/c
6L6R579VuWwaZ+SoHfLz1ibRjrIzm5Gn5RlBj0whhULGETAwWvDR5GBNyaDvUzNg
gY1/pfXtyAzJ+SOcamyZSj2zPN/8GRtqFoLWpt4CmtRjmNCv0BxvfBQHNrFt5f0M
gGHhq+bItG4KwVm9ZtFMO1ZwBg7LLMhpOYy7Md86nrRH4dq0uph0X0kXIV6sdRSi
2G5wUsz7V1rH2zgMwu59B3FIE5MUPAK6bd5gL6XewqbiA92OpSjoxmuKLWrmxl8=
=Rt7i
-----END PGP SIGNATURE-----