From: Stefan Schmidt Date: Thu, 10 Feb 2011 15:45:38 +0000 (+0100) Subject: usb-modeswitch-data: Patch makefile to use portable install options. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a5cfd3156cecb9434a59f0aee62328dbf800f4f;p=openembedded.git usb-modeswitch-data: Patch makefile to use portable install options. Without this it fails with our install wrapper whcih does only support portable options. --- diff --git a/recipes/usb-modeswitch/usb-modeswitch-data/fix-install-in-makefile.patch b/recipes/usb-modeswitch/usb-modeswitch-data/fix-install-in-makefile.patch new file mode 100644 index 0000000000..fd11f11260 --- /dev/null +++ b/recipes/usb-modeswitch/usb-modeswitch-data/fix-install-in-makefile.patch @@ -0,0 +1,22 @@ +Index: usb-modeswitch-data-20100826/Makefile +=================================================================== +--- usb-modeswitch-data-20100826.orig/Makefile 2011-02-10 16:33:59.000000000 +0100 ++++ usb-modeswitch-data-20100826/Makefile 2011-02-10 16:39:24.000000000 +0100 +@@ -18,14 +18,14 @@ + + files-install: + install -d $(ETCDIR)/usb_modeswitch.d +- install -D --mode=644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules ++ install -D -m 644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules + + db-install: +- install --mode=644 -t $(ETCDIR)/usb_modeswitch.d ./usb_modeswitch.d/* ++ install -m 644 ./usb_modeswitch.d/* $(ETCDIR)/usb_modeswitch.d + + db-install-packed: + cd ./usb_modeswitch.d; tar -czf ../configPack.tar.gz * +- install --mode=644 -t $(ETCDIR)/usb_modeswitch.d ./configPack.tar.gz ++ install -m 644 ./configPack.tar.gz $(ETCDIR)/usb_modeswitch.d + rm -f ./configPack.tar.gz + + diff --git a/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb b/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb index 2383edb736..91c41d2a76 100644 --- a/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb +++ b/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb @@ -4,9 +4,11 @@ RDEPENDS_${PN} = "\ usb-modeswitch \ tcl \ " -PR="r1" +PR="r2" -SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2" +SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2 \ + file://fix-install-in-makefile.patch \ + " SRC_URI[md5sum] = "85c16bb87a6f05c2d04b93a22fe87e91" SRC_URI[sha256sum] = "a81821d3d9ad9e1d3a31ea11d0da9841ca84350f0b445a8f9ea2dbd142cefb46"