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,58 +0,0 @@
|
||||
From 5fec22461a6d8d1045c849e468436b00ec7f9616 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 1 Apr 2018 20:11:21 +0200
|
||||
Subject: [PATCH] build/CMakeLists.txt: don't install source and license
|
||||
|
||||
The CMakeLists.txt has the interesting (weird?) idea of installing the
|
||||
license to /usr/LICENSE and the source code to /usr/src/, which is a
|
||||
bit annoying. Let's not install such things.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
build/CMakeLists.txt | 30 ------------------------------
|
||||
1 file changed, 30 deletions(-)
|
||||
|
||||
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
|
||||
index a6736a0b..3de79f3e 100644
|
||||
--- a/build/CMakeLists.txt
|
||||
+++ b/build/CMakeLists.txt
|
||||
@@ -473,36 +473,6 @@ if (WITH_BINARY)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
-install(FILES ../LICENSE
|
||||
- DESTINATION .
|
||||
- COMPONENT Runtime
|
||||
- )
|
||||
-# Take a copy on Appveyor
|
||||
-install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
|
||||
- DESTINATION .
|
||||
- COMPONENT Runtime
|
||||
- RENAME LICENSE_OPENSSL
|
||||
- OPTIONAL # for local builds only!
|
||||
- )
|
||||
-
|
||||
-file(GLOB_RECURSE I2PD_SOURCES "../libi2pd/*.cpp" "../libi2pd_client/*.cpp" "../daemon/*.cpp" "../build" "../Win32" "../Makefile*")
|
||||
-install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
|
||||
-# install(DIRECTORY ../ DESTINATION src/
|
||||
-# # OPTIONAL
|
||||
-# COMPONENT Source FILES_MATCHING
|
||||
-# PATTERN .git EXCLUDE
|
||||
-# PATTERN "*.cpp"
|
||||
-# )
|
||||
-
|
||||
-file(GLOB I2PD_HEADERS "../libi2pd/*.h" "../libi2pd_client/*.h" "../daemon/*.h")
|
||||
-install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
|
||||
-# install(DIRECTORY ../ DESTINATION src/
|
||||
-# # OPTIONAL
|
||||
-# COMPONENT Headers FILES_MATCHING
|
||||
-# PATTERN .git EXCLUDE
|
||||
-# PATTERN "*.h"
|
||||
-# )
|
||||
-
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Purple I2P, a C++ I2P daemon")
|
||||
set(CPACK_PACKAGE_VENDOR "Purple I2P")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../README.md")
|
||||
--
|
||||
2.14.3
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# From https://github.com/PurpleI2P/i2pd/releases/download/2.33.0/SHA512SUMS
|
||||
sha512 7a3e7a8a908be8a12b675fda4ce923cb2b0eaf3e9b12a513b9ae7b56e9ecb593eef0ea278debb4027406d50ee9a46599a6792a54ce2e2f4e2c44c1fc82479910 i2pd-2.33.0.tar.gz
|
||||
# Locally computed:
|
||||
sha256 fd0474c33b411593b9dc8197f3799d37d68455c11a9ee3994ec993a96388ec06 i2pd-2.29.0.tar.gz
|
||||
sha256 d147a6acdaf8ec9f6513802ef6cad4a4afcdb5ab6b98d9f6bb26d2b7f4cf454c LICENSE
|
||||
sha256 d147a6acdaf8ec9f6513802ef6cad4a4afcdb5ab6b98d9f6bb26d2b7f4cf454c LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
I2PD_VERSION = 2.29.0
|
||||
I2PD_VERSION = 2.33.0
|
||||
I2PD_SITE = $(call github,PurpleI2P,i2pd,$(I2PD_VERSION))
|
||||
I2PD_LICENSE = BSD-3-Clause
|
||||
I2PD_LICENSE_FILES = LICENSE
|
||||
|
||||
Reference in New Issue
Block a user