From 7b3fbe09ede30f4071c27c8d90adc2eb45183ad1 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 22 Apr 2022 16:38:15 +0100 Subject: [PATCH 1/3] Fix a CI failure for any distro using git >= 2.35.3 --- .github/workflows/create_containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_containers.yml b/.github/workflows/create_containers.yml index 5e9c2b8999a..9cc7815b968 100644 --- a/.github/workflows/create_containers.yml +++ b/.github/workflows/create_containers.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: "Generate Dockerfile" env: OS: ${{ matrix.os }} From a586d0cb650dccc0db0bdbab30a97de15f413895 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 22 Apr 2022 19:14:19 +0100 Subject: [PATCH 2/3] trivial: Disable the safe directory feature for CI --- contrib/ci/fedora.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/ci/fedora.sh b/contrib/ci/fedora.sh index f9c3c26e3e4..313ab9d2b8f 100755 --- a/contrib/ci/fedora.sh +++ b/contrib/ci/fedora.sh @@ -5,6 +5,9 @@ set -x #get any missing deps from the container ./contrib/ci/fwupd_setup_helpers.py install-dependencies --yes -o fedora +# disable the safe directory feature +git config --global safe.directory "*" + #generate a tarball mkdir -p build && pushd build rm -rf * From bb6eed27275b93c2606e2629d3bfc592b093e3f0 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Fri, 22 Apr 2022 16:33:03 -0500 Subject: [PATCH 3/3] trivial: dell: ignore a false positve for stringop-overread --- plugins/dell/fu-dell-smi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/dell/fu-dell-smi.c b/plugins/dell/fu-dell-smi.c index 16076d1c97f..5f38b0f8e6e 100644 --- a/plugins/dell/fu-dell-smi.c +++ b/plugins/dell/fu-dell-smi.c @@ -74,6 +74,8 @@ fu_dell_get_res(FuDellSmiObj *smi_obj, guint8 arg) return dell_smi_obj_get_res(smi_obj->smi, arg); } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-overread" gboolean fu_dell_execute_simple_smi(FuDellSmiObj *obj, guint16 class, guint16 select) { @@ -87,6 +89,7 @@ fu_dell_execute_simple_smi(FuDellSmiObj *obj, guint16 class, guint16 select) } return TRUE; } +#pragma GCC diagnostic pop gboolean fu_dell_detect_dock(FuDellSmiObj *smi_obj, guint32 *location)