Boardname https://github.com/mer-packages/boardname.git

In PulseAudio and OHM packages boardname is used as a way to load device
specific configuration when multiple sets of configurations exist at the
same time.

With OHM this is not used at all, different adaptations provide own
ohm-configs package containing the proper configs.

With PulseAudio configuration file is selected based on boardname, but
this could be done also with systemd EnvironmentFile, where each
pulseaudio settings package would provide /etc/sysconfig/pulseaudio file
which would set the configuration file for the adaptation.

I'm not sure of other uses of boardname, but at least in these two cases
boardname adds complexity which could be (and is) solved with packaging,
which at least to me makes more sense. Correct me if I'm wrong, but I
don't see it too useful to maintain configuration packages which contain
multiple sets of configs for different devices, and which is then
installed to everywhere in favor of one package per device.

Anyway, boardname should be dropped in favor of ssu and oneshot. If
there is need for the functionality boardname now provides for
PulseAudio and OHM, that could be then implemented with ssu, but for the
time being I suggest to get rid of boardname dependency for
aforementioned packages. If no-one objects, I will do just that in a
couple of days.


Regards,
Juho Hämäläinen /jusa_


Reply via email to