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

Add support for loongarch64 #1

Open
wants to merge 204 commits into
base: la64/main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
9b8d2d7
redfish: Attempt to replace the fwupd KCS user if required
vincent-tang1 Nov 21, 2023
784a8da
vli:pd_skips_rom
Nov 23, 2023
7aa4267
Add support for loongarch64
yetist May 12, 2022
610fc95
Change PID of Twinkies mouse & keyboard.
sam412081go Nov 24, 2023
d69ef3c
trivial: Move the FuArchive enums to Rust format
hughsie Nov 24, 2023
b60ddcf
Do not send requests when the sender is no longer alive
hughsie Nov 24, 2023
3827ffb
trivial: Add FuProgressFlags to Rust format
hughsie Nov 24, 2023
e90fdd5
amd-gpu: Fix probing mistake
superm1 Nov 25, 2023
f80092f
trivial: Move another enum to Rust format
hughsie Nov 23, 2023
459a6d4
trivial: Move some helper code out of fu-engine.c
hughsie Nov 23, 2023
517eea7
trivial: Move the requirement code out of fu-engine.c
hughsie Nov 23, 2023
dfec8c0
trivial: Move FuEngineRequestFlag to rust format
hughsie Nov 23, 2023
19891f9
trivial: Fix a leak when calling fu_context_set_runtime_versions() twice
hughsie Nov 23, 2023
8a86ad8
trivial: Set the context when creating the engine
hughsie Nov 23, 2023
315303d
trivial: Move the check of loaded hwids to the context
hughsie Nov 23, 2023
9053bfd
trivial: Add a realistic check for a hardware ID requirement
hughsie Nov 23, 2023
cecb132
trivial: Only store the runtime and compile versions in the context
hughsie Nov 23, 2023
2ba40b9
Add support for not_hardware requirements
hughsie Nov 23, 2023
f6ab8a8
Enforce fwupd version requirements client side
hughsie Nov 25, 2023
0a50a49
Do not allow using hardware and not_hardware at the same time
hughsie Nov 25, 2023
44575bb
trivial: Include GPG and PKCS7 in summary
superm1 Nov 25, 2023
fc5a06f
trivial: debian: add some packaging cleanups for upgrades
superm1 Nov 25, 2023
374a8e8
Do not use the `main-system-firmware` and `cpu` GUIDs
hughsie Nov 25, 2023
fa7924b
trivial: Fix a -Wunused-function in the win32 build
hughsie Nov 26, 2023
da0b0fb
trivial: debian: use 1.9.10~ as version to remove from
superm1 Nov 27, 2023
db75551
trivial: Use default_value when getting pkgconfig values
hughsie Nov 26, 2023
cbc4821
Only apply fastboot plugin to modem devices supporting fastboot
superm1 Nov 26, 2023
78a9ee4
trivial: Use Fedora 38 to build the Windows installer
hughsie Nov 27, 2023
a3dbe0a
trivial: Do not rely on rpath in Windows
hughsie Nov 27, 2023
0156a45
trivial: Do not attempt to fix config file permissions on Windows
hughsie Nov 27, 2023
0ea96df
trivial: Fix a 100% theoretical warning from UndefinedBehaviorSanitizer
hughsie Nov 27, 2023
9fabcd5
aver-hid: Add support for AVer CAM520 Pro3
AVer-V001598 Nov 28, 2023
23e3120
vli:7-in-1 dongle
Nov 28, 2023
5102db3
Fix the warning 'already registered private FuMmDevice flag with value'
hughsie Nov 28, 2023
a5b9389
trivial: Add some more common Winbond SPI chips
hughsie Nov 28, 2023
343ac4b
genesys: Require instance IDs were created properly
hughsie Nov 28, 2023
a6a4cef
genesys: Do not use no-generic-guids for the HID channel device
hughsie Nov 28, 2023
d66501e
genesys: Fix 'failed to get static tool info from device' error
adamgene Nov 28, 2023
7331319
trivial: Add some sanity checks when incorporating
hughsie Nov 28, 2023
f3e9f7e
trivial: Do not assume that the device emitting changed is a FuUdevDe…
hughsie Nov 28, 2023
8e8213e
Fix the 'assertion backend_id != NULL failed' runtime warning
hughsie Nov 28, 2023
79e9c79
Make USB claim retry count configurable across
Nov 21, 2023
f9b675b
Never show a HSI index that is impossible
hughsie Nov 29, 2023
3008ad4
trivial: create HTML docs for device emulation
superm1 Nov 28, 2023
ebaf296
trivial: Fix a critical warning when calling 'fwupdmgr get-details'
hughsie Nov 30, 2023
4780501
Never obsolete the wrong HSI attribute
hughsie Nov 30, 2023
ae3311c
Make all critical warnings into backtraces for non-release builds
hughsie Nov 30, 2023
c5e7e3a
vli:reset_timeout
Dec 1, 2023
c75095e
trivial: Explicitly check for pointers being NULL
hughsie Nov 30, 2023
46c6e8a
trivial: Fall back to the release versions in fu_release_compare
hughsie Nov 30, 2023
a8f57a3
trivial: Only compare device orders if set and different objects
hughsie Nov 30, 2023
c31a8df
Consider the component priority when installing composite updates
hughsie Nov 30, 2023
4fa5ae6
Support per-release priority attributes
hughsie Nov 30, 2023
6c4634e
trivial: Fix loading device problems from JSON
hughsie Dec 1, 2023
466dcbd
trivial: Fix a theoretical division by zero
hughsie Dec 1, 2023
32f9780
ccmx-dmc: Fix potential 'Dereference before null check'
hughsie Dec 1, 2023
ed44cc4
goodix-tp: Fix impossible 'Dereference before null check'
hughsie Dec 1, 2023
9d2d741
Never call fu_device_build_instance_id_full() with a NULL udev subsystem
hughsie Dec 1, 2023
10eeb39
trivial: Fix an impossible 'Dereference null return value'
hughsie Dec 1, 2023
5c2ddd4
trivial: Fix a potential NULL deref from the offline helper
hughsie Dec 1, 2023
e6dd898
trivial: Sprinkle __attribute__((nonnull)) to give a little more comp…
hughsie Nov 27, 2023
73981a9
Fix a critical warning when parsing component tags
hughsie Dec 1, 2023
8a7e0e5
Let the client know what interaction is expected
hughsie Dec 1, 2023
fbafb3d
trivial: Fix oss-fuzz CI
hughsie Dec 1, 2023
f36a227
trivial: Fix a fuzzing timeout in the cab parser
hughsie Dec 1, 2023
14fb10e
trivial: add ability to get a partition name
superm1 Dec 2, 2023
85f9d27
Skip recovery partition when detecting ESP
superm1 Dec 2, 2023
9a708cb
trivial: debian: drop udev rules line in fwupd.install
superm1 Dec 2, 2023
1b1f7de
trivial: Check fu_volume_get_partition_kind() is non-NULL
hughsie Dec 3, 2023
a9146c6
trivial: Only define G_GNUC_NON_NULL for non-SUPPORTED builds
hughsie Dec 3, 2023
75308f2
trivial: Show some debugging on why we skipped refreshing remotes
hughsie Dec 3, 2023
d0d240a
Skip refreshing remotes in fwupdtool when the mtime is less than the age
hughsie Dec 3, 2023
dd44f36
trivial: Do not use fu_console_set_progress_title() when non-interative
hughsie Dec 3, 2023
ca70db4
trivial: Do not ever use fu_console_refresh() when non-interactive
hughsie Dec 3, 2023
a8eea47
Compare the HID report value when checking for duplicates
hughsie Nov 22, 2023
4d84321
Parse larger HID descriptors
hughsie Nov 22, 2023
8afede8
Release fwupd 1.9.10
hughsie Dec 4, 2023
5fd26aa
trivial: post release version bump
hughsie Dec 4, 2023
fa97f36
Correctly mark the CPU as supported
hughsie Dec 4, 2023
5471485
trivial: Fix possible critical warning when parsing invalid archives
hughsie Dec 5, 2023
426d7f5
trivial: Always seek to an absolute offset in fu_bytes_get_contents_s…
hughsie Dec 5, 2023
7907c48
trivial: Add a GError to fu_cabinet_get_silo()
hughsie Dec 5, 2023
74bf7ac
trivial: Allow setting default values on rustgen reserved members
hughsie Dec 5, 2023
1a71dbb
trivial: Convert IFD parsing to Rust format
hughsie Dec 5, 2023
f1faf5c
trivial: Always seek to the correct offset in fu_bytes_get_contents_s…
hughsie Dec 5, 2023
bb8521d
trivial: Always use project version for docgen
superm1 Dec 6, 2023
bbe1e49
trivial: Fix a 404 on https://fwupd.github.io/libfwupdplugin/supermic…
superm1 Dec 6, 2023
e43e91a
trivial: Add some GInputStream helpers for future use
hughsie Dec 6, 2023
55caee8
Allow storing a GInputStream on the FuFirmware
hughsie Dec 6, 2023
20bfc8f
Add FuPartialInputStream for future use
hughsie Dec 6, 2023
114c6c4
uefi-capsule: Prefer esp volumes over msftdata when choosing the default
hughsie Dec 7, 2023
cfbc7b5
trivial: Make the error more helpful when setting EspLocation=/dev/vda2
hughsie Dec 7, 2023
e3c4029
mtd: Only open the device O_RDWR if writable
hughsie Dec 7, 2023
de388d6
intel-spi: Remove the SPIBAR proxy support
hughsie Dec 7, 2023
1e555ca
Add some more recovery partition names to ignore
hughsie Dec 7, 2023
0761291
fu-release: match community branches
DylanVanAssche Dec 7, 2023
90bf704
trivial: Add a rust 'ParseStream' trait for future use
hughsie Dec 6, 2023
9c1aadb
trivial: Add a rust 'ValidateStream' trait for future use
hughsie Dec 6, 2023
896cfd8
Add FuCompositeInputStream for future use
hughsie Dec 6, 2023
98d2215
trivial: Use FuChunkArray when calculating the Cab checksum
hughsie Dec 6, 2023
0128b2b
trivial: Add a GError to fu_chunk_array_index()
hughsie Dec 6, 2023
8e89946
Fail the update if version doesn't match expected
d4s Dec 7, 2023
0999725
trivial: Never return more data than requested from fu_bytes_get_cont…
hughsie Dec 8, 2023
63f2a86
trivial: Add fu_firmware_parse_stream() to allow loading large files
hughsie Dec 8, 2023
d867660
trivial: Use fu_firmware_parse_file() in the gcab CLI
hughsie Dec 8, 2023
1693232
trivial: Revert back to using a byte buffer for the cabinet CRC
hughsie Dec 8, 2023
b14dc41
trivial: Reduce the amount of verbose debugging when loading streams
hughsie Dec 8, 2023
b2bca00
trivial: Do not overread the stream when converting to bytes
hughsie Dec 10, 2023
ecc4f3b
trivial: Make FuPartialInputStream and FuCompositeInputStream more st…
hughsie Dec 9, 2023
b9287cf
trivial: Add fu_chunk_array_new_from_stream() for future usage
hughsie Dec 8, 2023
9acd75b
Match Lenovo `PQSERVICE` partition to skip ESP selection as well.
superm1 Dec 11, 2023
5b4045b
trivial: Refactor the code so that FuCabinet is loaded, not XbSilo
hughsie Dec 6, 2023
a3200e1
Add fu_unix_seekable_input_stream_new() for future use
hughsie Dec 11, 2023
3cfb52a
trivial: Fix parsing IFWI firmware from OptionROM
hughsie Dec 11, 2023
0cdd0ed
trivial: Only set the FuFirmware:stream from parse
hughsie Dec 11, 2023
af3f266
trivial: Check the firmware magic when falling back from a stream parse
hughsie Dec 11, 2023
509db1a
trivial: Use the stream in fu_firmware_get_bytes_with_patches()
hughsie Dec 11, 2023
fda21d2
trivial: Post-branch version bump
hughsie Dec 11, 2023
8abcd30
trivial: correct the `RELEASE` steps for the correct jobs
superm1 Dec 11, 2023
e96e159
trivial: debian: make abi changes more invisible
superm1 Dec 11, 2023
73a3468
trivial: Fix up the Since API versions post-branch
hughsie Dec 12, 2023
a0dd01a
trivial: Correctly validate structures of structures in all cases
hughsie Dec 12, 2023
c54b969
trivial: Use ValidateInternal from ParseInternal
hughsie Dec 12, 2023
0997ebf
Fix miscalculation fui-mei-device timeout (200 seconds -> 200 millise…
schultetwin Dec 13, 2023
9d25274
trivial: Rename FuFirmwareClass->check_magic to ->validate
hughsie Dec 14, 2023
ce389a8
trivial: Add fu_input_stream_read_uXX helpers
hughsie Dec 14, 2023
09fe479
trivial: Add fu_input_stream_read_bytes() for future use
hughsie Dec 14, 2023
794d46b
trivial: Add fu_firmware_get_image_by_idx_stream() for future use
hughsie Dec 14, 2023
c61a5e8
trivial: Add fu_input_stream_chunkify() for future usage
hughsie Dec 14, 2023
063a9f7
aver-hid: Add support for AVer VB342 Pro
luswdev Dec 15, 2023
7063222
redfish: Do not request the Advantech BMC to reboot
hughsie Dec 14, 2023
1022998
trivial: debian: depend on valgrind-if-available
superm1 Dec 16, 2023
1d981f1
trivial: debian: migrate more stuff into fwupd.maintscript
superm1 Dec 16, 2023
7ac793f
trivial: debian: remove the dell-esrt.conf on upgrade
superm1 Dec 16, 2023
7ecc3b2
trivial: debian: move uefi capsule conffile migration to fwupd.maints…
superm1 Dec 16, 2023
65d038f
trivial: debian: remove code from fwupdate->fwupd transition
superm1 Dec 16, 2023
7f45b6c
cpu: Check for x86 CPUs when running security checks
superm1 Dec 11, 2023
d78c0ee
Apply CET and SMAP to non-Intel x86 processors too
superm1 Dec 11, 2023
b5af85e
trivial: Rename CET active to explain what's happening
superm1 Dec 11, 2023
e712f0a
trivial: update CET/SMAP docs to refer to non-Intel
superm1 Dec 11, 2023
3eb5b16
trivial: fix CET enabled to be supported / not supported
superm1 Dec 11, 2023
64c3729
trivial: make unknown results warnings instead of criticals
superm1 Dec 11, 2023
703c4cb
Remove deprecated API from libfwupd
hughsie Dec 11, 2023
9ddd58e
Do not show spurious device request flags
hughsie Dec 18, 2023
b4731ae
Disable the ABI checks until we tag for 2.0.0
hughsie Dec 18, 2023
acb92c6
build(deps): bump github/codeql-action from 2 to 3
dependabot[bot] Dec 18, 2023
9904c0b
build(deps): bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 18, 2023
b768173
build(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 18, 2023
741a1d3
trivial: Do not print duplicate alignment tags
hughsie Dec 19, 2023
e91c881
trivial: Fix parsing EFI volumes with offset supplied
hughsie Dec 19, 2023
ca9d0e5
trivial: Skip all rustgen methods when building docs
hughsie Dec 19, 2023
87fd4c7
trivial: Use byte offsets when validating base items
hughsie Dec 19, 2023
da989ae
Support large sections in EFI FFS3 volumes
hughsie Dec 19, 2023
b789b94
trivial: Fix a fuzzer-detected read-overflow
hughsie Dec 19, 2023
4b4c9b1
trivial: Fall back to the stream when using fu_firmware_get_bytes_wit…
hughsie Dec 19, 2023
096a42e
trivial: Fall back to the bytes when using fu_firmware_get_stream()
hughsie Dec 19, 2023
5c67c7d
trivial: Do not rely on composite input stream doing the right thing
hughsie Dec 19, 2023
777c338
Check the GType was valid from the quirk file
hughsie Dec 19, 2023
c80bff3
Add missing build dependency to fwupdplugin-self-test
nicholasbishop Dec 19, 2023
7993c18
trivial: Fix -Werror=sign-compare in rustgen ParseStream
hughsie Dec 19, 2023
ebbc792
trivial: Do not call FuUdevDevice->probe twice from DP AUX devices
hughsie Dec 20, 2023
1b069bf
synaptics-mst: Speed up device enumeration
hughsie Dec 20, 2023
86832cb
Speed up FuIOChannel when reading from devices
hughsie Dec 20, 2023
a450d55
trivial: Fix a log message to reflect reality
hughsie Dec 21, 2023
04af642
trivial: Remove dead options from the README
hughsie Dec 18, 2023
6a5ba31
synaptics-mst: Allow overwriting the device name from the quirk file
hughsie Dec 15, 2023
33d8b80
synaptics-mst: Allow updating devices for whitebox customers
hughsie Dec 21, 2023
cc1222a
synaptics-mst: Add support for the Luxshare Quad USB4 Dock
hughsie Dec 15, 2023
68fa79a
Allow exporting 'offline' reports for manual upload
hughsie Dec 21, 2023
1f00c5d
trivial: Add --sign support for exported reports
superm1 Dec 21, 2023
b69b455
Include the offline report in an archive
hughsie Dec 21, 2023
2868581
trivial: Show the NO_PROBE_COMPLETE message in non-supported builds
hughsie Dec 23, 2023
19aa824
Deallocate the GUdevDevice after the probe has completed
hughsie Dec 23, 2023
cda6bb6
amd-gpu: Set the GPU name from libdrm
superm1 Dec 22, 2023
cb7060f
trivial: fix a spurious warning argument in fu_udev_device_get_dev
superm1 Dec 25, 2023
1aed63c
trivial: contrib/vscode: fix fwupdtool launch
superm1 Dec 26, 2023
94e688f
trivial: keep udev object around for PSP and MEI devices
superm1 Dec 27, 2023
34c7c60
trivial: fwupdtool: Start engine for esp-list command
superm1 Dec 26, 2023
f1cf3e3
trivial: Do not show a NULL volume ID
hughsie Dec 29, 2023
b87cc87
Show a better error when ESP is missing
superm1 Dec 28, 2023
f89bae6
Fix a segfault when using zlib-ng instead of zlib
hughsie Dec 29, 2023
153ffd3
trivial: Lower the 'lowest possible' expected efivar free space
hughsie Dec 29, 2023
03c6852
trivial: vscode: set `LD_LIBRARY_PATH` properly in launcher
superm1 Dec 30, 2023
2f6b63e
synaptics-mst: Add board ID firmware offset for Cayenne and Spyder
CloudExt Dec 25, 2023
3d037bd
Parse all HID descriptors looking for a CFU section
hughsie Nov 22, 2023
d5f32f8
trivial: Fix synaptics-mst fuzzer
hughsie Dec 31, 2023
dfbec3d
trivial: Set a maximum size for a HID descriptor
hughsie Jan 1, 2024
baf91b6
bugfix: remove unused device
CragW Jan 2, 2024
e8c45d7
Don't offer to change BIOS settings that are already set
superm1 Jan 2, 2024
227dc7e
algoltek-usb: Add a new plugin for updating Algoltek ASIC firmware
MasonLyu Jan 2, 2024
6d6ae7c
trivial: Remove inalid NULL check from uXX stream reading
hughsie Jan 2, 2024
08264f5
trivial: Add some more info to the GENERIC_MESSAGE developer warning
hughsie Jan 2, 2024
62f6f19
Reduce memory usage when loading large firmware
hughsie Dec 4, 2023
117bd29
trivial: Fix elantp and elanfp oss-fuzz targets
hughsie Jan 2, 2024
e035a7a
Assume the legacy LVFS::UpdateRequestId tag is a non-generic ID
hughsie Jan 2, 2024
2e13d72
Allow subclassed devices to *add* rather than *replace* FuUdevDevice …
hughsie Dec 7, 2023
582e92d
trivial: set fingerprint reader in Framework laptops as will-disappear
superm1 Dec 22, 2023
8262b76
bcm57xx: Never use /dev/mem when not in recovery mode
hughsie Dec 24, 2023
22c0851
Add some documentation for the Windows CI deliverable
hughsie Nov 28, 2023
5f96343
bcm57xx: Ask the user to shutdown for 30 seconds to force a reset
hughsie Jan 2, 2024
b74fdf8
dpaux: Set name from fu-udev-device instead
superm1 Jan 2, 2024
9586702
synaptics-mst: Don't fail on probing downstream MST ports
superm1 Jan 2, 2024
75e673a
jabra: Fix installing to Jabra 410, 510, 710 and 810 devices
hughsie Jan 2, 2024
54073c4
LoongArch: Replace __loongarch64 with __loongarch_lp64
yetist May 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

build-windows:
docker:
- image: fedora:39
- image: fedora:38
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fuzz-seconds: 150
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

Expand All @@ -43,4 +43,4 @@ jobs:
ninja

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
14 changes: 0 additions & 14 deletions .github/workflows/pull-request-reviews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@ jobs:
source venv/bin/activate
sed -i "/no-commit-to-branch/,+1d" .pre-commit-config.yaml
pre-commit run --hook-stage commit --all-files
abi:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Refresh dependencies
run: sudo apt update
- name: Install dependencies
run: |
sudo ./contrib/ci/fwupd_setup_helpers.py install-dependencies -o ubuntu --yes
sudo ./contrib/ci/fwupd_setup_helpers.py test-meson
- name: Check ABI
run: ./contrib/ci/check-abi $(git describe --abbrev=0 --tags) $(git rev-parse HEAD)

snap:
uses: ./.github/workflows/snap.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
ln -s ../contrib/snap/snapcraft.yaml snap/snapcraft.yaml
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
Expand All @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ inputs.deploy }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
id: download
with:
name: snap
Expand Down
8 changes: 4 additions & 4 deletions RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ fwupd Release Notes

Forking stable branch:

When forking main into a stable 1_9_X, be sure to disable the following CI jobs:
* publish-docs
* publish-stable
When forking main into a stable 2_1_X, be sure to disable the following CI jobs:
* publish-docs (`.circleci/config.yml`)
* deploy-store (`snap.yaml`)

Also update `SECURITY.md`, removing the oldest branch and add the new branch at the top.
To make sure it's done right, you can reference commit 433e809318c68c9ab6d4ae50ee9c4312503185d8
Expand All @@ -28,7 +28,7 @@ git add ../po/*.po
2. Commit changes to git:

# MAKE SURE THIS IS CORRECT
export release_ver="1.9.10"
export release_ver="2.0.0"

git commit -a -m "Release fwupd ${release_ver}" --no-verify
git tag -s -f -m "Release fwupd ${release_ver}" "${release_ver}"
Expand Down
9 changes: 5 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ If you have any concerns please let us know.

## Supported Versions

The `main`, and `1.8.x`, branches are fully supported by the upstream authors
The `main`, and `1.9.x`, branches are fully supported by the upstream authors
with all unstable code belonging in `wip` branches.
Additionally, the `1.6.x` and `1.7.x` branches are supported for security fixes.
Additionally, the `1.7.x` and `1.8.x` branches are supported for security fixes.

| Version | Supported |
| ------- | ------------------ |
| 2.0.x | :heavy_check_mark: |
| 1.9.x | :heavy_check_mark: |
| 1.8.x | :heavy_check_mark: |
| 1.8.x | :white_check_mark: |
| 1.7.x | :white_check_mark: |
| 1.6.x | :white_check_mark: |
| 1.6.x | :x: EOL 2024-01-01 |
| 1.5.x | :x: EOL 2022-01-01 |
| 1.4.x | :x: EOL 2021-05-01 |
| 1.3.x | :x: EOL 2020-07-01 |
Expand Down
41 changes: 4 additions & 37 deletions contrib/ci/dependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1520,45 +1520,12 @@
<package variant="aarch64">valgrind-devel</package>
</distro>
<distro id="debian">
<control>
<exclusive>ia64</exclusive>
<exclusive>riscv64</exclusive>
<exclusive>x32</exclusive>
<exclusive>mips</exclusive>
<exclusive>sparc64</exclusive>
<exclusive>sh4</exclusive>
<exclusive>ppc64</exclusive>
<exclusive>powerpcspe</exclusive>
<exclusive>hppa</exclusive>
<exclusive>alpha</exclusive>
<exclusive>mips64el</exclusive>
<exclusive>armhf</exclusive>
<exclusive>armel</exclusive>
<exclusive>mipsel</exclusive>
<exclusive>m68k</exclusive>
</control>
<package variant="x86_64" />
<package variant="i386" />
<package variant="x86_64">valgrind-if-available</package>
<package variant="i386">valgrind-if-available</package>
</distro>
<distro id="ubuntu">
<control>
<exclusive>ia64</exclusive>
<exclusive>riscv64</exclusive>
<exclusive>x32</exclusive>
<exclusive>mips</exclusive>
<exclusive>sparc64</exclusive>
<exclusive>sh4</exclusive>
<exclusive>ppc64</exclusive>
<exclusive>powerpcspe</exclusive>
<exclusive>hppa</exclusive>
<exclusive>alpha</exclusive>
<exclusive>mips64el</exclusive>
<exclusive>armhf</exclusive>
<exclusive>armel</exclusive>
<exclusive>mipsel</exclusive>
<exclusive>m68k</exclusive>
</control>
<package variant="x86_64" />
<package variant="x86_64">valgrind-if-available</package>
<package variant="i386">valgrind-if-available</package>
</distro>
</dependency>
<dependency id="wget">
Expand Down
4 changes: 2 additions & 2 deletions contrib/debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Homepage: https://github.com/fwupd/fwupd
Vcs-Git: https://salsa.debian.org/efi-team/fwupd.git
Vcs-Browser: https://salsa.debian.org/efi-team/fwupd

Package: libfwupd2
Package: libfwupd3
Section: libs
Architecture: linux-any
Depends: ${misc:Depends},
Expand Down Expand Up @@ -107,7 +107,7 @@ Description: Firmware update daemon documentation (HTML format)
Package: libfwupd-dev
Architecture: linux-any
Multi-Arch: same
Depends: libfwupd2 (= ${binary:Version}),
Depends: libfwupd3 (= ${binary:Version}),
gir1.2-fwupd-2.0 (= ${binary:Version}),
libcurl4-gnutls-dev,
libglib2.0-dev (>= 2.45.8),
Expand Down
1 change: 0 additions & 1 deletion contrib/debian/fwupd.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ usr/share/metainfo/*
usr/libexec/fwupd/*
usr/lib/sysusers.d/*
usr/share/man/*
lib/udev/rules.d/*
data/fwupd.conf etc/fwupd
debian/fwupd.pkla /var/lib/polkit-1/localauthority/10-vendor.d
usr/lib/*/fwupd-*/*.so
Expand Down
5 changes: 5 additions & 0 deletions contrib/debian/fwupd.maintscript
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ rm_conffile /etc/fwupd/remotes.d/fwupd.conf 1.2.7~
rm_conffile /etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~
rm_conffile /etc/modules-load.d/fwupd-msr.conf 1.5.3~
rm_conffile /etc/modules-load.d/fwupd-platform-integrity.conf 1.5.3~
rm_conffile /etc/fwupd/ata.conf 1.5.5~
mv_conffile /etc/fwupd/uefi.conf /etc/fwupd/uefi_capsule.conf 1.5.5~
rm_conffile /etc/pki/fwupd/GPG-KEY-Hughski-Limited 1.9.10~
rm_conffile /etc/fwupd/upower.conf 1.9.10~
rm_conffile /etc/fwupd/remotes.d/dell-esrt.conf 1.9.11~
46 changes: 0 additions & 46 deletions contrib/debian/fwupd.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,6 @@ set -e

#DEBHELPER#

if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile \
/etc/fwupd.conf 1.0.0~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/ata.conf 1.5.5~ -- "$@"
fi

#Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
ORIGINAL=/etc/fwupd/uefi.conf
NEW=/etc/fwupd/uefi_capsule.conf
#If already upgraded this file won't exist
#If in the middle of an upgrade:
# -> If unmodified then preinst would have renamed to /etc/fwupd/uefi.conf.dpkg-remove
# -> If modified, we need to do an in-place upgrade with sed
if [ -f $ORIGINAL ]; then
sed "s,\[uefi\],\[uefi_capsule\]," -i $ORIGINAL
fi
dpkg-maintscript-helper mv_conffile $ORIGINAL $NEW 1.5.5~ -- "$@"
fi

# Clean up from fwupdate->fwupd transition
# This can be removed after bullseye and focal are released
EFIDIR=$(awk '/^ID=/ {gsub(/"/,""); split($0,a,"="); print tolower(a[2])}' /etc/os-release)
if [ "${DPKG_MAINTSCRIPT_ARCH}" = "amd64" ]; then
EFI_NAME=x64
elif [ "${DPKG_MAINTSCRIPT_ARCH}" = "i386" ]; then
EFI_NAME=ia32
elif [ "${DPKG_MAINTSCRIPT_ARCH}" = "arm64" ]; then
EFI_NAME=aa64
elif [ "${DPKG_MAINTSCRIPT_ARCH}" = "armhf" ]; then
EFI_NAME=arm
fi
rm -f /boot/efi/EFI/$EFIDIR/fwup$EFI_NAME.efi
rm -f /var/lib/fwupdate/done
rm -f /var/cache/fwupdate/done
for dir in /var/cache/fwupdate /var/lib/fwupdate; do
if [ -d $dir ]; then
rmdir --ignore-fail-on-non-empty $dir || true
fi
done

if [ -d /run/systemd/system ]; then
deb-systemd-invoke reload dbus || true
fi
20 changes: 1 addition & 19 deletions contrib/debian/fwupd.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,6 @@ set -e
#DEBHELPER#

if [ "$1" = purge ]; then
rm -rf /var/lib/fwupd/gnupg
rm -rf /var/lib/fwupd /var/cache/fwupd /var/cache/fwupdmgr
rm -f /var/cache/app-info/xmls/fwupd.xml
fi

if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile \
/etc/fwupd.conf 1.0.0~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/ata.conf 1.5.5~ -- "$@"
fi

#Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
ORIGINAL=/etc/fwupd/uefi.conf
NEW=/etc/fwupd/uefi_capsule.conf
dpkg-maintscript-helper mv_conffile $ORIGINAL $NEW 1.5.5~ -- "$@"
fi
18 changes: 0 additions & 18 deletions contrib/debian/fwupd.preinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@ set -e

#DEBHELPER#

if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile \
/etc/fwupd.conf 1.0.0~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/fwupd/ata.conf 1.5.5~ -- "$@"
fi

#Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
ORIGINAL=/etc/fwupd/uefi.conf
NEW=/etc/fwupd/uefi_capsule.conf
dpkg-maintscript-helper mv_conffile $ORIGINAL $NEW 1.5.5~ -- "$@"
fi

# 1.3.2 had fwupd-refresh.service and fwupd.service both claiming
# this directory, but fwupd-refresh.service used DynamicUser directive
# meaning no other unit could access it.
Expand Down
4 changes: 2 additions & 2 deletions contrib/debian/libfwupd-dev.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
usr/include/fwupd-1/fwupd.h
usr/include/fwupd-1/libfwupd
usr/include/fwupd-*/fwupd.h
usr/include/fwupd-*/libfwupd
usr/lib/*/libfwupd.so
usr/lib/*/pkgconfig/fwupd.pc
usr/share/gir-1.0/Fwupd-*.gir
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions contrib/fwupd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ systemctl --no-reload preset fwupd-refresh.timer &>/dev/null || :
%if 0%{?have_uefi}
%config(noreplace)%{_sysconfdir}/grub.d/35_fwupd
%endif
%{_libdir}/libfwupd.so.2*
%{_libdir}/libfwupd.so.3*
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
/usr/lib/udev/rules.d/*.rules
/usr/lib/systemd/system-shutdown/fwupd.shutdown
Expand Down Expand Up @@ -405,7 +405,7 @@ systemctl --no-reload preset fwupd-refresh.timer &>/dev/null || :
%{_datadir}/doc/libfwupdplugin
%{_datadir}/doc/libfwupd
%{_datadir}/vala/vapi
%{_includedir}/fwupd-1
%{_includedir}/fwupd-3
%{_libdir}/libfwupd*.so
%{_libdir}/pkgconfig/fwupd.pc

Expand Down
3 changes: 1 addition & 2 deletions contrib/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
"fu_common_bytes_compare(": "fu_bytes_compare(",
"fu_common_set_contents_bytes": "fu_bytes_set_contents",
"fu_common_get_contents_bytes": "fu_bytes_get_contents",
"fu_common_get_contents_stream": "fu_bytes_get_contents_stream",
"fu_common_get_contents_fd": "fu_bytes_get_contents_fd",
"fu_common_get_contents_stream": "fu_input_stream_read_bytes",
"fu_common_read_uint8_safe": "fu_memread_uint8_safe",
"fu_common_read_uint16_safe": "fu_memread_uint16_safe",
"fu_common_read_uint32_safe": "fu_memread_uint32_safe",
Expand Down
7 changes: 0 additions & 7 deletions contrib/qubes/test/fwupd_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@
"Name" : "Intel(R) Core™ i7-7700HQ CPU @ 2.80GHz",
"DeviceId" : "4bde70ba4e39b28f9eab1628f9dd6e6244c03027",
"Guid" : [
"b9a2dd81-159e-5537-a7db-e7101d164d3f",
"30249f37-d140-5d3e-9319-186b1bd5cac3",
"809a0b93-8a12-5338-a571-ad5583acf896",
"d0f754d5-1395-5573-bc83-85ba955da70a"
Expand Down Expand Up @@ -441,9 +440,6 @@
{
"Name" : "Intel(R) Core™ i5-8400 CPU @ 2.80GHz",
"DeviceId" : "4bde70ba4e39b28f9eab1628f9dd6e6244c03027",
"Guid" : [
"b9a2dd81-159e-5537-a7db-e7101d164d3f"
],
"Plugin" : "cpu",
"Flags" : [
"internal",
Expand Down Expand Up @@ -752,9 +748,6 @@
{
"Name" : "Intel(R) Core™ i5-8400 CPU @ 2.80GHz",
"DeviceId" : "4bde70ba4e39b28f9eab1628f9dd6e6244c03027",
"Guid" : [
"b9a2dd81-159e-5537-a7db-e7101d164d3f"
],
"Plugin" : "cpu",
"Flags" : [
"internal",
Expand Down
2 changes: 1 addition & 1 deletion contrib/vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "gdbserver (fwupdtool)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/dist/libexec/fwupd/fwupdtool",
"program": "${workspaceFolder}/dist/bin/fwupdtool",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
Expand Down
2 changes: 1 addition & 1 deletion contrib/vscode/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ gcc=$(gcc -dumpmachine)
export ROOT=#ROOT#
export FWUPD_LOCALSTATEDIR=${ROOT}/dist
export FWUPD_SYSCONFDIR=${ROOT}/dist/etc
export LD_LIBRARY_PATH=${ROOT}/dist/lib/${gcc}
export LD_LIBRARY_PATH=${ROOT}/dist/lib/${gcc}:${ROOT}/dist/lib64
if [ -n "${DEBUG}" ]; then
DEBUG="gdbserver localhost:9091"
fi
Expand Down
Loading