Closed cleverca22 closed 10 years ago
Do you want this because you want your script to be run as non-root? That's the only difference I can see between /boot and /root/.rpi-firmware/extra
I use this script: https://github.com/notro/rpi-firmware/blob/master/extra/install_kernel_source This is the howto: https://github.com/notro/fbtft-spindle/wiki/Building-kernel-modules
i tend to delete /root/.rpi-firmware, i'm always low on space and the script cant reuse it anyways, it re-clones on every run
Can you try:
sudo WANT_SYMVERS=1 rpi-update
and check it does what you want.
yeah, that looks good
Would it be possible for rpi-update to copy
extra/git_hash
andextra/Module.symvers
to /boot when updating the kernel, so scripts can know which kernel source to build modules against?