[kernel] r10436 - in dists/trunk/linux-modules-extra-2.6: debian loop-aes

Daniel Baumann daniel at alioth.debian.org
Fri Feb 8 11:35:04 UTC 2008


Author: daniel
Date: Fri Feb  8 11:35:04 2008
New Revision: 10436

Log:
Adding patch from Max Vozeler to place loop-aes modules proberly in the filesystem.

Modified:
   dists/trunk/linux-modules-extra-2.6/debian/changelog
   dists/trunk/linux-modules-extra-2.6/loop-aes/rules

Modified: dists/trunk/linux-modules-extra-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/debian/changelog	(original)
+++ dists/trunk/linux-modules-extra-2.6/debian/changelog	Fri Feb  8 11:35:04 2008
@@ -9,6 +9,7 @@
 
   [ Max Vozeler ]
   * Adding long description for loop-aes.
+  * Updating loop-aes/rules to install into updates/.
 
  -- Daniel Baumann <daniel at debian.org>  Mon,  4 Feb 2008 13:43:00 +0100
 

Modified: dists/trunk/linux-modules-extra-2.6/loop-aes/rules
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/loop-aes/rules	(original)
+++ dists/trunk/linux-modules-extra-2.6/loop-aes/rules	Fri Feb  8 11:35:04 2008
@@ -8,3 +8,14 @@
 	cp -al $(SOURCE_DIR)/loop.c-2.6.patched $(DIR)/patched-loop.c
 	cp -al $(SOURCE_DIR)/debian/Makefile-2.6 $(DIR)/Makefile
 	touch $@
+
+install: LIB_MODULES = $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)
+install:
+	$(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR) modules_install INSTALL_MOD_PATH=$(PACKAGE_DIR) INSTALL_MOD_DIR=extra/$(MODULE)
+
+	# Rename module to loop-aes.ko
+	mv $(LIB_MODULES)/extra/loop-aes/loop.ko $(LIB_MODULES)/extra/loop-aes/loop-aes.ko
+
+	# Add loop.ko symlink to updates/
+	mkdir -p $(LIB_MODULES)/updates
+	ln -s ../extra/loop-aes/loop-aes.ko $(LIB_MODULES)/updates/loop.ko



More information about the Kernel-svn-changes mailing list