<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On donderdag 15 februari 2024 15:43:47 CET Dylan Aïssi wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Hi,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Le mer. 14 févr. 2024 à 13:45, Sander van Grieken</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> <sander@outrightsolutions.nl> a écrit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > The file /usr/share/alsa-card-profile/mixer/profile-sets/9999-custom.conf,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > which is packaged as part of pipewire-bin and intended to be customized by the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > user, is packaged in a way that it is overwritten by upgrades.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > The file 9999-custom.conf should not be included, or included with a different</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > name, e.g. 9999-custom.conf.example</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> This file/feature was implemented with the idea of using dpkg-divert on it, see</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1686</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Any reason of not using dpkg-divert?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Not really, just unusual, as I haven't really needed to use dpkg-divert before, probably because it's rare</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">to have config files outside the usual locations.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Using dpkg-divert is fine. Maybe adding a single comment line mentioning dpkg-divert in /usr/share/alsa-card-profile/mixer/profile-sets/default.conf, just above the include of 9999-custom.conf would be helpful.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">grtz,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Sander</p>
<br /></body>
</html>