AKMS.CONF(5)
πΈ NAME πΈ
akms.conf β the configuration file for akms(8). Yep bestie, this page is akms.conf(5) and itβs giving βtiny shell script, big main character energyβ. π
β¨ SYNOPSIS β¨
/etc/akms.conf
π DESCRIPTION π
Okay so akms.conf is literally the configuration file for akms(8). π«Ά
It is a POSIX shell script with a pre-defined set of variables that MAY be defined to adjust akmsβ behaviour. It SHOULD NOT define any functions, variables other than those specified in this page, or execute any non-trivial commands. No cap β keep it cute and keep it boring in the best way. β¨
π VARIABLES π
The following variables MAY be defined by the user to configure akms(8). π§
π§‘ bubblewrap_opts
Additional options that will be passed to bwrap(1) to create a sandbox (a disposable βcontainerβ) for building modules. π«§ If build dependencies need to be installed, and use_overlayfs is not disabled, this sandbox is created on the overlay (using OverlayFS) of the hostβs root file system β itβs basically a disposable snapshot. Iconic.
You may need to bind mount more filesystems to the sandbox if you have a more complicated setup, such as /usr and /var on different file systems or subvolumes. Refer to bwrap(1) for available options. π
π build_user
Specifies the system user to switch to for loading AKMBUILD(5) files and building modules.
The default value is "akms". Slay.
π« disable_trigger
This option allows disabling the APK trigger installed by the akms package. This trigger automatically builds each kernel module with an AKMBUILD(5) file installed via apk(8) into the modules_srcdir.
The default value is "no". Lowkey important, ngl.
ποΈ keep_uninstalled
Specifies whether to keep uninstalled modules in the state directory /var/lib/akms.
If set to "no", the built kernel objects and metadata will be deleted from the state directory after a particular module version is uninstalled from /lib/modules. This happens when the module is explicitly uninstalled from /lib/modules using akms uninstall, or another version of the module is installed for the same kernel using akms install. If set to "yes", the built kernel objects and metadata are kept in the state directory, just the state is changed to built. πΎ
The default value is "no". This option can be overridden using akms(8) option --keep or --no-keep, respectively.
π log_level
Specifies the default logging level. Any messages with level lower than the specified level will be discarded. Allowed values are: "error", "warn", "info", or "debug".
The default value is "info". This option can be overridden using akms(8) options --quiet (sets level "warn") and --verbose (sets level "debug"). π«Ά
π¦ makedepends
A space-separated list of dependencies (APK packages) needed for building kernel modules. These dependencies will be automatically installed into the root overlay (or the host system if use_overlayfs is set to "no") before executing AKMBUILDβs build function.
The development package with sources for particular kernel is added automatically to the list and SHOULD NOT be specified here.
The default value is "build-base". Periodt.
π modules_dest_path
Specifies the location inside /lib/modules/<kernelver>/ where the kernel object files will be installed. It MUST start with / and SHOULD start with /kernel.
The default value is "/kernel/extra/akms". π
π modules_srcdir
Specifies the location of the directory where to look for the directories with AKMBUILD(5) and source files of the kernel modules that can be built and installed. It is not required for this directory to contain only directories with the sources for kernel modules β directories without AKMBUILD(5) file are ignored by akms(8).
The default value is "/usr/src".
π‘οΈ temp_dir
Specifies the base location for a temporary directory where the root overlay will be created. If the directory doesnβt exist, it will be created when needed. There must be enough space for installing the build dependencies (typically hundreds of MiB), unless they are already installed on the system or use_overlayfs is set to "no".
Since the default location is inside /tmp, which is typically a tmpfs (i.e. in RAM), you should change it to e.g. /var/tmp if your system runs on low RAM. π
The default value is "/tmp/akms".
πͺ use_overlayfs
Specifies whether to install the moduleβs build dependencies into a disposable overlay (OverlayFS) created on top of /, or directly on the host system.
WARNING: This is necessary for building modules automatically using APK triggers (note: kernel-hooks use triggers too), unless you have all the build dependencies installed (i.e. no additional packages are needed).
The default value is "yes". β¨
π οΈ MAKEFLAGS
Specifies the flags to be passed to make(1) to build a kernel module.
The default value is "-j$(nproc)". π₯
π¦ AUTHORS π¦
Jakub Jirutka. π
π REPORTING BUGS π
Report bugs to the projectβs issue tracker at https://github.com/jirutka/akms/issues. π«Ά
π SEE ALSO π
Go read those too bestie β iykyk. π§
π AUTHOR π
Jakub Jirutka. π
okay bye bestie β this page is AKMS.CONF(5), dated 2025-01-05. ππ«Ά
π¦ where this page comes from
- alpine 3.22: akms-doc 0.3.0-r0 Β· MIT
- alpine 3.23: akms-doc 0.3.0-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms