Skip to content

Commit

Permalink
Improve kconfigs list
Browse files Browse the repository at this point in the history
  • Loading branch information
Willenst committed Nov 21, 2024
1 parent 179da80 commit 53ca0a0
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions kernel_hardening_checker/config_files/distros/get_kconfigs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ oracle_git_url="https://raw.githubusercontent.com/oracle/kconfigs/refs/heads/gh-
arch_git_url="https://gitlab.archlinux.org/archlinux/packaging/packages/"

distros_from_oracle=(
"Android 12 (5.10) aarch64"
"Android 15 (6.6) aarch64"
"Debian 13 Trixie aarch64"
"Debian 13 Trixie x86_64"
"Arch x86_64"
"CentOS Hyperscale 9 aarch64"
"CentOS Hyperscale 9 x86_64"
"Debian 10 Buster x86_64"
"Debian 13 Trixie aarch64"
"Debian 13 Trixie x86_64"
"Fedora 39 Core aarch64"
"Fedora 39 Core x86_64"
"Fedora 41 Core aarch64"
"Fedora 41 Core x86_64"
"Oracle Linux 7 (UEK 4) x86_64"
"Oracle Linux 9 (UEK-NEXT) aarch64"
"Oracle Linux 9 (UEK-NEXT) x86_64"
"Ubuntu 20.04 LTS Focal x86_64"
"Ubuntu 24.04 LTS Noble aarch64"
"Ubuntu 24.04 LTS Noble x86_64"
)
Expand All @@ -23,12 +30,11 @@ for distro in "${distros_from_oracle[@]}"; do
done

# Fetch some other kconfigs
wget -O Clearlinux_x86-64.config https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/config
wget -O Clearlinux_x86-64.cmdline https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/cmdline
wget -O OpenSUSE_x86-64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/x86_64/default
wget -O Clearlinux_x86_64.config https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/config
wget -O Clearlinux_x86_64.cmdline https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/cmdline
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_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
wget -O Archlinux-stable_x86-64.config ${arch_git_url}linux/-/raw/main/config?ref_type=heads
wget -O Archlinux-hardened_x86_64.config ${arch_git_url}linux-hardened/-/raw/main/config?ref_type=heads

0 comments on commit 53ca0a0

Please sign in to comment.