.. | .. |
---|
32 | 32 | Note: If the module is built into the kernel, or if the |
---|
33 | 33 | CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, |
---|
34 | 34 | this file will not be present. |
---|
| 35 | + |
---|
| 36 | +What: /sys/module/MODULENAME/scmversion |
---|
| 37 | +Date: November 2020 |
---|
| 38 | +KernelVersion: Android Common Kernel -- android12-5.10+ |
---|
| 39 | +Contact: Will McVicker <willmcvicker@google.com> |
---|
| 40 | +Description: This read-only file will appear if modpost was supplied with an |
---|
| 41 | + SCM version for the module. It can be enabled with the config |
---|
| 42 | + MODULE_SCMVERSION. The SCM version is retrieved by |
---|
| 43 | + scripts/setlocalversion, which means that the presence of this |
---|
| 44 | + file depends on CONFIG_LOCALVERSION_AUTO=y. When read, the SCM |
---|
| 45 | + version that the module was compiled with is returned. The SCM |
---|
| 46 | + version is returned in the following format:: |
---|
| 47 | + |
---|
| 48 | + === |
---|
| 49 | + Git: g[a-f0-9]\+(-dirty)\? |
---|
| 50 | + Mercurial: hg[a-f0-9]\+(-dirty)\? |
---|
| 51 | + Subversion: svn[0-9]\+ |
---|
| 52 | + === |
---|