Repository navigation
Enable autofs support explicitly - #4984
Conversation
Supervisor pairs every network mount with a systemd .automount unit, so the kernel automounter is a hard requirement for network storage. Today the option is only enabled as a side effect: Buildroot's systemd package force-enables CONFIG_AUTOFS_FS through its kernel config fixups. That works โ it even overrode the explicit disable the Raspberry Pi config carried until 11.2 โ but nothing in our configs states the dependency, and the fixup skips symbols already set to =m, which leaves the Rockchip boards (Green, ODROID-M1/M1S) with autofs as a module while every other board has it built in. Set the option in the shared fragment to document the requirement and build it in everywhere. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. ๐ โน๏ธ Recent review infoโ๏ธ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: ๐ Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. ๐ WalkthroughWalkthroughThe kernel configuration enables built-in autofs filesystem support for the v6.18.y kernel. ChangesKernel filesystem configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: โช Minimal ยท up to This change explicitly enables kernel automounter support for network storage without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. Suggested reviewers: Poem
๐ฅ Pre-merge checks | โ 5โ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) โจ Finishing Touches๐งช Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I've double checked my local builds, and a couple of real-world boards (notably RPi, ova, x86-64, back to HAOS 15.2), and indeed AUTOFS seems to be enabled everywhere. |
Supervisor is moving network mounts to systemd
.automountunits (home-assistant/supervisor#7167), which makes the kernel automounter a hard requirement for network storage.Every board already has it, but only as a side effect: Buildroot's systemd package force-enables
CONFIG_AUTOFS_FSthroughSYSTEMD_LINUX_CONFIG_FIXUPS. Those fixups run after our board configs and fragments, so the option is even set on images whereboard/raspberrypi/kernel.configexplicitly disabled it (that line was there until 11.2 and never had an effect โ confirmed on a HAOS 11.1 rpi3-64, whose/proc/config.gzhasCONFIG_AUTOFS_FS=y).Worth stating explicitly anyway, for two reasons:
KCONFIG_ENABLE_OPTskips symbols already set to=m, so the Rockchip boards (Green, ODROID-M1/M1S) build autofs as a module while every other board has it built in. Setting it in the shared fragment makes this uniform, so arming an automount never depends on on-demand module loading.No functional change for the boards that already build it in.
Summary by CodeRabbit