On 07/03/2016 12:11 AM, Patrick Schleizer wrote:
> Modifications of configuration files shipped by upstream packages such
> as for example /etc/dnf/dnf.conf (package dnf, upstream: Fedora) by
> downstream distributions (Qubes) is always problematic. When upstream
> changes the file, it will conflict during upgrading.
>
> I am trying to get rid of the update_conf code. [1] Therefore I posted
> two feature requests against dnf and PackageKit. [2] [3]
>
> What is not covered is not modifying /etc/pacman.conf. I was wondering,
> is that required at all? I am not a archlinux user but I have seen there
> also is /etc/pacman.d. Could a file /etc/pacman.d/qubes-proxy.conf also
> work?
>
> Could you test this please, Olivier?
Hello,
I through it was only possible for repositories, but I just found the
following in man pacman.conf man page:
Include = path
Include another configuration file. This file can include
repositories or general configuration options. Wildcards in the
specified paths will get expanded based on glob(7) rules.
Based on the man page pacman.d configuration files should accept global
configuration options on the condition I Include the file inside
pacman.conf (meaning it wont follow upstream pacman.conf)
Another good new is that pacman now support hooks, so it may be possible
to add additional update hook (such as qubes-trigger-sync-appmenus.sh).
That's on my todo list.
Anyway, I need to test it first. I will also check the links you
referenced later to better understand your point.
Olivier
> Cheers,
> Patrick
>
> [1]
> https://github.com/marmarek/qubes-core-agent-linux/blob/57e50269638ebaf77faa1a83ac8384b3920f6888/network/update-proxy-configs#L32-L69
>
> [2] Fedora feature request: implement /etc/dnf.conf.d drop-in
> configuration folder
> https://bugzilla.redhat.com/show_bug.cgi?id=1352234
>
> [3] PackageKit feature request: implement /etc/PackageKit/conf.d
> https://bugs.freedesktop.org/show_bug.cgi?id=96788
>
>
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-devel/7765a61a-5959-ab88-4e96-13d9bf5d78c6%40yahoo.fr.
For more options, visit https://groups.google.com/d/optout.