All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] alsa-utils: alsactl services are not installed
@ 2018-10-25  8:16 Тимур Прокопенко
  2018-10-28 11:02 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Тимур Прокопенко @ 2018-10-25  8:16 UTC (permalink / raw)
  To: buildroot

Hello,

I'm trying to build Buildroot with systemd. alsa-utils seem to install
correctly but the alsa-restore and alsa-state services aren't installed to
the target directory but to the host directory only.

It's very weird since simply copying the service files to the target
directory and installing the resulting image works properly. Is there any
problem with the Makefile? Using systemd v239 with alsa-utils v1.1.5

Thank you in advance.
-- 
Best regards,
Prokopenko T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181025/5b966b4c/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] alsa-utils: alsactl services are not installed
  2018-10-25  8:16 [Buildroot] alsa-utils: alsactl services are not installed Тимур Прокопенко
@ 2018-10-28 11:02 ` Peter Seiderer
       [not found]   ` <CANTMe2XmyFiQiXErMRLM2BOqQdW3iGBUqfeHtxu1Jv87vokVTA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2018-10-28 11:02 UTC (permalink / raw)
  To: buildroot

Hello ?????,

On Thu, 25 Oct 2018 11:16:35 +0300, ????? ?????????? <prok.tim26@gmail.com> wrote:

> Hello,
> 
> I'm trying to build Buildroot with systemd. alsa-utils seem to install
> correctly but the alsa-restore and alsa-state services aren't installed to
> the target directory but to the host directory only.
> 
> It's very weird since simply copying the service files to the target
> directory and installing the resulting image works properly. Is there any
> problem with the Makefile? Using systemd v239 with alsa-utils v1.1.5

Seems no one missed the files until now ;-), try suggested patch
'[PATCH v1] alsa-utils: install systemd sevice files' (see [1])...

Regards,
Peter

[1] https://patchwork.ozlabs.org/patch/989965

> 
> Thank you in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] alsa-utils: alsactl services are not installed
       [not found]     ` <CANTMe2VT27m=f=D=u_fD6mTYoWw7QQUcc-bFbhir0QrPV=MMtw@mail.gmail.com>
@ 2018-10-30 22:34       ` Peter Seiderer
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2018-10-30 22:34 UTC (permalink / raw)
  To: buildroot

Hello ?????,

On Tue, 30 Oct 2018 16:10:59 +0300, ????? ?????????? <prok.tim26@gmail.com> wrote:

> Hello, Peter.
> 
> Thanks for your patch. What I did was similar but I installed the
> alsa-restore udev rules as well.
> Also, the symlinks seem to be created incorrectly:
> 
> +ln -sf ../../../../lib/systemd/alsa-restore.service \
> +
>  $(TARGET_DIR)/etc/systemd/system/sound.target.wants/alsa-restore.service
> +ln -sf ../../../../lib/systemd/alsa-state.service \
> +
>  $(TARGET_DIR)/etc/systemd/system/sound.target.wants/alsa-state.service
> 
> rather than
> 
> +ln -sf ../../../../lib/systemd/system/alsa-restore.service \
> +
> 
>  $(TARGET_DIR)/etc/systemd/system/sound.target.wants/alsa-restore.service
> +ln -sf ../../../../lib/systemd/system/alsa-state.service \
> +
> 
>  $(TARGET_DIR)/etc/systemd/system/sound.target.wants/alsa-state.service

Many thanks for testing and feedback, will fix it on next patch iteration...

> 
> Is it possible to comment on Patchwork and how can I send a patch to be
> reviewed there?

Patchwork is only collecting from the buildroot mailing list, reply to
a patch and keeping buildroot at busybox.net in CC will show up as
comment in Patchwork...

Regards,
Peter

> 
> 
> 
> On Sun, Oct 28, 2018 at 3:38 PM ????? ?????????? <prok.tim26@gmail.com>
> wrote:
> 
> > Hello, Peter.
> >
> > Thanks for your reply, I actually already did exactly that but was
> > wondering if that was really necessary or if I was missing something.
> >
> > Best regards,
> > Timur
> >
> > On Sun, Oct 28, 2018 at 2:02 PM Peter Seiderer <ps.report@gmx.net> wrote:
> >  
> >> Hello ?????,
> >>
> >> On Thu, 25 Oct 2018 11:16:35 +0300, ????? ?????????? <  
> >> prok.tim26 at gmail.com> wrote:  
> >>  
> >> > Hello,
> >> >
> >> > I'm trying to build Buildroot with systemd. alsa-utils seem to install
> >> > correctly but the alsa-restore and alsa-state services aren't installed  
> >> to  
> >> > the target directory but to the host directory only.
> >> >
> >> > It's very weird since simply copying the service files to the target
> >> > directory and installing the resulting image works properly. Is there  
> >> any  
> >> > problem with the Makefile? Using systemd v239 with alsa-utils v1.1.5  
> >>
> >> Seems no one missed the files until now ;-), try suggested patch
> >> '[PATCH v1] alsa-utils: install systemd sevice files' (see [1])...
> >>
> >> Regards,
> >> Peter
> >>
> >> [1] https://patchwork.ozlabs.org/patch/989965
> >>  
> >> >
> >> > Thank you in advance.  
> >>
> >>  
> >  
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-30 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25  8:16 [Buildroot] alsa-utils: alsactl services are not installed Тимур Прокопенко
2018-10-28 11:02 ` Peter Seiderer
     [not found]   ` <CANTMe2XmyFiQiXErMRLM2BOqQdW3iGBUqfeHtxu1Jv87vokVTA@mail.gmail.com>
     [not found]     ` <CANTMe2VT27m=f=D=u_fD6mTYoWw7QQUcc-bFbhir0QrPV=MMtw@mail.gmail.com>
2018-10-30 22:34       ` Peter Seiderer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.