Bugfix
This commit is contained in:
parent
f0947a17e0
commit
0e8a2769e6
@ -32,6 +32,7 @@ create_board_package()
|
||||
# add configuration for setting uboot environment from userspace with: fw_setenv fw_printenv
|
||||
if [[ -n $UBOOT_FW_ENV ]]; then
|
||||
UBOOT_FW_ENV=($(tr ',' ' ' <<< "$UBOOT_FW_ENV"))
|
||||
mkdir -p $destination/etc
|
||||
echo "# Device to access offset env size" > $destination/etc/fw_env.config
|
||||
echo "/dev/mmcblk0 ${UBOOT_FW_ENV[0]} ${UBOOT_FW_ENV[1]}" >> $destination/etc/fw_env.config
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user