]>
git.proxmox.com Git - fwupd-efi.git/log
Fabian Grünbichler [Mon, 20 Mar 2023 10:22:04 +0000 (11:22 +0100)]
bump version to 1:1.4-1+pmx1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Mon, 20 Mar 2023 10:24:59 +0000 (11:24 +0100)]
update d/control for Proxmox
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 16 Mar 2023 13:15:48 +0000 (14:15 +0100)]
switch SBAT to Proxmox
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Mario Limonciello [Fri, 27 Jan 2023 15:17:34 +0000 (09:17 -0600)]
Update changelog
Mario Limonciello [Fri, 27 Jan 2023 15:15:36 +0000 (09:15 -0600)]
Merge tag '1.4' into debian/unstable
Release fwupd-efi 1.4
Mario Limonciello [Fri, 27 Jan 2023 15:12:13 +0000 (15:12 +0000)]
Merge branch 'vcs-git-branch' into 'debian/unstable'
Specify the branch in the Vcs-Git header
See merge request efi-team/fwupd-efi!1
Richard Hughes [Fri, 27 Jan 2023 09:29:20 +0000 (09:29 +0000)]
Release fwupd-efi 1.4
Mario Limonciello [Thu, 26 Jan 2023 22:46:30 +0000 (16:46 -0600)]
Fix a FTBFS on aarch64 (Fixes: #36)
Fixes: 2040b81 ("Drop the needless efi-cc and efi-ld parameters")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Mario Limonciello [Wed, 25 Jan 2023 22:53:39 +0000 (16:53 -0600)]
If genpeimg is missing, use python3-pefile to add NX compat
Mario Limonciello [Wed, 25 Jan 2023 22:30:58 +0000 (16:30 -0600)]
Fix generating EFI images that are NX compatible (Fixes: #30)
Jelmer Vernooij [Wed, 25 Jan 2023 22:58:21 +0000 (23:58 +0100)]
Specify branch in Vcs-Git/Vcs-Browser headers
Callum Farmer [Mon, 23 Jan 2023 15:35:41 +0000 (15:35 +0000)]
Add additional checks for incompatible CRT0
Add check for incompatible gnu-efi crt0 containing the header section
which gets added by objcopy and if used results in duplicate header
and subsequently a broken binary
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer [Fri, 6 Jan 2023 15:29:34 +0000 (15:29 +0000)]
Rework objcopy-manualsymbols argument to generate-binary
Use store_true action instead of an integer value
Callum Farmer [Mon, 2 Jan 2023 14:10:00 +0000 (14:10 +0000)]
Use manual symbols mode on ARM32 again
Most of the code for this is in binutils but
efi-app-arm target still doesn't exist
Partial revert of
8aff27ddefa9abbc0f5e221d7eaab5ef36a9c662
Callum Farmer [Sun, 1 Jan 2023 20:44:22 +0000 (20:44 +0000)]
Passthrough whether manual symbol mode is being used on ARM
Callum Farmer [Wed, 14 Dec 2022 18:06:50 +0000 (18:06 +0000)]
Use cflags in generate_sbat.py
This fixes a wchar length difference in fwup-sbat.o seen on ARM32
Mario Limonciello [Wed, 5 Oct 2022 15:23:34 +0000 (10:23 -0500)]
Drop the needless efi-cc and efi-ld parameters
Fixes: #6
Mario Limonciello [Thu, 5 Jan 2023 18:29:16 +0000 (12:29 -0600)]
trivial: turn off safe directory feature
Callum Farmer [Tue, 13 Dec 2022 21:16:30 +0000 (21:16 +0000)]
Don't check ARM crt0 with binutils 2.38
If we have binutils 2.38, then the system crt0 doesn't need to contain the .sbat section as this will be handled by objcopy
Mario Limonciello [Wed, 5 Oct 2022 14:57:41 +0000 (09:57 -0500)]
Use objcopy to build arm/aarch64 binaries if binutils 2.38 or newer
Fixes: #24
Robert Joslyn [Thu, 29 Sep 2022 18:10:54 +0000 (11:10 -0700)]
Align sections to 512 bytes
Without specifying an alignment, there are gaps in the section table.
When signing fwupdx64.efi for Secure Boot, this results in some firmware
rejecting it despite having a valid signature. When inspecting the
binary with sbverify, it warns about these gaps:
$ sbverify --list fwupdx64.efi
warning: gap in section table:
.rela : 0x0000b400 - 0x0000c400,
/4 : 0x0000c470 - 0x0000c670,
warning: gap in section table:
/4 : 0x0000c470 - 0x0000c670,
.dynsym : 0x0000c800 - 0x0000cc00,
gaps in the section table may result in different checksums
...
After setting the section alignment to 512, the gaps are gone and the
signed fwupdx64.efi file passes the Secure Boot check as expected.
Richard Hughes [Thu, 14 Apr 2022 09:41:12 +0000 (10:41 +0100)]
trivial: post release version bump
Richard Hughes [Thu, 14 Apr 2022 09:39:17 +0000 (10:39 +0100)]
Release fwupd-efi 1.3
Richard Hughes [Wed, 6 Apr 2022 15:52:43 +0000 (16:52 +0100)]
Fix a regression when applying updates on an HP M60
Do not fail for any systems that return EFI_UNSUPPORTED from
RT->QueryCapsuleCapabilities().
Richard Hughes [Thu, 7 Apr 2022 08:43:55 +0000 (09:43 +0100)]
Show the version when starting fwupd-efi
This also allows to search for a predicatable string in fwupd to add a
runtime version.
Richard Hughes [Wed, 6 Apr 2022 19:38:29 +0000 (20:38 +0100)]
trivial: Update precommit versions to fix CI
Callum Farmer [Fri, 11 Mar 2022 12:16:38 +0000 (12:16 +0000)]
meson: fix ARM system crt0 name
It should be crt0-efi-@0@.o(arch_crt) not crt0-efi-@0@.S(arch_crt_source)
Steve McIntyre [Wed, 9 Feb 2022 23:19:11 +0000 (23:19 +0000)]
Fix Build-Depends in the signed-template packages. Closes: #
1005144
Mario Limonciello [Fri, 4 Feb 2022 05:17:39 +0000 (23:17 -0600)]
Adjust the epoch drop to only apply to Ubuntu
This should fix fwupd-amd-signed-template from not building properly.
Mario Limonciello [Wed, 26 Jan 2022 19:15:26 +0000 (13:15 -0600)]
releasing package fwupd-efi version 1:1.2-2
Mario Limonciello [Wed, 26 Jan 2022 03:18:47 +0000 (21:18 -0600)]
Correct the signing template to use binary package not source package
Mario Limonciello [Mon, 24 Jan 2022 22:31:58 +0000 (16:31 -0600)]
releasing package fwupd-efi version 1:1.2-1
Mario Limonciello [Mon, 24 Jan 2022 22:31:15 +0000 (16:31 -0600)]
Fix the JSON file generation for fwupd/fwupd-efi split (Closes: #
1004321 )
Mario Limonciello [Mon, 24 Jan 2022 22:22:47 +0000 (16:22 -0600)]
Update to 1.2 version.
Mario Limonciello [Mon, 24 Jan 2022 22:22:04 +0000 (16:22 -0600)]
Merge tag '1.2' into debian/unstable
Release fwupd-efi 1.2
Richard Hughes [Sun, 23 Jan 2022 18:17:19 +0000 (18:17 +0000)]
trivial: post release version bump
Richard Hughes [Sun, 23 Jan 2022 17:52:39 +0000 (17:52 +0000)]
Release fwupd-efi 1.2
Mario Limonciello [Mon, 17 Jan 2022 16:03:25 +0000 (10:03 -0600)]
releasing package fwupd-efi version 1:1.1-5
Mario Limonciello [Mon, 17 Jan 2022 16:02:27 +0000 (10:02 -0600)]
Revert "Add riscv64 support"
This reverts commit
b3a4d994820f7e8061f12ca12dfe718703e39995 .
Mario Limonciello [Fri, 14 Jan 2022 18:10:59 +0000 (12:10 -0600)]
releasing package fwupd-efi version 1:1.1-4
Mario Limonciello [Fri, 14 Jan 2022 17:10:58 +0000 (11:10 -0600)]
Build for riscv64 as well. (LP:#
1939138 )
Mario Limonciello [Fri, 14 Jan 2022 17:09:08 +0000 (11:09 -0600)]
Don't create signed package for riscv64
Mario Limonciello [Thu, 13 Jan 2022 15:28:56 +0000 (09:28 -0600)]
Add gitignore file for debian/ directory
Mario Limonciello [Thu, 13 Jan 2022 15:27:07 +0000 (09:27 -0600)]
Update options to ignore venv on builds
Mario Limonciello [Tue, 4 Jan 2022 19:07:28 +0000 (13:07 -0600)]
Add riscv64 support
Mario Limonciello [Mon, 3 Jan 2022 23:19:31 +0000 (17:19 -0600)]
releasing package fwupd-efi version 1:1.1-3
Mario Limonciello [Mon, 3 Jan 2022 23:16:15 +0000 (17:16 -0600)]
Remove trailing whitespace from debian/control.
Mario Limonciello [Mon, 3 Jan 2022 23:15:57 +0000 (17:15 -0600)]
Bump debian/watch to version 4.
Mario Limonciello [Mon, 3 Jan 2022 23:12:59 +0000 (17:12 -0600)]
Bump standards version.
Mario Limonciello [Mon, 3 Jan 2022 23:10:49 +0000 (17:10 -0600)]
Drop the epoch from the Ubuntu EFI package (LP: #
1956247 )
Mario Limonciello [Wed, 29 Dec 2021 02:54:30 +0000 (20:54 -0600)]
releasing package fwupd-efi version 1:1.1-2
Mario Limonciello [Wed, 29 Dec 2021 02:52:59 +0000 (20:52 -0600)]
Breaks/Replaces on fwupd for the transition of fwupd binary. Closes: #
1002518
Mario Limonciello [Tue, 30 Nov 2021 21:23:51 +0000 (15:23 -0600)]
Add missing copyright information
Steve McIntyre [Wed, 10 Nov 2021 00:24:49 +0000 (00:24 +0000)]
Release 1.1-1
Mario Limonciello [Mon, 8 Nov 2021 04:58:40 +0000 (22:58 -0600)]
add epoch
Steve McIntyre [Sun, 7 Nov 2021 13:58:11 +0000 (13:58 +0000)]
More tweaks for signing template pieces
Steve McIntyre [Sun, 7 Nov 2021 13:47:49 +0000 (13:47 +0000)]
Tweak debian/copyright
Steve McIntyre [Sun, 7 Nov 2021 13:29:10 +0000 (13:29 +0000)]
Fix perms and remove unneeded lintian overrides
Steve McIntyre [Sun, 7 Nov 2021 13:23:08 +0000 (13:23 +0000)]
More tweaks to versioning and dependencies
Let's see if this works
Steve McIntyre [Sun, 7 Nov 2021 00:05:28 +0000 (00:05 +0000)]
Tweak signing-template setup to use fwupd-efi
Ross Burton [Thu, 4 Nov 2021 11:06:07 +0000 (11:06 +0000)]
meson: use stadard objcopy binary
To start the progress towards using the standard tools and letting users
with special needs use a cross/native file, remove the efi_objcopy
option and use the standard objcopy binary.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Ross Burton [Wed, 3 Nov 2021 17:09:38 +0000 (17:09 +0000)]
meson: use find_program() to find the helper scripts we run
Instead of gluing together paths, find_program() can be used to find
the helper scripts that are ran during the build.
This ensures that build steps will be re-executed if the scripts are
modified.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Mario Limonciello [Tue, 26 Oct 2021 20:53:02 +0000 (15:53 -0500)]
fixup lintian messages
Mario Limonciello [Tue, 26 Oct 2021 20:33:55 +0000 (15:33 -0500)]
fix unable to do binnmu
Mario Limonciello [Mon, 25 Oct 2021 18:15:51 +0000 (13:15 -0500)]
drop --with-gir
Mario Limonciello [Mon, 25 Oct 2021 18:13:49 +0000 (13:13 -0500)]
port versioning from signed packages change from fwupd 1.5.7-5
comes from
b0940fc3d930 ("Fix versioning around signed packages")
Lee, Chun-Yi [Wed, 15 Sep 2021 05:19:52 +0000 (13:19 +0800)]
meson: using local copy ldscript when local copy crt0 be used for SBAT
When the system crt0 for aaarch64 is not new enough for SBAT. The
efi/meson.build script will use local copy crt0 instead:
efi/meson.build:87: WARNING: Cannot find SBAT section in
/usr/lib64/crt0-efi-aarch64.S, using local copy
In this case, the ld of efi/fwup.so will be failed because missing
symbols:
[ 32s] ld:
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
relocation R_AARCH64_PREL32 against symbol `_erodata' which may bind
externally can not be used when making a shared object; recompile with
-fPIC
[ 32s]
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
in function `extra_header_fields':
[ 32s] (.text.head+0x90): dangerous relocation: unsupported relocation
[ 32s] ld:
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
relocation R_AARCH64_PREL32 against symbol `_evtext' which may bind
externally can not be used when making a shared object; recompile with
-fPIC
[ 32s]
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
in function `section_table':
[ 32s] (.text.head+0x100): dangerous relocation: unsupported
relocation
[ 32s] ld:
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
relocation R_AARCH64_PREL32 against symbol `_rodata' which may bind
externally can not be used when making a shared object; recompile with
-fPIC
[ 32s] (.text.head+0x17c): dangerous relocation: unsupported
relocation
[ 32s] ld:
/home/abuild/rpmbuild/BUILD/fwupd-efi-1.1/build/efi/crt0/crt0-efi-aarch64.o:
relocation R_AARCH64_PREL32 against symbol `_rodata' which may bind
externally can not be used when making a shared object; recompile with
-fPIC
[ 32s] (.text.head+0x184): dangerous relocation: unsupported
relocation
[ 32s] ninja: build stopped: subcommand failed.
Using local copy ldscript when local copy crt0 be used for SBAT, then
this fail can be fixed.
Reference: https://github.com/fwupd/fwupd-efi/issues/11
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.com>
Mario Limonciello [Wed, 29 Sep 2021 01:41:15 +0000 (20:41 -0500)]
add changelog
Mario Limonciello [Wed, 29 Sep 2021 01:41:08 +0000 (20:41 -0500)]
move contrib/debian to debian/
Nikolai Kostrigin [Wed, 15 Sep 2021 17:18:40 +0000 (20:18 +0300)]
sbat: clarify project URL
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
Richard Hughes [Fri, 30 Jul 2021 14:02:16 +0000 (15:02 +0100)]
trivial: Ignore some markdown issues
Mario Limonciello [Fri, 30 Jul 2021 13:08:44 +0000 (08:08 -0500)]
Wait 5 seconds to reboot on errors
This gives a better chance at understanding them without having to
step frame by frame in a video.
See https://github.com/fwupd/firmware-lenovo-thinkpad/issues/139
Mario Limonciello [Fri, 30 Jul 2021 13:11:06 +0000 (08:11 -0500)]
Port pre-commit clang-format, codespell, markdownlint from fwupd
Mario Limonciello [Fri, 30 Jul 2021 13:40:58 +0000 (08:40 -0500)]
trivial: fixup python errors by codacity/precommit
Mario Limonciello [Fri, 30 Jul 2021 13:40:44 +0000 (08:40 -0500)]
trivial: fixup markdown format
Mario Limonciello [Fri, 30 Jul 2021 13:38:43 +0000 (08:38 -0500)]
trivial: spelling errors
Mario Limonciello [Thu, 1 Jul 2021 20:59:47 +0000 (15:59 -0500)]
Sleep longer when no updates to process
https://github.com/fwupd/fwupd/issues/3441
Thomas Weißschuh [Sat, 19 Jun 2021 20:23:09 +0000 (22:23 +0200)]
README: fix typo and URL
Richard Hughes [Sat, 19 Jun 2021 13:30:12 +0000 (14:30 +0100)]
trivial: post release version bump
Richard Hughes [Sat, 19 Jun 2021 13:29:03 +0000 (14:29 +0100)]
Release fwupd-efi 1.1
Sergii Dmytruk [Fri, 14 May 2021 17:50:12 +0000 (20:50 +0300)]
Account for objdump missing --target option on FreeBSD
It's a non-GNU implementation of objcopy.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Sergii Dmytruk [Fri, 14 May 2021 16:32:02 +0000 (19:32 +0300)]
Fix finding lds file of gnu-efi on FreeBSD
It has "_fbsd" suffix on x86-64 architecture.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Ross Burton [Fri, 14 May 2021 13:07:11 +0000 (14:07 +0100)]
meson: pass the found genpeimg to generate_binary
Ross Burton [Fri, 14 May 2021 13:06:31 +0000 (14:06 +0100)]
generate_binary: add genpeimg option
Add a --genpeimg option as the meson.build uses find_program(), so the
binary could be anywhere.
Ross Burton [Fri, 14 May 2021 13:12:42 +0000 (14:12 +0100)]
meson: remove unused objcopy find_program
This isn't used, as the build uses the efi-objcopy option.
Ross Burton [Fri, 14 May 2021 13:07:36 +0000 (14:07 +0100)]
meson: abort if the host architecture isn't known
Instead of continuing and likely failing weirdly later, exit out early
if the host architecture isn't recognised.
Ross Burton [Thu, 13 May 2021 10:58:43 +0000 (11:58 +0100)]
meson: remove compiler flags that are never used
The meson.build checks for a slew of warning and linker flags that were
copied from fwupd, but they're never used as fwupd-efi currently invokes
the compile itself.
Richard Hughes [Fri, 23 Apr 2021 14:11:00 +0000 (15:11 +0100)]
trivial: post release version bump
Richard Hughes [Fri, 23 Apr 2021 10:15:35 +0000 (11:15 +0100)]
Add a metainfo file for release information
Mario Limonciello [Thu, 22 Apr 2021 05:13:35 +0000 (00:13 -0500)]
Clarify documentation
Mario Limonciello [Wed, 21 Apr 2021 21:33:45 +0000 (16:33 -0500)]
Add Debian packaging
Mario Limonciello [Wed, 21 Apr 2021 17:27:47 +0000 (12:27 -0500)]
Fix precommit script, no dependency building
Mario Limonciello [Wed, 21 Apr 2021 17:12:10 +0000 (12:12 -0500)]
Generate a pkgconfig file for fwupd to detect
Richard Hughes [Wed, 21 Apr 2021 14:53:07 +0000 (15:53 +0100)]
Automatically generate RPM packages from CI
Richard Hughes [Wed, 21 Apr 2021 14:34:39 +0000 (15:34 +0100)]
trivial: Fix the README location when SBAT distro ID is unset
Richard Hughes [Wed, 21 Apr 2021 11:27:49 +0000 (12:27 +0100)]
Add an example Fedora spec file
Mario Limonciello [Wed, 21 Apr 2021 13:41:40 +0000 (08:41 -0500)]
Add CI system
Mario Limonciello [Wed, 21 Apr 2021 13:41:09 +0000 (08:41 -0500)]
Adjust build system for subproject
Mario Limonciello [Wed, 21 Apr 2021 13:40:53 +0000 (08:40 -0500)]
Update README/RELEASE for new process on fwupd-efi
Norbert Kamiński [Mon, 19 Apr 2021 10:39:47 +0000 (12:39 +0200)]
fu-tool.c: Use traditional UNIX record locks if OFD is not available
Open file description locks are Linux-specific. If fwupd is not built
for Linux, it should use the traditional UNIX record locks (F_SETLK).
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>