forked from pool/nvidia-open-driver-G06-signed
- added pesign-copy-sources, pesign-spec-macros, which are needed
to fix repackaging step required for securebooot signing kernel modules (boo#1207520) - pesign-spec-macros: used for defining RPM macros; here: %define __kmp_supplements %_sourcedir/my-find-supplements \ %_sourcedir/pci_ids-%{version} - pesign-copy-sources: sources needed by the RPM macros above; here: pci_ids-%{version}, my-find-supplements - all above needs changes for pesign-obs-integration first (SR#1060443) OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=15
This commit is contained in:
parent
6214efb1c9
commit
8395564718
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 15:00:04 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- added pesign-copy-sources, pesign-spec-macros, which are needed
|
||||
to fix repackaging step required for securebooot signing kernel
|
||||
modules (boo#1207520)
|
||||
- pesign-spec-macros: used for defining RPM macros; here:
|
||||
%define __kmp_supplements %_sourcedir/my-find-supplements \
|
||||
%_sourcedir/pci_ids-%{version}
|
||||
- pesign-copy-sources: sources needed by the RPM macros above;
|
||||
here: pci_ids-%{version}, my-find-supplements
|
||||
- all above needs changes for pesign-obs-integration first
|
||||
(SR#1060443)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 23:52:53 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
@ -47,6 +47,8 @@ Source7: preamble
|
||||
Source8: json-to-pci-id-list.py
|
||||
Source9: pci_ids-unsupported-%{version}
|
||||
Source10: pci_ids-unsupported
|
||||
Source11: pesign-copy-sources
|
||||
Source12: pesign-spec-macros
|
||||
Patch0: 0001-Don-t-override-INSTALL_MOD_DIR.patch
|
||||
Patch2: persistent-nvidia-id-string.patch
|
||||
BuildRequires: %{kernel_module_package_buildreqs}
|
||||
@ -69,8 +71,8 @@ ExclusiveArch: x86_64 aarch64
|
||||
%(sed -e '/^%%post\>/ r %_sourcedir/kmp-post.sh' -e '/^%%postun\>/ r %_sourcedir/kmp-postun.sh' %kmp_template_name >%_builddir/nvidia-kmp-template)
|
||||
%kernel_module_package -n %{name} -t %_builddir/nvidia-kmp-template -f %_sourcedir/kmp-filelist -p %_sourcedir/preamble
|
||||
|
||||
# create hardware supplements
|
||||
%define __kmp_supplements %_sourcedir/my-find-supplements %_sourcedir/pci_ids-%{version}
|
||||
# create hardware supplements for manual builds
|
||||
%{load:%{SOURCE12}}
|
||||
|
||||
# newer rpmbuilds attach the kernel version and the major part of release to %%pci_id_file of the __kmp_supplements script
|
||||
# boo#1190210
|
||||
|
3
pesign-copy-sources
Normal file
3
pesign-copy-sources
Normal file
@ -0,0 +1,3 @@
|
||||
pci_ids-%{version}
|
||||
my-find-supplements
|
||||
|
1
pesign-spec-macros
Normal file
1
pesign-spec-macros
Normal file
@ -0,0 +1 @@
|
||||
%__kmp_supplements %{_sourcedir}/my-find-supplements %{_sourcedir}/pci_ids-%{version}
|
Loading…
Reference in New Issue
Block a user