# Building a specific linux kernel version

**URL:** <https://community.solid-run.com/t/building-a-specific-linux-kernel-version/852>\
**Category:** OCTEON CN9130\
**Created:** [June 29, 2024, 4:56pm UTC](https://community.solid-run.com/t/building-a-specific-linux-kernel-version/852 "2024-06-29T16:56:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnaddor](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@dnaddor](https://community.solid-run.com/u/dnaddor)\
**Post date:** [June 29, 2024, 4:56pm UTC](https://community.solid-run.com/t/building-a-specific-linux-kernel-version/852/1 "2024-06-29T16:56:02Z")

</div>

I am able to follow these instructions and build a working SD card image:

> **[GitHub - SolidRun/cn913x\_build](https://github.com/SolidRun/cn913x_build)**
>
> Contribute to SolidRun/cn913x\_build development by creating an account on GitHub.

I can override the release version with “v5.15” and build a new SD image where uname -a says:

5.15.0-00018-g76cb171c749b

I have some proprietary kernel modules which only work with this version:

5.15.0-00007-gfebbce87fedd

Is it possible to modify runme.sh to generate version 00007 instead of version 00018?

Thanks!

Dave Naddor GTRI

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [July 1, 2024, 5:00am UTC](https://community.solid-run.com/t/building-a-specific-linux-kernel-version/852/2 "2024-07-01T05:00:56Z")

</div>

you can look at the kernel config option

CONFIG\_LOCALVERSION=“”  
CONFIG\_LOCALVERSION\_AUTO=y

disabling LOCALVERSION\_AUTO and setting your LOCALVERSION to 00007-gfebbce87fedd should all vermagic to match on your module. However it is possible that some of the other checks will fail. Good luck.
