Verified Commit 3b6751c8 authored by Sherif Nagy's avatar Sherif Nagy
Browse files

Inital patch

parents
# TODO
# Check boot*.CVS and how they are created.
add {
file: "ROCKY/_supporting/shim-15-16-rocky-branding-rpmmacros.patch"
}
replace {
file: "redhatsecureboot501.cer"
with_file: "ROCKY/_supporting/rockylinuxbootsigningcert101test.crt"
}
replace {
file: "redhatsecurebootca5.cer"
with_file: "ROCKY/_supporting/rockylinuxbootsigningca101test.crt"
}
spec_change {
replace {
field: "Source1"
value: "rockylinuxbootsigningcert101test.crt"
}
replace {
field: "Source2"
value: "rockylinuxbootsigningca101test.crt"
}
file {
name: "shim-15-16-rocky-branding-rpmmacros.patch"
type: Patch
add: true
add_to_prep: true
}
changelog {
author_name: "Sherif Nagy"
author_email: "sherif@disroot.org"
message: "Remove Centos Certs and added Rocky certs - branding -"
}
}
-----BEGIN CERTIFICATE-----
MIIEjzCCA3egAwIBAgIUPCIgOt08c9UcFG7OAlBKVUa5JEswDQYJKoZIhvcNAQEL
BQAwgdYxCzAJBgNVBAYTAlVTMREwDwYDVQQIDAhEZWxhd2FyZTEOMAwGA1UEBwwF
RG92ZXIxLTArBgNVBAoMJFJvY2t5IEVudGVycHJpc2UgU29mdHdhcmUgRm91bmRh
dGlvbjEZMBcGA1UECwwQRGV2ZWxvcG1lbnQgdGVhbTEvMC0GA1UEAwwmUm9ja3kg
TGludXggQm9vdCBTaW5naW5nIENBIDEwMSAoVEVTVCkxKTAnBgkqhkiG9w0BCQEW
GmRldmVsb3BtZW50QHJvY2t5bGludXgub3JnMB4XDTIxMDMwODE2MTg1OFoXDTMx
MDMwNjE2MTg1OFowgdYxCzAJBgNVBAYTAlVTMREwDwYDVQQIDAhEZWxhd2FyZTEO
MAwGA1UEBwwFRG92ZXIxLTArBgNVBAoMJFJvY2t5IEVudGVycHJpc2UgU29mdHdh
cmUgRm91bmRhdGlvbjEZMBcGA1UECwwQRGV2ZWxvcG1lbnQgdGVhbTEvMC0GA1UE
AwwmUm9ja3kgTGlud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VyjG3pGOttxK4gNWZbcy5R1daBelPumJIjVa
iY8liQIMBhiLdy5VKA2J6I62GCsHD7gmlp9p+7YE9GU8trDEat/GWlDCSGwhGsNt
BC/pdv3dk89qFipSX86Zjmwf0qOOrWsHTItsbex6V8xuhxFi4EymnW9ID5A71XgR
UV2LVfQz8ZwBxFBhz21FPJgdS0MwP2A/yiazbUdQzZ0xDohDJdj0j1EZuooDPHdG
yLh5TCipP9Y5cIo35gW4trsA+OMP7xT5O6vAU6rUs22PWTgUyndvuFI5wC4uGUpy
L2jmZEVtxKzTHdu800FRhzKYjX9CG00+5Hyj
-----END CERTIFICATE-----
--- a/SOURCES/shim.rpmmacros 2021-03-08 17:00:06.940828710 +0000
+++ b/SOURCES/shim.rpmmacros 2021-03-08 17:37:09.470889884 +0000
@@ -90,7 +90,7 @@
# -i <input>
%define distrosign(b:a:d:) \
cp -av %{-d*}/%{-b*}%{-a*}.efi %{-b*}%{-a*}-unsigned.efi \
- %{expand:%%sign -i %{-b*}%{-a*}-unsigned.efi -o %{-b*}%{-a*}-signed.efi -n redhatsecureboot501 -a %{SOURCE2} -c %{SOURCE1} }\
+ %{expand:%%sign -i %{-b*}%{-a*}-unsigned.efi -o %{-b*}%{-a*}-signed.efi -n rockylinuxbootsigningcert101test -a %{SOURCE2} -c %{SOURCE1} }\
%{nil}
# -a <efiarch>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment