add create_symlinks.sh and update config file

This commit is contained in:
eabdullin 2025-01-24 16:10:33 +03:00
parent 345f6f450f
commit f41c1533de
2 changed files with 57 additions and 5 deletions

View File

@ -5,14 +5,14 @@ actions:
name: "almalinuxdup1.x509"
number: 100
- type: "source"
name: "almalinuxima.x509"
number: 104
name: "almalinuxkpatch1.x509"
number: 101
- type: "source"
name: "almalinuximaca1.x509"
number: 103
- type: "source"
name: "almalinuxkpatch1.x509"
number: 101
name: "almalinuxima.x509"
number: 104
- type: "patch"
name: "0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch"
number: 2001
@ -631,6 +631,47 @@ actions:
CN = AlmaLinux kernel signing key
emailAddress = security@almalinux.org
count: 1
- target: "spec"
find: |
Source32: %{name}-x86_64-rhel.config
Source33: %{name}-x86_64-debug-rhel.config
replace: |
Source32: %{name}-x86_64-rhel.config
Source33: %{name}-x86_64-debug-rhel.config
Source10001: %{name}-x86_64_v2-rhel.config
Source10002: %{name}-x86_64_v2-debug-rhel.config
count: 1
- target: "spec"
find: |
Source204: Module.kabi_x86_64
Source205: Module.kabi_riscv64
replace: |
Source204: Module.kabi_x86_64
Source205: Module.kabi_riscv64
Source206: Module.kabi_x86_64_v2
count: 1
- target: "spec"
find: |
Source213: Module.kabi_dup_x86_64
Source214: Module.kabi_dup_riscv64
replace: |
Source213: Module.kabi_dup_x86_64
Source214: Module.kabi_dup_riscv64
Source215: Module.kabi_dup_x86_64_v2
count: 1
- target: "spec"
find: |
Source476: %{name}-x86_64-rt-rhel.config
Source477: %{name}-x86_64-rt-debug-rhel.config
replace: |
Source476: %{name}-x86_64-rt-rhel.config
Source477: %{name}-x86_64-rt-debug-rhel.config
Source478: %{name}-x86_64_v2-rt-rhel.config
Source479: %{name}-x86_64_v2-rt-debug-rhel.config
count: 1
- run_script:
- script: "create_symlinks.sh"
- delete_line:
- target: "spec"
@ -660,4 +701,4 @@ actions:
email: "eabdullin@almalinux.org"
line:
- "Use AlmaLinux OS secure boot cert"
- "Debrand for AlmaLinux OS"
- "Debrand for AlmaLinux OS"

View File

@ -0,0 +1,11 @@
ln -s Module.kabi_x86_64 Module.kabi_x86_64_v2
ln -s Module.kabi_dup_x86_64 Module.kabi_dup_x86_64_v2
ln -s kernel-x86_64-rhel.config kernel-x86_64_v2-rhel.config
ln -s kernel-x86_64-debug-rhel.config kernel-x86_64_v2-debug-rhel.config
ln -s kernel-x86_64-rt-rhel.config kernel-x86_64_v2-rt-rhel.config
ln -s kernel-x86_64-rt-debug-rhel.config kernel-x86_64_v2-rt-debug-rhel.config
ln -s kernel-x86_64-automotive-rhel.config kernel-x86_64_v2-automotive-rhel.config
ln -s kernel-x86_64-automotive-debug-rhel.config kernel-x86_64_v2-automotive-debug-rhel.config