get_kconfigs.sh: Improve Arch kconfig naming
authorAlexander Popov <alex.popov@linux.com>
Sat, 23 Nov 2024 16:23:04 +0000 (19:23 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sat, 23 Nov 2024 18:20:38 +0000 (21:20 +0300)
kernel_hardening_checker/config_files/distros/get_kconfigs.sh

index 9759effec9109a6334975497275b2d2e99f9f03f..dd9c11dbf9fe837418891882fd6ac811562cc6c6 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/bash
 
 oracle_git_url="https://raw.githubusercontent.com/oracle/kconfigs/refs/heads/gh-pages/out/"
-arch_git_url="https://gitlab.archlinux.org/archlinux/packaging/packages/"
 
 distros_from_oracle=(
     "Android 12 (5.10) aarch64"
@@ -28,9 +27,9 @@ for distro in "${distros_from_oracle[@]}"; do
 done
 
 # Fetch some other kconfigs
+wget -O Arch_hardened_x86_64.config https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config
 wget -O OpenSUSE_x86_64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/x86_64/default
 wget -O OpenSUSE_aarch64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/arm64/default
 wget -O SLE-15-SP7_x86_64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/SLE15-SP7/config/x86_64/default
 wget -O SLE-15-SP7_aarch64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/SLE15-SP7/config/arm64/default
 wget -O Azure_linux_x86_64.config https://raw.githubusercontent.com/microsoft/azurelinux/refs/heads/1.0/SPECS/kernel/config
-wget -O Archlinux-hardened_x86_64.config ${arch_git_url}linux-hardened/-/raw/main/config?ref_type=heads