Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a CI failure for any distro using git >= 2.35.3 #4545

Merged
merged 3 commits into from Apr 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create_containers.yml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions contrib/ci/fedora.sh
Expand Up @@ -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 *
Expand Down
3 changes: 3 additions & 0 deletions plugins/dell/fu-dell-smi.c
Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down