diff --git a/95-sxe2-firmware.conf b/95-sxe2-firmware.conf new file mode 100644 index 0000000000000000000000000000000000000000..adb906d038914f3cf8cb39297e879cbbd20b189d --- /dev/null +++ b/95-sxe2-firmware.conf @@ -0,0 +1 @@ +install_items+=" /lib/firmware/sxe2/ddp/sxe2.cfg " diff --git a/linux-firmware.spec b/linux-firmware.spec index 8144cbcd0d45fbd0016514d315d1aea87e9f4483..d7ef0066628c216a077f3607efc0e6ae7550796c 100644 --- a/linux-firmware.spec +++ b/linux-firmware.spec @@ -5,11 +5,12 @@ Summary: Firmware files used by the Linux kernel Name: linux-firmware Version: 20250917 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted URL: http://www.kernel.org/ Source0: https://www.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.xz Source1: sxe2.cfg +Source2: 95-sxe2-firmware.conf Patch0001: https://gitlab.com/kernel-firmware/linux-firmware/-/commit/3baa8edc3517e2295199266b2e363989b325bd58.patch BuildArch: noarch @@ -379,6 +380,7 @@ This package contains the firmware files required for the SXE2 network device. %files -n linkdata-sxe2-firmware %{_firmwarepath}/sxe2/ddp/sxe2.cfg +/usr/lib/dracut/dracut.conf.d/95-sxe2-firmware.conf %prep %autosetup -S git -p1 @@ -393,7 +395,9 @@ make DESTDIR=%{buildroot} FIRMWAREDIR=%{_firmwarepath} install-xz SXE2_CFG_DIR=%{buildroot}%{_firmwarepath}/sxe2/ddp mkdir -p ${SXE2_CFG_DIR} -cp -f %{_sourcedir}/sxe2.cfg ${SXE2_CFG_DIR} +install -m 644 %{SOURCE1} ${SXE2_CFG_DIR} +mkdir -p %{buildroot}/usr/lib/dracut/dracut.conf.d/ +install -m 644 %{SOURCE2} %{buildroot}/usr/lib/dracut/dracut.conf.d/95-sxe2-firmware.conf pushd %{buildroot}%{_firmwarepath} rm -rf ess korg sb16 yamaha @@ -793,6 +797,10 @@ end %{_firmwarepath}/v4l-cx2* %changelog +* Wed Jun 17 2026 liujie_answer - 20250917-4 +- [Type] bugfix +- [DESC] linkdata: Add linkdata linux-firmware-linkdata sub-package conf + * Tue Apr 28 2026 liujie_answer - 20250917-3 - linkdata: Add linkdata linux-firmware-linkdata sub-package support - This configuration file is from Linkdata, supporting Linkdata Ethernet Controller advanced feature configuration.