Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
7f608e6
ci: update Baseband-guard script URL
TheWildJames Feb 6, 2026
da43650
ci: add pre-build clean step to kernel workflow
TheWildJames Feb 6, 2026
5ef3b51
ci(kernel): disable optional networking and IPSet features
TheWildJames Feb 6, 2026
68a2b84
ci: remove ksu_variant input and simplify to only WKSU
TheWildJames Feb 6, 2026
80fc28b
switched to canary
TheWildJames Feb 6, 2026
63d0ad0
ci: update baseband-guard script source URL
TheWildJames Feb 6, 2026
1aefc37
ci(kernel): disable BBG and ptrace patch, comment out mrproper
TheWildJames Feb 7, 2026
42fbfed
ci: fix EOF placement in kernel config fragment generation
TheWildJames Feb 8, 2026
c2732a7
chore(ci): change kernel build configurations
TheWildJames Feb 9, 2026
3414f41
ci: disable experimental features and clean up workflow
TheWildJames Feb 10, 2026
05e5674
ci(github-actions): reorder and remove comment in workflow inputs
TheWildJames Feb 10, 2026
08e65c7
feat(workflows): add feature_set input to kernel build workflows and …
TheWildJames Feb 14, 2026
a0e703a
feat(workflows): add kernel testing workflow with required inputs
TheWildJames Feb 14, 2026
7baac87
feat(workflows): update kernel workflows for consistency and add A16 …
TheWildJames Feb 14, 2026
6ff9914
feat(workflows): reorganize kernel build jobs and update testing work…
TheWildJames Feb 14, 2026
5aeabce
feat(workflows): remove push trigger from kernel testing workflow
TheWildJames Feb 14, 2026
ea8b869
feat(workflows): rename kernel_type input to kernel_build_version and…
TheWildJames Feb 14, 2026
645338c
feat(workflows): enhance build summary with start and end messages, a…
TheWildJames Feb 14, 2026
3f1995e
feat(workflows): update kernel testing and notification workflows wit…
TheWildJames Feb 14, 2026
9fe9f85
feat(workflows): comment out SUSFS patch application for Android 14 a…
TheWildJames Feb 14, 2026
b5c3bee
feat(workflows): add deprecation notice for branches in manifest sync…
TheWildJames Feb 14, 2026
ecff77d
feat(workflows): enhance build summary with additional branch and fea…
TheWildJames Feb 14, 2026
ee81cf9
feat(workflows): implement dependency download and setup actions for …
TheWildJames Feb 14, 2026
2567193
feat(workflows): add download-dependencies job and update kernel buil…
TheWildJames Feb 14, 2026
01176c4
feat(workflows): streamline build summary steps by removing start mes…
TheWildJames Feb 14, 2026
73f1f99
fix(action): correct working-directory path for BBG version extraction
TheWildJames Feb 14, 2026
65550b4
feat(workflows): implement download-kernel action to initialize and s…
TheWildJames Feb 14, 2026
2e650ba
temp disable || true
TheWildJames Feb 19, 2026
8c9ffb9
ci: only run release job for workflow_dispatch events
TheWildJames Feb 19, 2026
0387117
ci: Continue workflow overhaul
TheWildJames Feb 27, 2026
b96b35c
ci: Continue workflow overhaul
TheWildJames Feb 27, 2026
d71db2b
ci: Reorganize workflow UI with static job names per build group
TheWildJames Feb 27, 2026
653e126
ci: Fix conflicting job conditions - remove push triggers from groupe…
TheWildJames Feb 27, 2026
b269bb1
ci: On push, build only LTS and Testing kernels
TheWildJames Feb 27, 2026
dbda3ec
ci: Remove paths-ignore from push triggers in workflow
TheWildJames Feb 27, 2026
1d3037e
ci: Remove matrix expansion from LTS and Testing jobs - no more group…
TheWildJames Feb 27, 2026
a57defb
Revert "ci: Remove matrix expansion from LTS and Testing jobs - no mo…
TheWildJames Feb 27, 2026
893d20e
ci: Group LTS and Testing jobs by same name - parallel execution with…
TheWildJames Feb 27, 2026
0535209
Revert "ci: Group LTS and Testing jobs by same name - parallel execut…
TheWildJames Feb 27, 2026
7d04e10
ci: Fix matrix expansion - use underscore output names
TheWildJames Feb 27, 2026
b75fb3d
ci: Refactor workflows - remove build- prefix and implement reusable …
TheWildJames Feb 27, 2026
246da99
ci: Fix workflow syntax - use matrix with direct build steps instead …
TheWildJames Feb 27, 2026
1003c93
ci: Fix workflow syntax - remove intermediate files and inline matric…
TheWildJames Feb 27, 2026
b28faf4
refactor(ci): consolidate kernel build workflows using config files
TheWildJames Mar 4, 2026
590a800
ci: update path to WKSU setup script
TheWildJames Mar 5, 2026
1d0de70
ci(wksu): make setup.sh executable before running
TheWildJames Mar 5, 2026
2d019ed
ci: replace dependency caching with dynamic commit fetching
TheWildJames Mar 5, 2026
b6babf0
ci(build): restructure dependency setup in workflow
TheWildJames Mar 5, 2026
9b766ef
ci(susfs): improve kernel patch application logic
TheWildJames Mar 5, 2026
ae246e0
ci(bbg): simplify installation by using direct script download
TheWildJames Mar 5, 2026
a15d3fc
ci: disable ABI compare bypass in kernel build workflow
TheWildJames Mar 5, 2026
c050807
ci(wksu): add clarifying comment to kernel setup script
TheWildJames Mar 6, 2026
caa112a
ci: remove obsolete LTS kernel patch for sublevel 251
TheWildJames Mar 6, 2026
97211f9
ci: improve kernel version parsing in build workflow
TheWildJames Mar 6, 2026
b2865cf
ci(susfs): handle LTS builds and pass susfs_commit input
TheWildJames Mar 6, 2026
573cf77
ci: disable branding action and fix SUSFS configuration
TheWildJames Mar 7, 2026
6593696
ci: install linker tools for kernel 5.10 build
TheWildJames Mar 7, 2026
ba2479a
ci(github-actions): rename job and update KSU branch reference
TheWildJames Mar 7, 2026
bad765a
ci: rename job dependency from fetch-latest-commits to fetch-commits
TheWildJames Mar 7, 2026
088f8a3
ci: fix conditional check for linker tools installation
TheWildJames Mar 7, 2026
56a0e15
ci(fetch-commits): improve Wild KSU commit resolution
TheWildJames Mar 7, 2026
a262152
ci(build): ensure GNU ld is in PATH for linking step
TheWildJames Mar 7, 2026
057095c
ci: reorder linker installation after disk cleanup
TheWildJames Mar 7, 2026
d87c70d
ci: temporarily disable linker tools
TheWildJames Mar 7, 2026
8066e10
ci: skip mrproper step in GKI build workflow
TheWildJames Mar 7, 2026
5848ebc
ci: refactor SUSFS patch setup into reusable GitHub Action
TheWildJames Mar 7, 2026
e7b7d82
ci(susfs): remove obsolete kernel patch steps
TheWildJames Mar 7, 2026
48daa20
ci(susfs-patches): remove exit 0 and consolidate patch files
TheWildJames Mar 7, 2026
3719246
ci(susfs-patches): rename action for clarity
TheWildJames Mar 7, 2026
2058eaf
ci: update kernel config and release notes
TheWildJames Mar 7, 2026
bea5a8f
ci: enable glibc 2.38 fix and update kernel configs
TheWildJames Mar 7, 2026
1343678
ci(susfs-patches): remove outdated i2c-nomadik patch condition
TheWildJames Mar 7, 2026
5e53006
ci(susfs-patches): add sed command to fix missing CONFIG_IP_SET_MAX
TheWildJames Mar 7, 2026
ed5061d
ci(susfs-patches): fix missing CONFIG_IP_SET_MAX define
TheWildJames Mar 8, 2026
04e7c56
ci(workflows): pass kernel version to configure action
TheWildJames Mar 8, 2026
2baab00
ci: fix conditional syntax in GitHub Actions workflow
TheWildJames Mar 8, 2026
8b71672
ci(configure-kernel): apply kernel config for version 5.10
TheWildJames Mar 8, 2026
251b4fc
ci(configure-kernel): simplify conditional sed command
TheWildJames Mar 8, 2026
09edd31
ci(susfs-patches): comment out sed command for kernel version 5.15
TheWildJames Mar 8, 2026
0b2d276
ci(susfs-patches): update uid conversion for kernel compatibility
TheWildJames Mar 8, 2026
6c257fc
ci: fix workflow condition and add patch for older kernel sublevels
TheWildJames Mar 9, 2026
3420ab1
ci(susfs-patches): comment out namespace patch application
TheWildJames Mar 10, 2026
59368d6
ci(susfs-patches): remove commented-out namespace.c.patch code block
TheWildJames Mar 10, 2026
d0afe2d
ci: replace 'testing' job check with 'bypass' in workflow
TheWildJames Mar 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/actions/apply-device-patches/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Apply Device-Specific Patches'
description: 'Apply WiFi/Bluetooth fixes for Samsung and Xiaomi 6.6 GKI devices'
inputs:
kernel_version:
description: 'Kernel version (e.g., 6.6)'
required: true

runs:
using: "composite"
steps:
- name: Fix WiFi and Bluetooth on Samsung 6.6 GKI Devices
if: ${{ inputs.kernel_version == '6.6' }}
shell: bash
working-directory: ${{ github.workspace }}/kernel/common
run: |
SYMBOL_LIST=android/abi_gki_aarch64_galaxy
echo "kdp_set_cred_non_rcu" >> $SYMBOL_LIST
echo "kdp_usecount_dec_and_test" >> $SYMBOL_LIST
echo "kdp_usecount_inc" >> $SYMBOL_LIST
PATCH="${{ github.workspace }}/kernel_patches/samsung/min_kdp/add-min_kdp-symbols.patch"
if patch -p1 --dry-run < "$PATCH"; then
patch -p1 --no-backup-if-mismatch < $PATCH
fi
cp "${{ github.workspace }}/kernel_patches/samsung/min_kdp/min_kdp.c" drivers/min_kdp.c
echo "obj-y += min_kdp.o" >> drivers/Makefile
- name: Fix WiFi and Bluetooth on Xiaomi 6.6 GKI Devices
if: ${{ inputs.kernel_version == '6.6' }}
shell: bash
working-directory: ${{ github.workspace }}/kernel/common
run: |
SYMBOL_LIST=android/abi_gki_aarch64_xiaomi
echo "device_find_any_child" >> $SYMBOL_LIST
49 changes: 49 additions & 0 deletions .github/actions/apply-kernel-branding/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: 'Apply Kernel Branding'
description: 'Apply Wild kernel branding to kernel version string'
inputs:
build_type:
description: 'Build type (Normal, Bypass, MarionKernel, Hakan, etc.)'
required: true
kernel_version:
description: 'Kernel version (e.g., 5.10, 6.1, 6.6)'
required: true

runs:
using: "composite"
steps:
- name: Apply Kernel Name Branding
if: false
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
# Apply kernel branding based on version and variant
if [[ "${{ inputs.kernel_version }}" == "5."* ]] || [[ "${{ inputs.kernel_version }}" == "6.1" ]]; then
# Older kernels: append to end of version string
case ${{ inputs.build_type }} in
MarionKernel)
perl -i -0777 -pe 's/(.*)echo "\$res"/$1echo "\$res-Wild-MarionKernel"/s' ./common/scripts/setlocalversion
;;
Hakan)
perl -i -0777 -pe 's/(.*)echo "\$res"/$1echo "\$res-Wild-Hakan"/s' ./common/scripts/setlocalversion
;;
TheWildJames)
perl -i -0777 -pe 's/(.*)echo "\$res"/$1echo "\$res-Wild-TheWildJames"/s' ./common/scripts/setlocalversion
;;
vTomsonek)
perl -i -0777 -pe 's/(.*)echo "\$res"/$1echo "\$res-Wild-vTomsonek"/s' ./common/scripts/setlocalversion
;;
*)
perl -i -0777 -pe 's/(.*)echo "\$res"/$1echo "\$res-Wild"/s' ./common/scripts/setlocalversion
;;
esac
else
# Newer kernels (6.6+): insert before scm_version
case ${{ inputs.build_type }} in
*)
perl -i -0777 -pe 's/(.*)echo "\$\{KERNELVERSION\}\$\{file_localversion\}\$\{config_localversion\}\$\{LOCALVERSION\}\$\{scm_version\}"/$1echo "\${KERNELVERSION}\${file_localversion}\${config_localversion}\${LOCALVERSION}-Wild\${scm_version}"/s' ./common/scripts/setlocalversion
;;
esac
fi
# Set build timestamp
export KBUILD_BUILD_TIMESTAMP="$(date -u '+%a %b %e %H:%M:%S UTC %Y')"
41 changes: 41 additions & 0 deletions .github/actions/bbg/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Setup Baseband Guard (BBG)
description: Download and configure Baseband Guard security module

runs:
using: composite
steps:
- name: Install Baseband Guard
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
wget -O- https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh | bash
- name: Configure Baseband Guard
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
# Add BBG to defconfig
echo "CONFIG_BBG=y" >> "${{ github.workspace }}/wild_gki.fragment"
# Modify security Kconfig to include baseband_guard in LSM
sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' common/security/Kconfig
- name: Verify BBG Installation
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
if grep -q "baseband_guard" common/security/Kconfig; then
echo "✓ SUCCESS: baseband_guard found in common/security/Kconfig"
grep -n "baseband_guard" common/security/Kconfig || true
else
echo "✗ FAILED: baseband_guard not found in common/security/Kconfig"
exit 1
fi
- name: Extract BBG Version
shell: bash
working-directory: ${{ github.workspace }}/kernel/Baseband-guard
run: |
# Extract and export BBG version info
BBG_COMMIT=$(git rev-parse --short HEAD 2>/dev/null)
echo "BBG_COMMIT=$BBG_COMMIT" >> $GITHUB_ENV
29 changes: 29 additions & 0 deletions .github/actions/clean-kernel-flags/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Clean Kernel Flags'
description: 'Clean dirty flags and ABI exports to prevent build errors'

runs:
using: "composite"
steps:
- name: Clean Dirty Flags and ABI Exports
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
# Clean dirty flags and ABI exports based on build system
if [ -f "build/build.sh" ]; then
# Old build system (5.10, 5.15, early 6.1)
sed -i 's/-dirty//' ./common/scripts/setlocalversion
else
# Bazel build system (newer kernels)
sed -i "/stable_scmversion_cmd/s/-maybe-dirty//g" ./build/kernel/kleaf/impl/stamp.bzl
sed -i 's/-dirty//' ./common/scripts/setlocalversion
# Remove ABI protected exports to prevent build errors
rm -rf ./common/android/abi_gki_protected_exports_*
perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./common/BUILD.bazel
fi
# Commit changes to avoid dirty state during build
cd ${{ github.workspace }}/kernel/common
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Wild: Clean Dirty Flag"
56 changes: 56 additions & 0 deletions .github/actions/configure-kernel/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: 'Configure Kernel Options'
description: 'Set up kernel configuration fragment with required options'
inputs:
kernel_version:
description: 'Kernel version (e.g., 6.6)'
required: true

runs:
using: "composite"
steps:
- name: Apply Kernel Configuration
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
# Optional kernel config placeholders
# Networking Configuration
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP6_NF_TARGET_HL=y
CONFIG_IP6_NF_MATCH_HL=y
# BBR TCP Congestion Control
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BBR=y
CONFIG_NET_SCH_FQ=y
# CONFIG_TCP_CONG_BIC is not set
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
# IPSet Support
CONFIG_IP_SET=y
CONFIG_IP_SET_MAX=65534
CONFIG_IP_SET_BITMAP_IP=y
CONFIG_IP_SET_BITMAP_IPMAC=y
CONFIG_IP_SET_BITMAP_PORT=y
CONFIG_IP_SET_HASH_IP=y
CONFIG_IP_SET_HASH_IPMARK=y
CONFIG_IP_SET_HASH_IPPORT=y
CONFIG_IP_SET_HASH_IPPORTIP=y
CONFIG_IP_SET_HASH_IPPORTNET=y
CONFIG_IP_SET_HASH_IPMAC=y
CONFIG_IP_SET_HASH_MAC=y
CONFIG_IP_SET_HASH_NETPORTNET=y
CONFIG_IP_SET_HASH_NET=y
CONFIG_IP_SET_HASH_NETNET=y
CONFIG_IP_SET_HASH_NETPORT=y
CONFIG_IP_SET_HASH_NETIFACE=y
CONFIG_IP_SET_LIST_SET=y
EOF
- name: Apply Kernel Config for 5.10
shell: bash
working-directory: ${{ github.workspace }}/kernel/common
if: inputs.kernel_version == '5.10'
run: |
sed -i 's/CONFIG_IP_SET_MAX/65534/g' net/netfilter/ipset/ip_set_core.c
47 changes: 47 additions & 0 deletions .github/actions/download-kernel/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: 'Download Kernel Repository'
description: 'Initialize and sync Android kernel source repository'

inputs:
android_version:
description: 'Android version (e.g., android14)'
required: true
kernel_version:
description: 'Kernel version (e.g., 5.15, 6.1)'
required: true
os_patch_level:
description: 'OS patch level (e.g., 2024-01)'
required: true

outputs:
deprecated_branch:
description: 'Whether the branch is deprecated'
value: ${{ steps.sync.outputs.deprecated }}

runs:
using: composite
steps:
- name: Initialize and Sync Kernel Repository
id: sync
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
FORMATTED_BRANCH="${{ inputs.android_version }}-${{ inputs.kernel_version }}-${{ inputs.os_patch_level }}"
# Initialize repo with the target branch
repo init -u https://android.googlesource.com/kernel/manifest -b common-${FORMATTED_BRANCH} --depth=1
# Check if branch is deprecated
REMOTE_BRANCH=$(git ls-remote https://android.googlesource.com/kernel/common ${FORMATTED_BRANCH})
DEFAULT_MANIFEST_PATH=.repo/manifests/default.xml
DEPRECATED=false
if grep -q deprecated <<< $REMOTE_BRANCH; then
sed -i "s/\"${FORMATTED_BRANCH}\"/\"deprecated\/${FORMATTED_BRANCH}\"/g" $DEFAULT_MANIFEST_PATH
echo "⚠ Note: Branch ${FORMATTED_BRANCH} is considered deprecated."
DEPRECATED=true
fi
echo "deprecated=$DEPRECATED" >> $GITHUB_OUTPUT
# Sync kernel source
repo --trace sync -c -j$(nproc --all) --fail-fast --no-tags --force-sync --no-clone-bundle
96 changes: 96 additions & 0 deletions .github/actions/fetch-commits/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Fetch Latest Commits
description: "Fetches the latest commit hashes for Wild KSU, AnyKernel3, Kernel Patches, and SUSFS"
inputs:
ksu_commit:
description: "Optional: Specific Wild KSU commit to use"
required: false
default: ""
outputs:
ksu_commit:
description: "Wild KSU Commit"
value: ${{ steps.commits.outputs.ksu_commit }}
anykernel_commit:
description: "AnyKernel3 Commit"
value: ${{ steps.commits.outputs.anykernel_commit }}
patches_commit:
description: "Kernel Patches Commit"
value: ${{ steps.commits.outputs.patches_commit }}
susfs_commit:
description: "SUSFS Commit (Map)"
value: ${{ steps.commits.outputs.susfs_commit }}

runs:
using: "composite"
steps:
- name: Get Latest Commits
id: commits
shell: bash
run: |
# Helper to get latest commit from remote without cloning full repo
get_commit() {
git ls-remote "$1" "$2" | awk '{print $1}'
}
echo "Fetching latest commits..."
# Wild KSU
if [ -n "${{ inputs.ksu_commit }}" ]; then
# Try to resolve input as a ref (branch/tag)
resolved_commit=$(get_commit "https://github.com/WildKernels/Wild_KSU.git" "${{ inputs.ksu_commit }}")
if [ -n "$resolved_commit" ]; then
ksu_commit="$resolved_commit"
else
# If resolution failed, assume input is a commit SHA
ksu_commit="${{ inputs.ksu_commit }}"
fi
echo "Using provided Wild KSU commit: $ksu_commit"
else
ksu_commit=$(get_commit "https://github.com/WildKernels/Wild_KSU.git" "refs/heads/canary")
echo "Wild KSU: $ksu_commit"
fi
echo "ksu_commit=$ksu_commit" >> $GITHUB_OUTPUT
# AnyKernel3
AK3_COMMIT=$(get_commit "https://github.com/WildKernels/AnyKernel3.git" "refs/heads/gki-2.0")
echo "AnyKernel3: $AK3_COMMIT"
echo "anykernel_commit=$AK3_COMMIT" >> $GITHUB_OUTPUT
# Kernel Patches
PATCHES_COMMIT=$(get_commit "https://github.com/WildKernels/kernel_patches.git" "HEAD")
echo "Kernel Patches: $PATCHES_COMMIT"
echo "patches_commit=$PATCHES_COMMIT" >> $GITHUB_OUTPUT
# SUSFS (using gitlab) - Fetch all relevant branches
SUSFS_REPO="https://gitlab.com/simonpunk/susfs4ksu.git"
echo "Fetching SUSFS commits for all branches..."
# We need to construct a JSON object or a simple string map
# Format: branch1:commit1,branch2:commit2,...
BRANCHES=(
"gki-android12-5.10"
"gki-android13-5.10"
"gki-android13-5.15"
"gki-android14-5.15"
"gki-android14-6.1"
"gki-android15-6.6"
"gki-android16-6.12"
)
SUSFS_MAP=""
for branch in "${BRANCHES[@]}"; do
COMMIT=$(get_commit "$SUSFS_REPO" "refs/heads/$branch")
if [ -n "$COMMIT" ]; then
echo " $branch: $COMMIT"
if [ -z "$SUSFS_MAP" ]; then
SUSFS_MAP="$branch:$COMMIT"
else
SUSFS_MAP="$SUSFS_MAP,$branch:$COMMIT"
fi
else
echo " $branch: Not found"
fi
done
echo "susfs_commit=$SUSFS_MAP" >> $GITHUB_OUTPUT
21 changes: 21 additions & 0 deletions .github/actions/hakan/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup RFKILL Modules
description: Configure WiFi/Bluetooth RFKILL modules for Hakan variant

runs:
using: composite
steps:
- name: Configure RFKILL for WiFi/Bluetooth
shell: bash
working-directory: ${{ github.workspace }}/kernel
run: |
cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
CONFIG_RFKILL=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
EOF
# Remove libarc4.ko and rfkill.ko from modules list
sed -i \
-e '/_COMMON_GKI_MODULES_LIST = \[/,/^[[:space:]]*\]/{/^[[:space:]]*"lib\/crypto\/libarc4\.ko",[[:space:]]*$/d}' \
-e '/_COMMON_GKI_MODULES_LIST = \[/,/^[[:space:]]*\]/{/^[[:space:]]*"net\/rfkill\/rfkill\.ko",[[:space:]]*$/d}' \
common/modules.bzl
Loading