mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 10:27:36 +00:00
trivial: Split off a subpackage for the UX capsule data
This makes the CoreOS image over 1Mb smaller, which is over 30% of the size of the base fwupd package.
This commit is contained in:
parent
11603b3e06
commit
9c1bdf68be
@ -144,6 +144,9 @@ Recommends: %{name}-plugin-modem-manager
|
|||||||
%if 0%{?have_flashrom}
|
%if 0%{?have_flashrom}
|
||||||
Recommends: %{name}-plugin-flashrom
|
Recommends: %{name}-plugin-flashrom
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
Recommends: %{name}-plugin-uefi-capsule-data
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fwupd is a daemon to allow session software to update device firmware.
|
fwupd is a daemon to allow session software to update device firmware.
|
||||||
@ -181,6 +184,17 @@ This provides the optional package which is only required on hardware that
|
|||||||
can be flashed using flashrom. It is probably not required on servers.
|
can be flashed using flashrom. It is probably not required on servers.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
%package plugin-uefi-capsule-data
|
||||||
|
Summary: Localized data for the UEFI UX capsule
|
||||||
|
|
||||||
|
%description plugin-uefi-capsule-data
|
||||||
|
This provides the pregenerated BMP artwork for the UX capsule, which allows the
|
||||||
|
"Installing firmware update…" localized text to be shown during a UEFI firmware
|
||||||
|
update operation. This subpackage is probably not required on embedded hardware
|
||||||
|
or server machines.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -451,9 +465,6 @@ done
|
|||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_usb.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_usb.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_goodixmoc.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_goodixmoc.so
|
||||||
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
||||||
%if 0%{?have_uefi}
|
|
||||||
%{_datadir}/fwupd/ux-capsule.tar.xz
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?have_modem_manager}
|
%if 0%{?have_modem_manager}
|
||||||
%files plugin-modem-manager
|
%files plugin-modem-manager
|
||||||
@ -463,6 +474,10 @@ done
|
|||||||
%files plugin-flashrom
|
%files plugin-flashrom
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
%files plugin-uefi-capsule-data
|
||||||
|
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
||||||
|
Loading…
Reference in New Issue
Block a user