2
2
%define uname_r %{version }-rolling-lts-mariner-%{release }
3
3
Summary: Signed Linux Kernel for aarch64 systems
4
4
Name: kernel-signed-aarch64
5
- Version: 5.10.13 .1
6
- Release: 1 %{?dist }
5
+ Version: 5.10.21 .1
6
+ Release: 3 %{?dist }
7
7
License: GPLv2
8
8
Vendor: Microsoft Corporation
9
9
Distribution: Mariner
@@ -22,7 +22,7 @@ URL: https://github.com/microsoft/CBL-Mariner-Linux-Kernel
22
22
# 3. Place the unsigned package and signed binary in this spec's folder
23
23
# 4. Build this spec
24
24
Source0: kernel-%{version }-%{release }.aarch64 .rpm
25
- Source1: vmlinuz-%{version }-%{ release }
25
+ Source1: vmlinuz-%{uname_r }
26
26
BuildRequires: cpio
27
27
Requires: filesystem
28
28
Requires: kmod
@@ -38,16 +38,16 @@ This package contains the Linux kernel package with kernel signed with the produ
38
38
39
39
%build
40
40
rpm2cpio %{SOURCE0 } | cpio -idmv
41
+ cp %{SOURCE1 } ./boot/vmlinuz-%{uname_r }
41
42
42
43
%install
43
44
install -vdm 700 %{buildroot }/boot
44
45
install -vdm 755 %{buildroot }/lib/modules/%{uname_r }
45
46
mkdir -p %{buildroot }/%{_localstatedir }/lib/initramfs/kernel
46
47
47
- cp -rp ./boot/* %{buildroot }/boot
48
- cp -rp ./lib/* %{buildroot }/lib
49
- cp -rp ./var/* %{buildroot }/%{_localstatedir }
50
- cp %{SOURCE1 } %{buildroot }/boot/vmlinuz-%{version }-%{release }
48
+ cp -rp ./boot/. %{buildroot }/boot
49
+ cp -rp ./lib/. %{buildroot }/lib
50
+ cp -rp ./var/. %{buildroot }/%{_localstatedir }
51
51
52
52
%triggerin -- initramfs
53
53
mkdir -p %{_localstatedir }/lib/rpm-state/initramfs/pending
@@ -82,6 +82,25 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
82
82
%config %{_localstatedir }/lib/initramfs/kernel/%{uname_r }
83
83
84
84
%changelog
85
+ *
Thu Mar 18 2021 Chris Co <[email protected] > -
5.10.21.1-3
86
+ - Fix file copy
87
+
88
+ *
Wed Mar 17 2021 Nicolas Ontiveros <[email protected] > -
5.10.21.1-2
89
+ - Update to kernel release 5.10.21.1-2
90
+
91
+ *
Thu Mar 11 2021 Chris Co <[email protected] > -
5.10.21.1-1
92
+ - Update source to 5.10.21.1
93
+
94
+ *
Fri Mar 05 2021 Chris Co <[email protected] > -
5.10.13.1-4
95
+ - Update release number to match kernel spec
96
+ - Use uname_r macro instead of version-release for kernel version
97
+
98
+ *
Thu Mar 04 2021 Suresh Babu Chalamalasetty <[email protected] > -
5.10.13.1-3
99
+ - Update to kernel release 5.10.13.1-3
100
+
101
+ *
Mon Feb 22 2021 Thomas Crain <[email protected] > -
5.10.13.1-2
102
+ - Update to kernel release 5.10.13.1-2
103
+
85
104
*
Thu Feb 18 2021 Chris Co <[email protected] > -
5.10.13.1-1
86
105
- Update source to 5.10.13.1
87
106
0 commit comments