sgjava Posted January 24, 2018 Posted January 24, 2018 Is there a way to script downloading the Linux headers like armbian-config Headers?
Igor Posted January 24, 2018 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
sgjava Posted January 24, 2018 Author 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?
sgjava Posted January 24, 2018 Author Posted January 24, 2018 Ah, so how would I detect default then?
Igor Posted January 24, 2018 Posted January 24, 2018 If branch="default" then branch="" and fix double "-"
Recommended Posts