diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-12-16 10:37:46 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 13:44:33 +0100 |
commit | c73402f49cc0dd0e76cdea25db14ffebf3452104 (patch) | |
tree | c3ed70080b0d02e364a13940014df2cee31ad47f /recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr | |
parent | 4a9030893315b99967e83f06c815a5120101f44f (diff) |
image-fstype: rework files installation
This adds a new recipe tdx-updater which provides the files needed by
tdx-image-fstype.inc rather than copying them in a non OE way in
tdx-image-fstype.inc.
This required to restructure the layout in files. An additional update
directory is inserted. Also in each of the overrides directories a
symlink to library is created.
This now allows to build legacy update images with a custom machine
configuration if one adds the relevant machine override, e.g. for a
machine targeting a colibri-imx6 module:
MACHINEOVERRIDES .= ":colibri-imx6"
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr')
-rw-r--r-- | recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr new file mode 100644 index 0000000..d7ea35c --- /dev/null +++ b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr @@ -0,0 +1,6 @@ +#the update.sh script renames this. fwd_eth.scr -> ../flash_eth.img +test -z "${board_name}" && test "${soc}" = "vf500" && setenv board_name colibri_vf +test -z "${board_name}" && test "${soc}" = "vf610" && setenv board_name colibri_vf + +test -n ${board_name} || echo "board_name env not set!" && exit +tftpboot ${loadaddr} "${board_name}/flash_eth.img" && source ${loadaddr} |