sgjava Posted January 24, 2018 Share Posted January 24, 2018 Is there a way to script downloading the Linux headers like armbian-config Headers? Link to comment Share on other sites More sharing options...
Igor Posted January 24, 2018 Share Posted January 24, 2018 Check packages naming: https://www.armbian.com/kernel and make a script. Fixed armbian naming ($LINUXFAMILY) is stored in /etc/armbian-release Link to comment Share on other sites More sharing options...
sgjava Posted January 24, 2018 Author Share Posted January 24, 2018 Cool, thanks Igor! Link to comment Share on other sites More sharing options...
sgjava Posted January 24, 2018 Author Share Posted January 24, 2018 I noticed when updating that linux-headers-next-sunxi package was being updated and this seem like a better way (using apt-get). Could I use something like linux-headers-$BRANCH-$LINUXFAMILY? Link to comment Share on other sites More sharing options...
Igor Posted January 24, 2018 Share Posted January 24, 2018 Yes, with one exception - the default is empty. Link to comment Share on other sites More sharing options...
sgjava Posted January 24, 2018 Author Share Posted January 24, 2018 Ah, so how would I detect default then? Link to comment Share on other sites More sharing options...
Igor Posted January 24, 2018 Share Posted January 24, 2018 If branch="default" then branch="" and fix double "-" Link to comment Share on other sites More sharing options...
sgjava Posted January 24, 2018 Author Share Posted January 24, 2018 Cool, easy to script, thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts