Commit Graph

59 Commits

Author SHA1 Message Date
Fedora Release Engineering 3cbb65deb0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 18:23:54 +00:00
Igor Gnatenko d46a3c6ce1
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:52 +01:00
Peter Jones 6c6f0ce2c6 Update to efivar 37
- Update to efivar 37:
  - Minor coverity fixes
  - Improve ACPI device path formatting
  - Add support for SOC devices that use FDT as their PCI root node
  - Make devices we can't parse the "device" sysfs link for use DEV_ABBREV_ONLY
  - Handle SCSI port numbers better
  - Don't require an EUI for NVMe
  - Fix the accidental requirement on ACPI UID nodes existing
  - Add support for EMMC devices
  - Add support for PCI root nodes without a device link in sysfs
  - Add support for partitioned MD devices
  - Fix partition number detection when the number isn't provided
  - Add support for ACPI Generic Container and Embedded Controller root nodes
  - Add limited support for SAS/SATA port expanders

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-12-05 13:03:25 -05:00
Peter Jones 1b2b98a87e Update to efivar 36
Add NVDIMM support
Re-written linux interface parser to handle how devices are
  partitioned better, and for cleaner code, with one file per device
  type.
lots of verbosity updates
better CI
analysis with clang's analyzer as well as coverity
Better handling of immutable bits in sysfs
LIBEFIVAR_OPS=help
lots of code cleanups.

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-09-17 17:12:53 -04:00
Igor Gnatenko a91b596b3d
Add missing BuildRequires on gcc
make[1]: cc: Command not found

References: https://bugzilla.redhat.com/show_bug.cgi?id=1603865
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 15:56:37 +02:00
Fedora Release Engineering cef15cf66b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 23:41:56 +00:00
Peter Jones 7944f68209 Rebuild for new efi-rpm-macros, now that it has settled down a bit.
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-05-04 15:47:23 -04:00
Peter Jones 4f61805aaa Use efi-rpm-macros instead of defining efi-related macros ourselves
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-05-02 09:27:19 -04:00
Peter Jones a5e29614d5 Update to efivar 35
fixes for older compilers
efi_get_variable_exists()
Lots of stuff to make CI work.
use usleep() to avoid hitting the kernel rate limiter on efivarfs
better EFI_GUID macro
add efi_guid_fwupdate (0abba7dc-e516-4167-bbf5-4d9d1c739416)

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-04-09 14:57:33 -04:00
Peter Jones 1cf335fff3 Update to efivar 34, and include a patch to avoid upstream rate limiting.
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-02-27 13:16:34 -05:00
Fedora Release Engineering c5680d4539 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 08:13:30 +00:00
Peter Robinson 23b2e1ca82 turn of check as fails on abi check 2018-01-31 09:30:13 +00:00
Peter Robinson 8b8d679d5b Enable ARMv7, minor spec cleanups 2018-01-30 20:13:31 +00:00
Peter Jones f9725532ea Bump version to 33
- Add NVDIMM support

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-01-23 11:33:35 -05:00
Peter Jones 478d24e576 Make efi_guid_ux_capsule actually get exported right.
Signed-off-by: Peter Jones <pjones@redhat.com>
2017-09-12 11:22:00 -04:00
Peter Jones d38bd3df44 Only do %check on x86_64
Since it's checking abi against the local builds in the repo, which came
from my laptop, it'll only match 64-bit builds, and may be even more arch
specific than that.

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-09-12 10:22:31 -04:00
Peter Jones 5536c3dba1 efivar 32
- lots of coverity fixes; mostly leaked memory and fds and the like
- fix sysfs pci path formats
- handle device paths for dns, nfit, bluetooth, wifi, emmc, btle.
- improved abi checking on releases
- Fix failures on EDIT_WRITE in edit_variable() when the variable doesn't exist
- Add efi_guid_ux_capsule_guid to our guids
- Now with %check
-
Signed-off-by: Peter Jones <pjones@redhat.com>
2017-09-12 10:04:00 -04:00
Fedora Release Engineering 1a1c5ff0de - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 19:58:30 +00:00
Fedora Release Engineering 24a147d270 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 07:13:31 +00:00
Peter Jones 9af50adeeb Update to efivar 31
- Work around NVMe EUI sysfs change
- Provide some oldish version strings we should have kept.
- lots of overflow checking on our pointer math in dp parsing
- fix major/minor device number handling in the linux code
- Do better formatting checks for MBR partitions
- Fixes for gcc 7

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-03-06 16:05:49 -05:00
Peter Jones 8893f31a6e Update to efivar 31
Work around NVMe EUI sysfs change
Provide some oldish version strings we should have kept.
lots of overflow checking on our pointer math in dp parsing
fix major/minor device number handling in the linux code
Do better formatting checks for MBR partitions
Fixes for gcc 7

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-03-02 10:20:28 -05:00
Fedora Release Engineering 2654fad592 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 09:04:20 +00:00
Peter Jones 0c5a60e160 Fix typo
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-10-17 10:27:23 -04:00
Peter Jones cec7707901 Handle NVMe device attributes paths moving around in sysfs.
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-10-17 10:22:13 -04:00
Peter Jones 6609ae0c66 typo fix in %release
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-28 11:33:01 -04:00
Peter Jones 085352fa72 Maybe even provide the *right* old linker deps.
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-28 11:32:10 -04:00
Peter Jones ca48b60310 hahahah no really try to screw up SONAME less
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-28 09:31:21 -04:00
Peter Jones 0352e7b943 Try not to screw up SONAME stuff quite so badly.
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-27 17:20:19 -04:00
Peter Jones 6d4a12e9f9 Update to efivar 30
- Fix efidp_*() functions with __pure__ that break with some optimizations
- Fix NVMe EUI parsing.

Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-27 16:39:06 -04:00
Peter Jones c02bb56096 Update to efivar 29
- Use -pie not -PIE in our linker config
- Fix some overflow checks for gcc < 5.x
- Make variable class probes other than the first one actually work
- Move -flto to CFLAGS
- Pack all of the efi device path headers
- Fix redundant decl of efi_guid_zero()

Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-27 14:03:23 -04:00
Peter Jones e5557cfcce Make our sonames always lib$FOO.1 , not lib$FOO.$VERSION .
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-08-17 09:05:55 -04:00
Peter Jones 83152fab66 Bug fix for 086eeb17 in efivar 26.
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-08-16 17:15:11 -04:00
Peter Jones 4986eb434b fix build failure on i686
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-08-11 16:00:55 -04:00
Peter Jones 1c7b676a77 fix build failure on i686
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-08-11 15:47:00 -04:00
Peter Jones 1026cab2d4 Update to efivar-26 .
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-08-11 15:37:55 -04:00
Peter Jones d96a6e58f5 work around readdir_r deprecation
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-06-30 11:32:53 -04:00
Peter Jones 084ee5f2e6 Update to 0.24
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-06-30 11:05:07 -04:00
Peter Jones 0014ed40bd Fix one more missing build dep
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-02-15 16:25:33 -05:00
Peter Jones e6715ebbfc Work around kernel renaming nvme.h
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-02-15 16:12:19 -05:00
Peter Jones cbfb010561 Bump version to 0.23 and fix missing build dep
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-02-15 15:58:24 -05:00
Dennis Gilmore 1a857a32fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 19:41:17 +00:00
Peter Jones 1738bf2d5b Bump the release here so f22->f23->f24 updates work.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-11-02 09:51:14 -05:00
Peter Jones 283d107e86 efivar-0.21 (really)
- Rename "make test" so packagers don't think it's a good idea to run it
  during builds.
