Repository navigation
Description
Describe the feature
Summary
CIFS is currently bundled into the all-or-nothing Networking feature set. There is no way to build with BBRv3, Qdisc, connection marking, and WireGuard enabled while excluding CIFS.
This request proposes splitting CIFS out into its own use_cifs toggle so users can keep the rest of the networking stack intact while opting out of CIFS.
Branch / fork context
This was observed on the feat/usb-arsenal branch, which I also maintain as a fork:
- Fork: https://github.com/Najip/GKI_KernelSU_SUSFS-6.1.138-176-lts
- Branch:
feat/usb-arsenal
The behavior is present in the upstream feat/usb-arsenal branch as well, since the fork tracks it.
Relevant commit
The most recent upstream commit touching the CIFS action is:
f5b9553— “feat(config): one wild fragment, appended by every step, verified in the build”
f5b9553
This commit refactored how kernel config overrides are applied: all config-setting steps (including CIFS) now append to a shared kernel/common/wild.fragment via add-configs / append_fragment.py, instead of editing gki_defconfig directly. The fragment is consumed by both Kleaf (--defconfig_fragment=//common:wild.fragment) and build.sh (via BUILD_CONFIG_FRAGMENTS → POST_DEFCONFIG_CMDS).
While this commit did not introduce the CIFS/Networking coupling, it is the right place to implement a clean opt-out, since skipping the CIFS step now simply means not appending its entries to wild.fragment.
Current behavior
use_net: trueenables the full networking set, which includes CIFS.use_net: falsedisables the entire networking set, including CIFS, BBRv3, Qdisc, connection marking, TTL/Hop Limit targets, and WireGuard.
There is no per-feature control for CIFS alone.
Evidence
Two recent runs on the fork demonstrate the impact:
-
Networking enabled (CIFS included): build failed
https://github.com/Najip/GKI_KernelSU_SUSFS-6.1.138-176-lts/actions/runs/42540776129 -
Networking disabled (CIFS excluded): build succeeded
https://github.com/Najip/GKI_KernelSU_SUSFS-6.1.138-176-lts/actions/runs/42541305483
This suggests CIFS is a meaningful failure point for some users, and that being able to exclude it without losing the rest of the networking features would be valuable.
Proposed change
Add a dedicated boolean input:
use_cifs:
description: "CIFS network filesystem support"
type: boolean
default: trueWire it through:
main.yml— add theuse_cifsinput and include it in the feature-set wiring.build.yml— acceptuse_cifsand pass it to the networking action..github/actions/networking/action.yml— add ause_cifsinput (defaulttrue) and make theSetup CIFS Configsstep conditional:
- name: Setup CIFS Configs
if: inputs.use_cifs != \'false\'
uses: ./.github/actions/cifs
with:
version: ${{ inputs.version }}Why this is easy now
With f5b9553, skipping the CIFS step means simply not appending these entries to wild.fragment:
CONFIG_CIFS=y
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NETFS_SUPPORT=y
CONFIG_KEYS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
No defconfig editing or special-casing is needed — the existing fragment/verification flow already handles the rest.
Expected result
use_cifs: true(default): behavior unchanged; CIFS forced on as today.use_cifs: false: CIFS-related configs and module-list pruning are skipped; BBRv3, Qdisc, connmark, TTL, and WireGuard remain available.
This would give users fine-grained control without sacrificing the rest of the networking stack.
Link to documentation
No response
Screenshots
No response
Activity
[-]Add a separate CIFS toggle independent of the Networking feature[/-][+][Feature] Add a separate CIFS toggle independent of the Networking feature[/+]github-actions commentedon Nov 9, 2026
User Najip does not have write permissions
github run