Bump buidlroot version to 2018.02.6

This commit is contained in:
jbnadal
2018-10-22 14:55:59 +02:00
parent 222960cedb
commit bec94fdb63
6150 changed files with 84803 additions and 117446 deletions

View File

@@ -0,0 +1,43 @@
From c3b3c4581b25d7e62f5c2ce1484133229d5e657a Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Fri, 16 Feb 2018 13:26:23 +0100
Subject: [PATCH] Add a workaround to support uClibc library
uClibc based systems provide only libc.so.0 and libc.so.1
symlinks.
So try to find libc.so.0 if neither libc.so nor libc.so.6
could be found.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
src/watchdog/observers/inotify_c.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/watchdog/observers/inotify_c.py b/src/watchdog/observers/inotify_c.py
index 5f208b6..0dc7b50 100644
--- a/src/watchdog/observers/inotify_c.py
+++ b/src/watchdog/observers/inotify_c.py
@@ -45,7 +45,19 @@ def _load_libc():
try:
return ctypes.CDLL('libc.so')
except (OSError, IOError):
+ pass
+
+ try:
return ctypes.CDLL('libc.so.6')
+ except (OSError, IOError):
+ pass
+
+ # uClibc
+ try:
+ return ctypes.CDLL('libc.so.0')
+ except (OSError, IOError) as err:
+ raise err
+
libc = _load_libc()
--
2.1.4

View File

@@ -1,8 +1,9 @@
config BR2_PACKAGE_PYTHON_WATCHDOG
bool "python-watchdog"
select BR2_PACKAGE_PYTHON_PYYAML
select BR2_PACKAGE_PYTHON_ARGH
select BR2_PACKAGE_PYTHON_PATHTOOLS
select BR2_PACKAGE_PYTHON_ARGH # runtime
select BR2_PACKAGE_PYTHON_PATHTOOLS # runtime
select BR2_PACKAGE_PYTHON_PYYAML # runtime
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
help
Python API and shell utilities to monitor file system events.