You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we have a script that syncs current kernel modules to disk from our mirrors
The idea is to mount the directory containing the kernel modules on /lib/modules instead of syncing
Pros:
/lib/modules is always up to date with the kernel (dynamically mounted based on the current kernel)
can be done from the initrd, so before every init scripts, so no more hacks on init scripts for the first boot
save space on user disks
avoid conserve multiple kernels when switching bootscript often
Cons:
having a new mountpoint may be disappointing for people
it may be more difficult to build kernel moduels, we should find a hack as creating a symlink to /usr/src/linux on /lib/modules/${KERNELVERS}/modules/build
I like this solution and as usual it can be disabled using flags in initrd, so people can use the old method (mirror syncing) if they prefer
The text was updated successfully, but these errors were encountered:
Pros:
Cons:
/usr/src/linux
on/lib/modules/${KERNELVERS}/modules/build
I like this solution and as usual it can be disabled using flags in initrd, so people can use the old method (mirror syncing) if they prefer
The text was updated successfully, but these errors were encountered: