-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Mon, Jul 06, 2020 at 06:38:30PM +0000, WillyPillow wrote: > I'm almost finished with the list/download/install operations, and should be > able to commit the code in the following days. [^1] That being said, in > mgmtVMs, I currently don't have a means to get the repo config files, as they > seem to reside only in the qubes-release package.
Oh, that's right. It would be possible to split repo definitions into separate sub-package, but it's a bit tricky, because we can't add the whole qubes-release package into repository for a VM - that would break the template (replace fedora-release with qubes-release). And also, I don't think template repositories should be added to dnf in vm. Perhaps a better solution would be to create new separate package with template repository definitions only and have it installable in both dom0 and VM. And have those definitions outside of /etc/yum.repos.d, so yum/dnf wouldn't use them normally (/usr/share/qubes/repo-templates?), but only when called by qvm-template with options specifically pointing at those files. What do you think? > Similarly, I'm unsure how to > get the Qubes release from mgmtVMs. Perhaps a package similar to qubes-release > is needed in VMs? (Or is there a simpler solution?) There is /usr/share/qubes/marker-vm file for this reason. It isn't 100% accurate, as you can restore template from older system on a newer one. But I think it should be good enough for this use case. If you want to manage templates on Qubes 4.1, use VM with packages from Qubes 4.1. > [^1]: Unfortunately this also means that I'm a bit behind on my original > schedule. Hopefully I'm able to catch up soon. - -- 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----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl8DyIIACgkQ24/THMrX 1ywBuQf+PKQsV5OK1w6GBYLXwNscYRKRpvzC+lBdug5GT09yXe7yawNXJpWz5OCJ +ZMDwwcLcPyb64Ob29Hdf2LFILJVK1mBxUw8RcLNYto4xAHEYvJQr3VSnFW9Jbv2 7oxU9S3TrybPdswNR1DNlTyH/6Frq0ozHlKVYaZXfXA0KHZ3ZkaD6x/D91k8dI6M vmTpPteKNN8DvXAjeh+r+VPxMiina93lnJLxfJPe7Euk/QCqtD8i7sneEeTrEl5n MORbtuxz8OVNbjnCT3X+18ydsn3NES+GQ4nRfS9mp89Pijko9nzxVbP8w8+g4xS5 z6cWx9YIteCUgcPhkmZLdGIHGPGynw== =NTs4 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20200707005738.GB139534%40mail-itl.
