[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to load a kernel module when packaging?



Hey,

I'm packaging a package. This package requires the kernel to load the
zram module to use it.
How can I implement it?

The way I can think of is to use "modporbe -r zram" in postinst to
load the module during installation, or add a module-load.d conf file
>[1] https://manpages.debian.org/unstable/systemd/modules-load.d.5.en.html

or is there any other recommended way?

Thanks,
Clay Stan


Reply to: