Bump buildroot to 2020.11-rc1 (#985)
* Update buildroot-patches for 2020.11-rc1 buildroot * Update buildroot to 2020.11-rc1 Signed-off-by: Stefan Agner <stefan@agner.ch> * Don't rely on sfdisk --list-free output The --list-free (-F) argument does not allow machine readable mode. And it seems that the output format changes over time (different spacing, using size postfixes instead of raw blocks). Use sfdisk json output and calculate free partition space ourselfs. This works for 2.35 and 2.36 and is more robust since we rely on output which is meant for scripts to parse. * Migrate defconfigs for Buildroot 2020.11-rc1 In particular, rename BR2_TARGET_UBOOT_BOOT_SCRIPT(_SOURCE) to BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT(_SOURCE). * Rebase/remove systemd patches for systemd 246 * Drop apparmor/libapparmor from buildroot-external * hassos-persists: use /run as directory for lockfiles The U-Boot tools use /var/lock by default which is not created any more by systemd by default (it is under tmpfiles legacy.conf, which we no longer install). * Disable systemd-update-done.service The service is not suited for pure read-only systems. In particular the service needs to be able to write a file in /etc and /var. Remove the service. Note: This is a static service and cannot be removed using systemd-preset. * Disable apparmor.service for now The service loads all default profiles. Some might actually cause problems. E.g. the profile for ping seems not to match our setup for /etc/resolv.conf: [85503.634653] audit: type=1400 audit(1605286002.684:236): apparmor="DENIED" operation="open" profile="ping" name="/run/resolv.conf" pid=27585 comm="ping" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
From 93f6bc2b97a2b76a5e725d63d4b6c2dfe7baf63b Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sun, 11 Oct 2015 13:33:19 +0200
|
||||
Subject: [PATCH] configure: add '--disable-runtime-tests' option
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
[Rebased libevdev-1.6.0]
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
configure.ac | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5161d93..2b3bb26 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -76,7 +76,14 @@ else
|
||||
AC_MSG_WARN([check not found - skipping building unit tests])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_VALGRIND, [test "x$VALGRIND" != "x"])
|
||||
-AM_CONDITIONAL(ENABLE_RUNTIME_TESTS, [test "x$HAVE_CHECK" = "xyes"])
|
||||
+
|
||||
+AC_ARG_ENABLE([runtime-tests],
|
||||
+ AS_HELP_STRING([--disable-runtime-tests], [Disable runtime tests]))
|
||||
+AS_IF([test "x$enable_runtime_tests" != "xno"],
|
||||
+ [enable_runtime_tests=yes],
|
||||
+ [enable_runtime_tests=no])
|
||||
+
|
||||
+AM_CONDITIONAL(ENABLE_RUNTIME_TESTS, [test "x${enable_runtime_tests}x$HAVE_CHECK" = "xyesxyes"])
|
||||
AM_CONDITIONAL(ENABLE_STATIC_LINK_TEST, [test "x$enable_static" = "xyes"])
|
||||
|
||||
with_cflags=""
|
||||
@@ -162,7 +169,7 @@ AC_MSG_RESULT([
|
||||
Libdir ${libdir}
|
||||
|
||||
Build documentation ${have_doxygen}
|
||||
- Enable unit-tests ${HAVE_CHECK}
|
||||
+ Enable unit-tests ${HAVE_CHECK} (runtime-tests: ${enable_runtime_tests})
|
||||
Enable profiling ${enable_gcov}
|
||||
Static library symbol check ${static_symbol_leaks_test}
|
||||
])
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# From https://lists.freedesktop.org/archives/input-tools/2019-August/001521.html
|
||||
md5 879631080be18526737e33b63d848039 libevdev-1.8.0.tar.xz
|
||||
sha1 4392d28fb91a5f6eb404aab531526f5fa0bbe73d libevdev-1.8.0.tar.xz
|
||||
sha256 20d3cae4efd277f485abdf8f2a7c46588e539998b5a08c2c4d368218379d4211 libevdev-1.8.0.tar.xz
|
||||
sha512 8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4 libevdev-1.8.0.tar.xz
|
||||
# From https://lists.freedesktop.org/archives/input-tools/2020-October/001545.html
|
||||
md5 c6239ef0d61c4f4911f25bb8426a0b82 libevdev-1.10.0.tar.xz
|
||||
sha1 3eedd43652a238f687595ffd722fd3bb94359216 libevdev-1.10.0.tar.xz
|
||||
sha256 3522c26e2c148be0ad68ce26fbced408a4185dea90bfe8079dc82b8ace962d4a libevdev-1.10.0.tar.xz
|
||||
sha512 94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f libevdev-1.10.0.tar.xz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 f063d1279b31e73007e1c54493391818b4cb5f9162d590120397e0347b932137 COPYING
|
||||
sha256 f063d1279b31e73007e1c54493391818b4cb5f9162d590120397e0347b932137 COPYING
|
||||
|
||||
@@ -4,20 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEVDEV_VERSION = 1.8.0
|
||||
LIBEVDEV_VERSION = 1.10.0
|
||||
LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev
|
||||
LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz
|
||||
LIBEVDEV_LICENSE = X11
|
||||
LIBEVDEV_LICENSE_FILES = COPYING
|
||||
|
||||
# patch touches configure.ac
|
||||
LIBEVDEV_AUTORECONF = YES
|
||||
|
||||
# Uses PKG_CHECK_MODULES() in configure.ac
|
||||
LIBEVDEV_DEPENDENCIES = host-pkgconf host-python
|
||||
LIBEVDEV_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY)
|
||||
|
||||
LIBEVDEV_INSTALL_STAGING = YES
|
||||
|
||||
LIBEVDEV_CONF_OPTS += --disable-runtime-tests
|
||||
LIBEVDEV_CONF_OPTS += \
|
||||
-Dtests=disabled \
|
||||
-Ddocumentation=disabled \
|
||||
-Dcoverity=false
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user