mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-16 18:21:27 +00:00
This script is used in the non-dkms scst package. The purpose of package is to determine kernel location at compile-time, as opposed to the package installation time. However, calling `uname -r` in package installation time violates that idea because it would get some random kernel that was running on the machine. This problem is particularly seen in containers, because in those `uname` shows the kernel running on the host, rather than the one running inside container. Fix this by determining the kernel location in `preinst` script at compile time as well.
SCST source code ---------------- SCST source code is available at https://sourceforge.net/p/scst/svn/HEAD/tree/. -- Bart Van Assche <bvanassche@acm.org> Fri, 12 Jan 2018 20:14:02 -0800