Jump to content

MAINLINE_UBOOT_BRANCH


leomecma

Recommended Posts

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 by zador.blood.stained
Moved to the development forum section
Link to comment
Share on other sites

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'

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines