g40 Posted July 30, 2017 Share Posted July 30, 2017 Greetings. Can I make sure I've understood this correctly. I want to ensure kernel sources always come from a local development directory. In my /userpatches I've got a lib.config which has: KERNELDIR="/home/user/sources/linux-sun8i" with both KERNELSOURCE and KERNELBRANCH commented out. Is this the right thing to do? And just so I can get all my idiot points at once: Specifying KERNELSOURCE and/or KERNELBRANCH will anchor the source repo and branch to whatever I wish? TAIA Jerry. P.S. Armbian *awesome* for super quick experiments/deployments. Link to comment Share on other sites More sharing options...
g40 Posted August 1, 2017 Author Share Posted August 1, 2017 Anyone? TAIA. Link to comment Share on other sites More sharing options...
debianxfce Posted August 1, 2017 Share Posted August 1, 2017 Put your kernel tree under sources/LINUX_NEXT. For example you have linux-4.13-rc1 directory there. Then I have in the /lib/config/sources/amlogic-s912.conf file: next) KERNEL_USE_GCC='> 6.2' KERNELSOURCE='' KERNELBRANCH='branch:linux-4.13-rc1' KERNELDIR='LINUX_NEXT' SCR_BOOT='boot-amlogics905x_AM.cmd' Then start image making: ./compile.sh BOARD=amlogic-s912 PROGRESS_DISPLAY=plain RELEASE=testing PROGRESS_LOG_TO_FILE=yes KERNEL_ONLY=no BUILD_DESKTOP=yes BRANCH=next CLEAN_LEVEL=debs NO_APT_CACHER=yes RELEASE=testing means Debian testing Xfce. I have modified image making scripts for that 1 Link to comment Share on other sites More sharing options...
debianxfce Posted August 1, 2017 Share Posted August 1, 2017 9 minutes ago, debianxfce said: Link to comment Share on other sites More sharing options...
g40 Posted August 1, 2017 Author Share Posted August 1, 2017 Ideal, I will experiment. Thank you, much appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts