summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--Makefile2
-rw-r--r--lst/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3b9d1b8..2224fc27 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
include Makefile.config
PACKAGE = ldetect-lst
-VERSION := 0.1.175
+VERSION := 0.1.176
SVN_URL := $(shell svn info | grep ^URL: | cut -f2 -d\ )
SVN_BASE := $(shell svn info | sed -n '/^URL: \(.*\/$(PACKAGE)\).*/s//\1/p')
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