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 .pkgnote #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for .pkgnote #125

wants to merge 1 commit into from

Conversation

hughsie
Copy link
Member

@hughsie hughsie commented Jan 16, 2025

$ objdump -s -j .pkgnote /usr/libexec/fwupd/efi/fwupdx64.efi

/usr/libexec/fwupd/efi/fwupdx64.efi:     file format pei-x86-64

Contents of section .pkgnote:
 0000 7b227479 7065223a 2272706d 222c2020  {"type":"rpm",
 0010 20202020 20202020 20202020 20202022                 "
 0020 6e616d65 223a2266 77757064 2d656669  name":"fwupd-efi
 0030 222c2020 20202020 20202020 20202020  ",
 0040 20202022 76657273 696f6e22 3a22312e     "version":"1.
 0050 382d302e 32392e32 30323530 31313667  8-0.29.20250116g
 0060 69742e66 63343122 2c202020 20202020  it.fc41",
 0070 20202020 20202020 20202261 72636869            "archi
 0080 74656374 75726522 3a227838 365f3634  tecture":"x86_64
 0090 222c2020 20202020 20202020 20202020  ",
 00a0 20202022 6f734370 65223a22 6370653a     "osCpe":"cpe:
 00b0 2f6f3a66 77757064 3a667775 70642d65  /o:fwupd:fwupd-e
 00c0 6669227d 00                          fi"}.

See systemd/systemd#35681

	$ objdump -s -j .pkgnote /usr/libexec/fwupd/efi/fwupdx64.efi

	/usr/libexec/fwupd/efi/fwupdx64.efi:     file format pei-x86-64

	Contents of section .pkgnote:
	 0000 7b227479 7065223a 2272706d 222c2020  {"type":"rpm",
	 0010 20202020 20202020 20202020 20202022                 "
	 0020 6e616d65 223a2266 77757064 2d656669  name":"fwupd-efi
	 0030 222c2020 20202020 20202020 20202020  ",
	 0040 20202022 76657273 696f6e22 3a22312e     "version":"1.
	 0050 382d302e 32392e32 30323530 31313667  8-0.29.20250116g
	 0060 69742e66 63343122 2c202020 20202020  it.fc41",
	 0070 20202020 20202020 20202261 72636869            "archi
	 0080 74656374 75726522 3a227838 365f3634  tecture":"x86_64
	 0090 222c2020 20202020 20202020 20202020  ",
	 00a0 20202022 6f734370 65223a22 6370653a     "osCpe":"cpe:
	 00b0 2f6f3a66 77757064 3a667775 70642d65  /o:fwupd:fwupd-e
	 00c0 6669227d 00                          fi"}.

See systemd/systemd#35681
@hughsie
Copy link
Member Author

hughsie commented Jan 16, 2025

@zjedrzej -- does this look sensible?

@hughsie hughsie self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant