<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-build.git/scripts/package-build/linux-kernel/patches/accel-ppp-ng/0002-cmake-run-depmod-for-the-target-kernel-version.patch, branch rolling</title>
<subtitle>VyOS image build scripts (mirror of https://github.com/vyos/vyos-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/'/>
<updated>2026-09-06T19:08:24+00:00</updated>
<entry>
<title>Kernel: T9283: run Accel-PPP depmod for the target Kernel version</title>
<updated>2026-09-06T19:08:24+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-09-06T16:36:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=96c3887e170c49aeb9942abded17a20140559551'/>
<id>urn:sha1:96c3887e170c49aeb9942abded17a20140559551</id>
<content type='text'>
The Accel-PPP maintainer scripts call depmod without a Kernel version, so it
uses the version reported by uname of the build host instead of the VyOS Kernel
the ipoe and vlan_mon modules were compiled for.

The ISO build therefore logs:
  depmod: ERROR: could not open directory /lib/modules/6.1.0-52-amd64
  depmod: FATAL: could not search modules

Add a patch that generates the maintainer scripts from a template so the module
directory version known to the build is substituted and handed to depmod
explicitly. The same version is already passed to the build via MODULES_KDIR,
and the uname fallback for standalone builds stays untouched.
</content>
</entry>
</feed>
