hanni76 Posted October 25, 2017 Posted October 25, 2017 Hello, guys, may I ask you to fix the code below so that I can put my custom "sun6i.conf" file into "userpatches/sources/" ? Currently your code makes it impossible because LINUXFAMILY variable is forcibly set to "sunxi" in sunxi_common.inc file. What you can easily do is introducing a new variable so that one can know that LINUXFAMILY was overwritten. configuration.sh -------------------------------------------- [[ ! -f $SRC/config/sources/$LINUXFAMILY.conf ]] && \ exit_with_error "Sources configuration not found" "$LINUXFAMILY" source $SRC/config/sources/$LINUXFAMILY.conf if [[ -f $SRC/userpatches/sources/$LINUXFAMILY.conf ]]; then display_alert "Adding user provided $LINUXFAMILY overrides" source $SRC/userpatches/sources/$LINUXFAMILY.conf fi ------------------------------------------------- Thanks
hanni76 Posted October 26, 2017 Author Posted October 26, 2017 Below is what I suggest to do: https://github.com/sergey-suloev/build/commit/5f1b8fd07bc9d0bec911174ad10dee1a062479dc Can you review this and possibly integrate into your codebase ?
Recommended Posts