From 66a693b46b3906949c9197472c16a9deafa1c6ae Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Aug 2007 15:02:57 +0000 Subject: add a fallback-modules.alias to be used in a chroot (where we don't have the modules.alias corresponding to the running kernel) --- Makefile | 2 +- lst/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1