hypriot / rpi-kernel

Build a Linux kernel for Raspberry Pi 0/1/2/3/3B+
MIT License
134 stars 46 forks source link

Pin kernel commit #21

Closed StefanScherer closed 8 years ago

StefanScherer commented 8 years ago

I tried to build and deploy the 4.4.10 kernel with CircleCI. But unfortunately the build hangs at

+ make -j2 -k
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
*
* Restart config...
*
*
* RCU Subsystem
*
Make expert-level adjustments to RCU configuration (RCU_EXPERT) [N/y/?] (NEW) 

We have to pin the kernel commit we like to build with to make the build reproducible. Something like https://github.com/hypriot/rpi-kernel/blob/master/scripts/compile_kernel.sh#L16

StefanScherer commented 8 years ago

Fixed with https://github.com/hypriot/rpi-kernel/pull/20/commits/b8706aceb97e2ab84ccac64b08c205558658ce19