[PATCH libinput 1.8] tools: Fix race in (autotools) install

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 15 08:00:56 UTC 2017


On Wed, Aug 09, 2017 at 10:05:14AM +0300, Jussi Kukkonen wrote:
> exec/data distinction is done based on install dir so compat scripts
> must be moved in exec hook.
> 
> This should fix this occasional failure:
> | install: cannot change permissions of
> | ‘/usr/bin/libinput-debug-events.compat’: No such file or directory
> 
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
> 
> Admittedly not terribly interesting for libinput upstream at this point
> but maybe useful for other downstream users. 

thanks! I've pushed this to the 1.8 branch, will be available in 1.8.2

   cc9a4deb..3dffe368  1.8-branch -> 1.8-branch

Cheers,
   Peter

>  tools/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index 2c8660b..7ee8b90 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -63,7 +63,7 @@ endif
>  
>  EXTRA_DIST = make-ptraccel-graphs.sh install-compat-scripts.sh $(bin_SCRIPTS)
>  
> -install-data-hook:
> +install-exec-hook:
>  	(cd $(DESTDIR)$(bindir) && mv libinput-list-devices.compat libinput-list-devices)
>  	(cd $(DESTDIR)$(bindir) && mv libinput-debug-events.compat libinput-debug-events)
>  
> -- 
> 2.13.3
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 


More information about the wayland-devel mailing list