summaryrefslogtreecommitdiffstats
path: root/lst
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-13 15:02:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-13 15:02:57 +0000
commit66a693b46b3906949c9197472c16a9deafa1c6ae (patch)
tree17f5c8d75e68ee5c8b9b5883316108b39bec4b5c /lst
parentf5b0495a1d43085a7fe16ec7a37fa33f8e39df60 (diff)
downloadldetect-lst-66a693b46b3906949c9197472c16a9deafa1c6ae.tar
ldetect-lst-66a693b46b3906949c9197472c16a9deafa1c6ae.tar.gz
ldetect-lst-66a693b46b3906949c9197472c16a9deafa1c6ae.tar.bz2
ldetect-lst-66a693b46b3906949c9197472c16a9deafa1c6ae.tar.xz
ldetect-lst-66a693b46b3906949c9197472c16a9deafa1c6ae.zip
add a fallback-modules.alias to be used in a chroot
(where we don't have the modules.alias corresponding to the running kernel)
Diffstat (limited to 'lst')
-rw-r--r--lst/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lst/Makefile b/lst/Makefile
index a1e826f0..d15d96ea 100644
--- a/lst/Makefile
+++ b/lst/Makefile
@@ -53,3 +53,5 @@ install: $(TMP_TABLES) $(TABLES3)
mkdir -p $(modprobe_dir)
install -m 644 modprobe.conf $(modprobe_dir)/$(project).conf
+
+ install -m 644 `ls -tr /lib/modules/*/modules.alias | tail -1` $(dir)/fallback-modules.alias