Bump buildroot to 2019.02
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From cad87bd3d8aa9046af0872e8c22f4a3c8fafdc78 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 4 Dec 2018 22:38:37 +0100
|
||||
Subject: [PATCH] missing.h: add KEY_ALS_TOGGLE
|
||||
|
||||
KEY_ALS_TOGGLE has been added in kernel 4.8 with
|
||||
https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
|
||||
|
||||
So add it to missing.h to fix build with kernel older than 4.8
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/0c0aff02df91cdb869efa01e397f7ccc0d9f69af
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream: https://github.com/gentoo/eudev/commit/2cb6b734de901dda6e631de5dffbd4cb8e165cbb]
|
||||
---
|
||||
src/shared/missing.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
||||
index bebbb42be..b5b2e1194 100644
|
||||
--- a/src/shared/missing.h
|
||||
+++ b/src/shared/missing.h
|
||||
@@ -179,3 +179,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
|
||||
#ifndef INPUT_PROP_MAX
|
||||
#define INPUT_PROP_MAX 0x1f
|
||||
#endif
|
||||
+
|
||||
+#ifndef KEY_ALS_TOGGLE
|
||||
+#define KEY_ALS_TOGGLE 0x7a
|
||||
+#endif
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 981b8b997e119a117fada2731eeeb0475c511c8a Mon Sep 17 00:00:00 2001
|
||||
From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
Date: Tue, 11 Dec 2018 07:56:20 +0100
|
||||
Subject: [PATCH] missing.h: add BTN_DPAD_UP
|
||||
|
||||
As explained in issue 6267 of systemd [1], Linux < 3.11 does not
|
||||
provide definitions for BTN_DPAD_{UP,RIGHT}, which were introduced in
|
||||
[2].
|
||||
|
||||
This patch fixes this issue.
|
||||
|
||||
[1] https://github.com/systemd/systemd/pull/6267
|
||||
[2] https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
|
||||
|
||||
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
---
|
||||
src/shared/missing.h | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
||||
index b5b2e1194..3a83c91a6 100644
|
||||
--- a/src/shared/missing.h
|
||||
+++ b/src/shared/missing.h
|
||||
@@ -183,3 +183,8 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
|
||||
#ifndef KEY_ALS_TOGGLE
|
||||
#define KEY_ALS_TOGGLE 0x7a
|
||||
#endif
|
||||
+
|
||||
+#ifndef BTN_DPAD_UP
|
||||
+#define BTN_DPAD_UP 0x220
|
||||
+#define BTN_DPAD_RIGHT 0x223
|
||||
+#endif
|
||||
--
|
||||
2.17.2
|
||||
|
||||
6
bsp/buildroot/package/eudev/S10udev
Executable file → Normal file
6
bsp/buildroot/package/eudev/S10udev
Executable file → Normal file
@@ -16,10 +16,6 @@
|
||||
# /dev/zero, /dev/null -- that's needed to boot and run this script.
|
||||
#
|
||||
|
||||
# Check for missing binaries
|
||||
UDEV_BIN=/sbin/udevd
|
||||
test -x $UDEV_BIN || exit 5
|
||||
|
||||
# Check for config file and read it
|
||||
UDEV_CONFIG=/etc/udev/udev.conf
|
||||
test -r $UDEV_CONFIG || exit 6
|
||||
@@ -29,7 +25,7 @@ case "$1" in
|
||||
start)
|
||||
printf "Populating %s using udev: " "${udev_root:-/dev}"
|
||||
[ -e /proc/sys/kernel/hotplug ] && printf '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||
$UDEV_BIN -d || { echo "FAIL"; exit 1; }
|
||||
/sbin/udevd -d || { echo "FAIL"; exit 1; }
|
||||
udevadm trigger --type=subsystems --action=add
|
||||
udevadm trigger --type=devices --action=add
|
||||
udevadm settle --timeout=30 || echo "udevadm settle failed"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From http://dev.gentoo.org/~blueness/eudev/
|
||||
md5 6ca08c0e14380f87df8e8aceac123671 eudev-3.2.5.tar.gz
|
||||
md5 c75d99910c1791dd9430d26ab76059c0 eudev-3.2.7.tar.gz
|
||||
# Locally calculated
|
||||
sha256 49c2d04105cad2526302627e040fa24b1916a9a3e059539bc8bb919b973890af eudev-3.2.5.tar.gz
|
||||
sha256 3004614bd253c1f98558460215027aaf60d7592c70be27fd384ec01db87bf062 eudev-3.2.7.tar.gz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
|
||||
@@ -4,15 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EUDEV_VERSION = 3.2.5
|
||||
EUDEV_VERSION = 3.2.7
|
||||
EUDEV_SITE = http://dev.gentoo.org/~blueness/eudev
|
||||
EUDEV_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
|
||||
EUDEV_LICENSE_FILES = COPYING
|
||||
EUDEV_INSTALL_STAGING = YES
|
||||
|
||||
# mq_getattr is in librt
|
||||
EUDEV_CONF_ENV += LIBS=-lrt
|
||||
|
||||
EUDEV_CONF_OPTS = \
|
||||
--disable-manpages \
|
||||
--sbindir=/sbin \
|
||||
|
||||
Reference in New Issue
Block a user