PulseAudio-base rules file overwritten (UsrMerge violation)
Context
- Element
components/pulseaudio-base.bst
produces a file in the/lib
directory: (/lib/udev/rules.d/90-pulseaudio.rules
). - The file ought to be in
/usr/lib
, instead of in/lib
(as per the UsrMerge convention). - When the element is staged along with its dependencies, the symlink
/lib --> /usr/lib
overwrites the/lib
directory, and the rules file never ends up in the staged artefact.
Description
Fix by adding a variable to meson-local: -Dudevrulesdir=/usr/lib/udev/rules.d
.
(Thanks to @coldtom for finding that variable).
Acceptance Criteria
File /usr/lib/rules.d/90-pulseaudio.rules
should appear in the staged artifact of components/pulseaudio-base.bst
.