diff options
Diffstat (limited to 'meta-toradex-extras')
3 files changed, 58 insertions, 3 deletions
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf index 3a43fd7e..ef241bec 100644 --- a/meta-toradex-extras/conf/layer.conf +++ b/meta-toradex-extras/conf/layer.conf @@ -39,8 +39,8 @@ BBFILE_COLLECTIONS += "b2qt_toradex" BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" BBFILE_PRIORITY_b2qt_toradex = "20" -LAYERSERIES_COMPAT_b2qt_toradex = "sumo" +LAYERSERIES_COMPAT_b2qt_toradex = "thud" # override toradex layer COMPATs -LAYERSERIES_COMPAT_toradex-bsp-common-layer = "sumo" -LAYERSERIES_COMPAT_toradex-nxp-layer = "sumo" +LAYERSERIES_COMPAT_toradex-bsp-common-layer = "thud" +LAYERSERIES_COMPAT_toradex-nxp-layer = "thud" diff --git a/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch b/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch new file mode 100644 index 00000000..ef7e541d --- /dev/null +++ b/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch @@ -0,0 +1,22 @@ +From 2a9d175360f1ed3ef85e336a329a9e803226096e Mon Sep 17 00:00:00 2001 +From: Max Krummenacher <max.oss.09@gmail.com> +Date: Thu, 29 Oct 2015 19:38:50 +0100 +Subject: [PATCH] systemd-udevd.service.in: set MountFlags=shared + +This allows for udevd automounting of drives accessible to all. +--- + units/systemd-udevd.service.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in +index 6a3814e5d9..e3f3ad3293 100644 +--- a/units/systemd-udevd.service.in ++++ b/units/systemd-udevd.service.in +@@ -25,7 +25,6 @@ ExecStart=@rootlibexecdir@/systemd-udevd + KillMode=mixed + WatchdogSec=3min + TasksMax=infinity +-PrivateMounts=yes + MemoryDenyWriteExecute=yes + RestrictRealtime=yes + RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 diff --git a/meta-toradex-extras/recipes/systemd/systemd_%.bbappend b/meta-toradex-extras/recipes/systemd/systemd_%.bbappend new file mode 100644 index 00000000..52e23dc7 --- /dev/null +++ b/meta-toradex-extras/recipes/systemd/systemd_%.bbappend @@ -0,0 +1,33 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += " \ + file://0001-systemd-udevd.service.in-set-MountFlags-shared.patch \ +" |