<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/kmod/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2025-08-06T12:38:38Z</updated>
<entry>
<title>kmod: fix build failure in install step over dirty build dir</title>
<updated>2025-08-06T12:38:38Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2025-08-06T09:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=79f78c0e77e61a20063db53f6cf8a12768036cdf'/>
<id>urn:sha1:79f78c0e77e61a20063db53f6cf8a12768036cdf</id>
<content type='text'>
When building kmod-32 package for the first time (clean build_dir), it
builds and installs fine. When building for 2nd time, sometimes
(probably some race condition?) it fails to build in install step with
following error:

  for tool in insmod lsmod rmmod depmod modprobe modinfo; do \
  	ln -s kmod /tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/$tool; \
  done
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/insmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/lsmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/rmmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/depmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/modprobe': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/modinfo': File exists

Lets fix it by backporting upstream fix.

Fixes: #27171
Link: https://lore.kernel.org/r/20240306145804.135709-1-lucas.de.marchi@gmail.com
Upstream-Status: Backport [https://github.com/kmod-project/kmod/commit/c5054b215089f9e3cdc9602232649c2b5b1de743]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>kmod: update to 32</title>
<updated>2024-05-14T23:38:05Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2024-05-13T02:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=686e1d0941abcd37b365d0f91aa64a2567b58cf7'/>
<id>urn:sha1:686e1d0941abcd37b365d0f91aa64a2567b58cf7</id>
<content type='text'>
Add patch to fix compilation with GCC 14.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>kmod: update to 27</title>
<updated>2020-09-03T20:51:37Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-09-02T23:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=d69af229ccf0ac7bcc9b76f54e7cb460ff7e2ccb'/>
<id>urn:sha1:d69af229ccf0ac7bcc9b76f54e7cb460ff7e2ccb</id>
<content type='text'>
Remove outdated patch.

Small Makefile cleanups.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>kmod: fix pkgconfig file</title>
<updated>2015-03-09T02:44:26Z</updated>
<author>
<name>Nicolas Thill</name>
</author>
<published>2015-03-09T02:38:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1f3925de20604aa65053753401ee441391d6aa2e'/>
<id>urn:sha1:1f3925de20604aa65053753401ee441391d6aa2e</id>
<content type='text'>
The pkgconfig file is generated at make-time, leading to absolute /usr/include &amp; /usr/lib search paths.
The patch lets autoconf handle pkgconfig file subst, like other packages do.

Signed-off-by: Nicolas Thill &lt;nico@openwrt.org&gt;
</content>
</entry>
</feed>
