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,45 +0,0 @@
|
||||
From 4d330d0d3155211f119b3082f728ae42dcc01e96 Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Mosnacek <omosnace@redhat.com>
|
||||
Date: Thu, 23 Jan 2020 13:57:15 +0100
|
||||
Subject: [PATCH] checkpolicy: remove unused te_assertions
|
||||
|
||||
This variable is declared in a header file, but never defined or used.
|
||||
The te_assert structure definition is only used in this declaration, so
|
||||
remove both.
|
||||
|
||||
Upstream: https://github.com/SELinuxProject/selinux/commit/4d330d0d3155211f119b3082f728ae42dcc01e96#diff-daf264ea505347df0d59a3a97a07742e
|
||||
|
||||
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
|
||||
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
|
||||
---
|
||||
checkpolicy.h | 14 --------------
|
||||
1 file changed, 14 deletions(-)
|
||||
|
||||
diff --git a/checkpolicy.h b/checkpolicy.h
|
||||
index 3868f1fa..f127687e 100644
|
||||
--- a/checkpolicy.h
|
||||
+++ b/checkpolicy.h
|
||||
@@ -1,20 +1,6 @@
|
||||
#ifndef _CHECKPOLICY_H_
|
||||
#define _CHECKPOLICY_H_
|
||||
|
||||
-#include <sepol/policydb/ebitmap.h>
|
||||
-
|
||||
-typedef struct te_assert {
|
||||
- ebitmap_t stypes;
|
||||
- ebitmap_t ttypes;
|
||||
- ebitmap_t tclasses;
|
||||
- int self;
|
||||
- sepol_access_vector_t *avp;
|
||||
- unsigned long line;
|
||||
- struct te_assert *next;
|
||||
-} te_assert_t;
|
||||
-
|
||||
-te_assert_t *te_assertions;
|
||||
-
|
||||
extern unsigned int policyvers;
|
||||
|
||||
#endif
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
sha256 a946c32b284532447857e4c48830f8816867c61220c8c08bdd32e6f691335f8e checkpolicy-2.9.tar.gz
|
||||
sha256 dfc7707070520c93b14fbbdfdbe081364d806bf28e3e79e10318c2594c77bbb2 checkpolicy-3.1.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CHECKPOLICY_VERSION = 2.9
|
||||
CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/20190315
|
||||
CHECKPOLICY_VERSION = 3.1
|
||||
CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710
|
||||
CHECKPOLICY_LICENSE = GPL-2.0
|
||||
CHECKPOLICY_LICENSE_FILES = COPYING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user