diff options
Diffstat (limited to 'meta/recipes-core/udev/udev/add-install-ptest.patch')
-rw-r--r-- | meta/recipes-core/udev/udev/add-install-ptest.patch | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev/add-install-ptest.patch b/meta/recipes-core/udev/udev/add-install-ptest.patch index 0f8e9b6588..755946a4d7 100644 --- a/meta/recipes-core/udev/udev/add-install-ptest.patch +++ b/meta/recipes-core/udev/udev/add-install-ptest.patch | |||
@@ -8,19 +8,32 @@ Signed-off-by: Björn Stenberg <bjst@enea.com> | |||
8 | Signed-off-by: Alexandra Safta <alst@enea.com> | 8 | Signed-off-by: Alexandra Safta <alst@enea.com> |
9 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
10 | 10 | ||
11 | Add missing files for rule-syntax-check | ||
12 | - Add rule-syntax-check.py | ||
13 | - Add the deployed udev rules to the testdata | ||
14 | |||
15 | Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> | ||
16 | Upstream-Status: Pending | ||
11 | --- a/Makefile.am 2012-03-18 16:28:14.000000000 +0100 | 17 | --- a/Makefile.am 2012-03-18 16:28:14.000000000 +0100 |
12 | +++ b/Makefile.am 2013-02-18 10:03:36.531101244 +0100 | 18 | +++ b/Makefile.am 2013-02-18 10:03:36.531101244 +0100 |
13 | @@ -708,3 +708,11 @@ | 19 | @@ -708,3 +708,18 @@ |
14 | for i in src/docs/html/*.{html,css,png}; do echo $$i; kup put $$i $$i.sign /pub/linux/utils/kernel/hotplug/libudev/; done | 20 | for i in src/docs/html/*.{html,css,png}; do echo $$i; kup put $$i $$i.sign /pub/linux/utils/kernel/hotplug/libudev/; done |
15 | for i in src/gudev/docs/html/*.{html,css,png}; do rm -f $$i.sign; gpg --armor --detach-sign --output=$$i.sign $$i; done | 21 | for i in src/gudev/docs/html/*.{html,css,png}; do rm -f $$i.sign; gpg --armor --detach-sign --output=$$i.sign $$i; done |
16 | for i in src/gudev/docs/html/*.{html,css,png}; do echo $$i; kup put $$i $$i.sign /pub/linux/utils/kernel/hotplug/gudev/; done | 22 | for i in src/gudev/docs/html/*.{html,css,png}; do echo $$i; kup put $$i $$i.sign /pub/linux/utils/kernel/hotplug/gudev/; done |
17 | + | 23 | + |
24 | +RULES = rules/* src/accelerometer/61-accelerometer.rules \ | ||
25 | + src/cdrom_id/60-cdrom_id.rules \ | ||
26 | + src/keymap/95-keyboard-force-release.rules src/keymap/95-keymap.rules \ | ||
27 | + src/mtd_probe/75-probe_mtd.rules src/v4l_id/60-persistent-v4l.rules | ||
28 | + | ||
18 | +install-ptest: | 29 | +install-ptest: |
19 | + install test-udev $(DESTDIR) | 30 | + install test-udev $(DESTDIR) |
20 | + cp Makefile $(DESTDIR) | 31 | + cp Makefile $(DESTDIR) |
21 | + sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/Makefile | 32 | + sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/Makefile |
22 | + $(MKDIR_P) $(DESTDIR)/test | 33 | + install -d $(DESTDIR)/test $(DESTDIR)/rules |
23 | + (cd $(top_srcdir) && install $(TESTS) $(DESTDIR)/test) | 34 | + (cd $(top_srcdir) && install $(TESTS) $(DESTDIR)/test) |
35 | + (cd $(top_srcdir) && install test/rule-syntax-check.py $(DESTDIR)/test) | ||
36 | + (cd $(top_srcdir) && install $(RULES) $(DESTDIR)/rules) | ||
24 | + tar -C $(DESTDIR)/test/ -xJf $(top_srcdir)/test/sys.tar.xz | 37 | + tar -C $(DESTDIR)/test/ -xJf $(top_srcdir)/test/sys.tar.xz |
25 | --- a/test/udev-test.pl 2012-03-18 16:43:36.000000000 +0100 | 38 | --- a/test/udev-test.pl 2012-03-18 16:43:36.000000000 +0100 |
26 | +++ b/test/udev-test.pl 2013-02-18 10:31:29.706357321 +0100 | 39 | +++ b/test/udev-test.pl 2013-02-18 10:31:29.706357321 +0100 |