Opened 7 weeks ago

Closed 6 weeks ago

#5455 closed enhancement (fixed)

kmod-32

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 12.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New version.

Change History (5)

comment:1 by Xi Ruoyao, 7 weeks ago

  • Improvements
    • Use any hash algo known by kernel/openssl instead of keep needing to update the mapping
    • Teach kmod to load modprobe.d/depmod.d configuration from ${prefix}/lib and allow it to be overriden during build with --with-distconfdir=DIR
    • Make kernel modules directory configurable. This allows distro to make kmod use only files from /usr regardless of having a compat symlink in place.
    • Install kmod.pc containing the features selected at build time.
    • Install all tools and symlinks by default. Previously kmod relied on distro packaging to set up the symlinks in place like modprobe, depmod, lsmod, etc. Now those symlinks are created by kmod itself and they are always placed in $bindir.
  • Bug Fixes
    • Fix warnings due to -Walloc-size
  • Others
    • Drop python bindings. Those were not update in ages and not compatible with latest python releases.
    • Cleanup test infra, dropping what was not used anymore
    • Drop experimental tools kmod insert / kmod remove. Building those was protected by a configure option never set by distros. They also didn't gain enough traction to replace the older interfaces via modprobe/insmod/rmmod.

in reply to:  1 ; comment:2 by Xi Ruoyao, 7 weeks ago

Replying to Xi Ruoyao:

  • Improvements
    • Install all tools and symlinks by default. Previously kmod relied on distro packaging to set up the symlinks in place like modprobe, depmod, lsmod, etc. Now those symlinks are created by kmod itself and they are always placed in $bindir.

So we need to remove /usr/bin/{depmod,insmod,modinfo,modprobe,rmmod} and still creates them in /usr/sbin...

in reply to:  2 ; comment:3 by jlocash, 7 weeks ago

Replying to Xi Ruoyao:

Replying to Xi Ruoyao:

  • Improvements
    • Install all tools and symlinks by default. Previously kmod relied on distro packaging to set up the symlinks in place like modprobe, depmod, lsmod, etc. Now those symlinks are created by kmod itself and they are always placed in $bindir.

So we need to remove /usr/bin/{depmod,insmod,modinfo,modprobe,rmmod} and still creates them in /usr/sbin...

Why not just pass --bindir=/usr/sbin to configure and then create symlinks in /usr/bin for things that might be needed.

in reply to:  3 comment:4 by Xi Ruoyao, 7 weeks ago

Replying to jlocash:

Replying to Xi Ruoyao:

Replying to Xi Ruoyao:

  • Improvements
    • Install all tools and symlinks by default. Previously kmod relied on distro packaging to set up the symlinks in place like modprobe, depmod, lsmod, etc. Now those symlinks are created by kmod itself and they are always placed in $bindir.

So we need to remove /usr/bin/{depmod,insmod,modinfo,modprobe,rmmod} and still creates them in /usr/sbin...

Why not just pass --bindir=/usr/sbin to configure and then create symlinks in /usr/bin for things that might be needed.

kmod itself should be in /usr/bin. If we just move kmod from /usr/sbin to /usr/bin we still need to recreate all the symlinks as they are relative.

comment:5 by Bruce Dubbs, 6 weeks ago

Resolution: fixed
Status: newclosed

Fixed at commit dcf5543233a7.

    Update to wheel-0.43.0.
    Update to setuptools-69.2.0 (Python module).
    Update to meson-1.4.0.
    Update to expat-2.6.2 (Security fix).
    Update to iana-etc-20240305.
    Update to vim-9.1.0161.
    Update to xz-5.6.1.
    Update to shadow-4.15.0.
    Update to psmisc-23.7.
    Update to kmod-32.
    Update to elfutils-0.191.
Note: See TracTickets for help on using tickets.