Testing kernel-kit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Testing kernel-kit

rg66
Have been playing with testing kernel kit the last few days. It kept failing finding the headers unless I made this change.

 /root/Desktop/woof-CE-testing/kernel-kit/build.sh 2014-10-15 12:59:05.000000000 +0300
+++ /mnt/sda2/kernel-kit/build.sh 2014-11-13 15:16:55.185603129 +0300
@@ -409,7 +409,7 @@
 CONFIG=`find $CWD/dist/sources -type f -name 'DOTconfig*'`
 grep -q 'CONFIG_AUFS_FHSM=y' $CONFIG
 [ "$?" -eq 0 ] && export MAKE=make || export MAKE="make BuildFHSM=no"
-LinuxSrc=`find $CWD -type d -name 'kernel_headers*'`
+LinuxSrc=`find $CWD/dist/packages -type d -name 'kernel_headers*'`
 export CPPFLAGS="-I $LinuxSrc/usr/include"
 $MAKE >> ../build.log 2>&1
 [ $? -ne 0 ] && echo "Failed to compile aufs-util, do it manually. Kernel is compiled OK :)" && exit

Also, for certain kernels such as 3.14.23, the sources sfs was 230-260mb while 3.17.2 was 105mb which seems more normal.

Loading...