-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Dec 27, 2025 at 02:46:40AM +0000, qubes-os via qubes-devel wrote:
> On Friday, December 26th, 2025 at 11:52, Marek Marczykowski-Górecki 
> <[email protected]> wrote:
> >  
> > Dom0 is based on Fedora (41) Xfce spin and mostly follows what is
> > included there. But, contrary to templates, we are more open to
> > customizing it, removing unneeded parts etc. As for "what is necessary",
> > I don't have clear answer for you. Generally - if some qubes package
> > depends on it, it's probably necessary. The easiest check is
> >`dnf remove - --assumeno <package>` and see what would be removed with
> > it. But there  are likely some cases where dependency is indirect, and
> > maybe it could be avoided.
> > 
> > For example, samba-client-libs is installed in dom0. If you try to
> > remove it, it will try to remove a bunch of other packages, including
> > initial-setup-gui and qubes-manager. But, we don't really use samba in
> > dom0, it's some indirect dependency (looks to be via
> > libavformat-free -> qt6-qtmultimedia -> python3-pyqt6 -> qubes-manager).
> >
> > I'm not sure if there is a harmless way exclude that dependency (without
> > rebuilding a lot of Fedora packages for example).
> 
> Have you thought about, and/or would you consider, building some "qubes stub"
> RPMs, basically, RPMs devoid of files but that provide the dependency that 
> rpm/dnf is attempting to fix up when pulling in seemingly "unneeded" 
> packages.
> 
> Something like 'samba-client-libs' probably isn't referenced by name directly,
> but merely by one of the SO-lib target defines within it.

That may work in some cases, but if a tool (here, qubes-manager)
actually loads the library (even if not using any function from it), not
having the file would break stuff.

But yes, in some cases providing dummy replacement package may be an
option.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmlQM3UACgkQ24/THMrX
1yycHwf/V45LVmoXkkd4mG1OySMoul26T4DkeAm6KgeiG97mjt16dyUae82X1u+0
2YY6axdKEByWfUNqNVQDu/s8k60mJgvYyMOjQi97FGb89E9aFH8xfdX2GYZN1kiH
gqvzO3ZphQv7GF1oKxu6xI+QHGm6F/kArzx/VBVN+VmmwwbljrbJX3qsSIXsn3FU
ewdIKp3PsZDn4x/a58cFMoe2IybKOkVCXScYUaD6bxDo3I09BV0z+s4dS0CJ2MJu
44gAzBRm0xuws7IZ8x+8TsZjNl7ptWJlcNtshNKozg0cKoMDU/rpRYxo3VKdU1Jr
w75MV5/W61rXK9E1dLlHpIuSs6F2sQ==
=Hay9
-----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 visit 
https://groups.google.com/d/msgid/qubes-devel/aVAzddOh840VRskQ%40mail-itl.

Reply via email to