Revision: 6346 http://ipcop.svn.sourceforge.net/ipcop/?rev=6346&view=rev Author: owes Date: 2012-02-16 20:59:27 +0000 (Thu, 16 Feb 2012) Log Message: ----------- Update busybox to 1.19.4. Add patch for busybox depmod to work with 3.0 kernel.
Modified Paths: -------------- ipcop/trunk/lfs/busybox Added Paths: ----------- ipcop/trunk/src/patches/busybox-1.19.4_linux-3.0.patch Modified: ipcop/trunk/lfs/busybox =================================================================== --- ipcop/trunk/lfs/busybox 2012-02-16 20:57:39 UTC (rev 6345) +++ ipcop/trunk/lfs/busybox 2012-02-16 20:59:27 UTC (rev 6346) @@ -33,7 +33,7 @@ include Config PKG_NAME = busybox -VER = 1.17.4 +VER = 1.19.4 HOST_ARCH = all OTHER_SRC = yes @@ -51,7 +51,7 @@ $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = b3254232e9919007ca803d3a4fe81f3c +$(DL_FILE)_MD5 = 9c0cae5a0379228e7b55e5b29528df8e install : $(TARGET) @@ -80,6 +80,7 @@ $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) $(DIR_SRC)/config/busybox/* @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_linux-3.0.patch cd $(DIR_APP) && cp -f $(DIR_SRC)/config/busybox/busybox.config .config Added: ipcop/trunk/src/patches/busybox-1.19.4_linux-3.0.patch =================================================================== --- ipcop/trunk/src/patches/busybox-1.19.4_linux-3.0.patch (rev 0) +++ ipcop/trunk/src/patches/busybox-1.19.4_linux-3.0.patch 2012-02-16 20:59:27 UTC (rev 6346) @@ -0,0 +1,14 @@ +diff --git a/modutils/depmod.c b/modutils/depmod.c +index f6c0bf3..4997673 100644 +--- a/modutils/depmod.c ++++ b/modutils/depmod.c +@@ -190,6 +190,9 @@ int depmod_main(int argc UNUSED_PARAM, char **argv) + * "uname -r"). */ + if (*argv && sscanf(*argv, "%u.%u.%u", &tmp, &tmp, &tmp) == 3) { + version = *argv++; ++ } ++ else if (*argv && sscanf(*argv, "%u.%u", &tmp, &tmp, &tmp) == 2) { ++ version = *argv++; + } else { + uname(&uts); + version = uts.release; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn