leomecma Posted March 15, 2017 Posted March 15, 2017 (edited) I'm trying to lock u-boot version and I create the file /userpatches/lib.config with this inside MAINLINE_UBOOT_BRANCH='tag:v2017.01', but script continue updating uboot to v2017.03. What's wrong? In configuration.sh I put echo $MAINLINE_UBOOT_BRANCH just after load lib.config and this show my tag:v2017.01. Edited March 15, 2017 by zador.blood.stained Moved to the development forum section
zador.blood.stained Posted March 15, 2017 Posted March 15, 2017 By the time lib.config us sourced previous value of MAINLINE_UBOOT_BRANCH was already assigned to the BOOTBRANCH variable. This means that instead of changing MAINLINE_UBOOT_BRANCH you should conditionally change BOOTBRANCH for your target LINUXFAMILY or BOARD. For example [[ $LINUXFAMILY == sun7i ]] && BOOTBRANCH='tag:v2017.01'
Recommended Posts