Add in the kernel version compatibility table from http://www.am-utils.org/project...
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 11 Aug 2006 19:55:20 +0000 (19:55 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 11 Aug 2006 19:55:20 +0000 (19:55 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@424 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh
genkernel.conf

index dd6ea58ecf7895fa80d41a3ff8b0b133d0b7afac..ac5045f278af3299aa7e9e6824aadf9b0ce43557 100644 (file)
@@ -351,7 +351,7 @@ compile_unionfs_modules() {
                        cd "${UNIONFS_DIR}"
                        # Compile unionfs module within the unionfs
                        # environment not within the kernelsrc dir
-                       make unionfs.ko
+                       make unionfs.ko || gen_die 'failed to compile unionfs'
                else
                        gen_die 'unionfs is only supported on 2.6 targets'
                fi
@@ -361,9 +361,9 @@ compile_unionfs_modules() {
                
                if [ -f unionfs.ko ]
                then 
-                       cp unionfs.ko ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
+                       cp -f unionfs.ko ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
                else
-                       cp unionfs.o ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
+                       cp -f unionfs.o ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
                fi
        
                cd ${TEMP}/unionfs
index d0f857a94cc5ce3d2d431eab242e858b9c4f44ab..eebb1c09d742b142cdf16e4fe1ea1e2220a9b5de 100755 (executable)
@@ -125,6 +125,13 @@ DMRAID_DIR="dmraid/${DMRAID_VER}"
 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
 
+# Kernel Version Compatibility
+# (from http://www.am-utils.org/project-unionfs.html)
+
+# 2.6.9 - 2.6.15       1.1.5
+# 2.6.16                       1.2
+# 2.6.17                       1.3
+
 UNIONFS_VER="VERSION_UNIONFS"
 UNIONFS_DIR="unionfs-${UNIONFS_VER}"
 UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"