[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[6177] ipcop/trunk
From:       gespinasse () users ! sourceforge ! net
Date:       2011-12-24 5:56:21
Message-ID: E1ReKaj-0000jl-EU () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 6177
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6177&view=rev
Author:   gespinasse
Date:     2011-12-24 05:56:20 +0000 (Sat, 24 Dec 2011)
Log Message:
-----------
Fix missing rootfile (or linux-2.6.32-6-e1000e-1.6.3_missing_rootfile appear in \
packages list)

Don't try make install as that run depmod against host kernel, use time and produce \
error messages

Cheat as usual to produce the /right/ list of installed files

Modified Paths:
--------------
    ipcop/trunk/lfs/e1000e

Added Paths:
-----------
    ipcop/trunk/config/rootfiles/common/e1000e

Added: ipcop/trunk/config/rootfiles/common/e1000e
===================================================================
--- ipcop/trunk/config/rootfiles/common/e1000e	                        (rev 0)
+++ ipcop/trunk/config/rootfiles/common/e1000e	2011-12-24 05:56:20 UTC (rev 6177)
@@ -0,0 +1,3 @@
+# By the way, lib/modules/KVER/kernel is already include
+#lib/modules/KVER/kernel/drivers/net/e1000e
+#lib/modules/KVER/kernel/drivers/net/e1000e/e1000e.ko.gz

Modified: ipcop/trunk/lfs/e1000e
===================================================================
--- ipcop/trunk/lfs/e1000e	2011-12-23 07:42:58 UTC (rev 6176)
+++ ipcop/trunk/lfs/e1000e	2011-12-24 05:56:20 UTC (rev 6177)
@@ -82,10 +82,15 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
 
 	@$(PREBUILD)
+	# build the right list of installed files (we replace kernel e1000e)
+	sed -i -e '/kernel\/drivers\/net\/e1000e/d' /usr/src/lsalr
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
-	cd $(DIR_APP)/src && make BUILD_KERNEL=$(KVER) install
-	gzip -fn9 /lib/modules/$(KVER)/kernel/drivers/net/e1000e/e1000e.ko
+	# Avoid make install as we don't want depmod to run against host kernel
+	cd $(DIR_APP)/src && make BUILD_KERNEL=$(KVER)
+	cd $(DIR_APP)/src && gzip -fn9 e1000e.ko
+	mkdir -p /lib/modules/$(KVER)/kernel/drivers/net/e1000e
+	cd $(DIR_APP)/src && install -m 0644 e1000e.ko.gz \
/lib/modules/$(KVER)/kernel/drivers/net/e1000e  
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic