Commit cbe5b5b7 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

usb_modeswitch_data: add patch to fix parallel installation

parent 572ba069
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
Properly create the directory before creating it so that parallel
install work fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@
 	install -D --mode=644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules
 
 db-install:
+	install -d $(PREFIX)/share/usb_modeswitch
 	install --mode=644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/*
 
 db-install-packed: