Unable to config board


Recommended Posts

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

 

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Guest
This topic is now closed to further replies.