mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 15:52:54 +00:00
* A new connection status dispatcher setup is provided, where users can
provide custom scripts that will be called on bearer connect/disconnect
events. This dispatcher will make the netifd integration in openwrt work
much better, as we'll be able to report network-initiated disconnections
cleanly to netifd.
There are no default connection status dispatcher scripts installed, but
it's suggested distributions make sure the following directories exist:
- ${sysconfdir}/ModemManager/connection.d/
- ${libdir}/ModemManager/connection.d/
* API:
** Add missing Simple interface definitions in ModemManager-names.h.
* Build:
** meson: fix daemon enums dependencies.
** meson: fix port enums includes.
** meson: fix 'export_packages' in GIR setup.
** meson: fix simtech plugin module name.
** systemd: don't run ModemManager in containers.
* Core:
** serial: ensure the port object is valid after BUFFER_FULL handling.
** netlink: use unaligned netlink attribute length.
** netlink: only change IFF_UP flag.
** bearer: match unknown auth to chap in loose comparisons.
** charsets: return error if UTF-8 validation fails.
** fcc-unlock: make scripts POSIX shell compatible.
** modem-helpers: consider minimum ID when choosing best profile.
** modem-helpers: fix reading <Act> given in COPS=? responses.
** sms: prevent crash if date is out of range.
** profile-manager: fix copy-paste error on tags for quarks.
* QMI:
** Ignore slot status indications until initial status is known.
** Return error when loading capabilities if none is found.
* MBIM:
** Default initial EPS bearer's auth to chap when unknown.
** Update default error when network error is out of range.
* mmcli:
** Fix key length when printing list of items.
* Plugins:
** linktop: new port type hints.
** cinterion: add support for PLSx3w modems
** huawei: disable +CPOL based features in Huawei E226
* Several other minor improvements and fixes.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
71 lines
2.2 KiB
Diff
71 lines
2.2 KiB
Diff
From 35173fa04d0116ba30a86dc1a19f859f2be14a24 Mon Sep 17 00:00:00 2001
|
|
From: "Bruce A. Johnson" <waterfordtrack@gmail.com>
|
|
Date: Wed, 22 Dec 2021 14:24:02 -0500
|
|
Subject: [PATCH] core: switch bash shell scripts to use /bin/sh for use
|
|
w/Busybox.
|
|
|
|
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/483
|
|
|
|
%% original patch: 0001-core-switch-bash-shell-scripts-to-use-bin-sh-for-use.patch
|
|
---
|
|
data/dispatcher-fcc-unlock/105b | 2 +-
|
|
data/dispatcher-fcc-unlock/1199 | 2 +-
|
|
data/dispatcher-fcc-unlock/1eac | 2 +-
|
|
test/mmcli-test-sms | 2 +-
|
|
tools/tests/test-wrapper.sh.in | 2 +-
|
|
5 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/data/dispatcher-fcc-unlock/105b b/data/dispatcher-fcc-unlock/105b
|
|
index 444bd51f..772c90f4 100644
|
|
--- a/data/dispatcher-fcc-unlock/105b
|
|
+++ b/data/dispatcher-fcc-unlock/105b
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
# 2021 Aleksander Morgado <aleksander@aleksander.es>
|
|
diff --git a/data/dispatcher-fcc-unlock/1199 b/data/dispatcher-fcc-unlock/1199
|
|
index 83ab2c9e..6dbf8d1b 100644
|
|
--- a/data/dispatcher-fcc-unlock/1199
|
|
+++ b/data/dispatcher-fcc-unlock/1199
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
# 2021 Aleksander Morgado <aleksander@aleksander.es>
|
|
diff --git a/data/dispatcher-fcc-unlock/1eac b/data/dispatcher-fcc-unlock/1eac
|
|
index 1a048dc8..44ce46d7 100644
|
|
--- a/data/dispatcher-fcc-unlock/1eac
|
|
+++ b/data/dispatcher-fcc-unlock/1eac
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
# 2021 Aleksander Morgado <aleksander@aleksander.es>
|
|
diff --git a/test/mmcli-test-sms b/test/mmcli-test-sms
|
|
index 18e0a7b4..7136ee0d 100755
|
|
--- a/test/mmcli-test-sms
|
|
+++ b/test/mmcli-test-sms
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
print_usage () {
|
|
echo "usage: $0 [MODEM INDEX] [all|ucs2|gsm7|data] [NUMBER]"
|
|
diff --git a/tools/tests/test-wrapper.sh.in b/tools/tests/test-wrapper.sh.in
|
|
index d64ea4cb..fcdb56de 100644
|
|
--- a/tools/tests/test-wrapper.sh.in
|
|
+++ b/tools/tests/test-wrapper.sh.in
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
# For debugging behavior of test-modemmanager-service.py, you can modify
|
|
# this line to add --log-file option
|
|
--
|
|
2.35.3
|
|
|