- Error check sizes in vars_get_variable()
- Fix some file size comparisons
- make SONAME reflect the correct values.
- Fix some uses of "const"
- Compile with -O2 by default
- Fix some strict-aliasing violations
- Fix some of the .pc files and how we do linking to work better.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-27 13:21:41 -04:00
Peter Jones b644d6da37 Update to efivar-0.21
- Rename "make test" so packagers don't think it's a good idea to run it
  during builds.
- Error check sizes in vars_get_variable()
- Fix some file size comparisons
- make SONAME reflect the correct values.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-27 13:21:30 -04:00
Dennis Gilmore 86856c99c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 05:16:53 +00:00
Peter Jones 9837a24422 Update to 0.20
- Make sure tester is build with the right link order for libraries.
- Adjust linker order for pkg-config
- Work around LocateDevicePath() not grokking PcieRoot() devices properly.
- Rectify some missing changelog entries

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-06-02 14:38:45 -04:00
Peter Jones 42633a3e4c Work around device path creation on machines where PcieRoot() paths simply
don't work.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-06-01 16:15:08 -04:00
Peter Jones afe010eeae Update to 0.19
- add API from efibootmgr so fwupdate and other tools can use it.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-05-28 10:31:54 -04:00
Peter Jones d3da480802 Update to 0.14
- add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
  as a concept.
- Add some vendor specific guids to our guid list.
- Call "empty" "zero" now, as many other places do.  References to
  efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
- add "efivar -L" to the man page.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-08 22:16:56 -04:00
Peter Jones 27ee51dc99 Update to 0.13:
- add efi_symbol_to_guid()
- efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
  resort
- "efivar -L" to list all the guids we know about
- better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-07 14:56:49 -04:00