diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-09-19 12:32:47 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 18:53:16 +0100 |
commit | ab75942d98ca6cd07c73632bd56200740033f235 (patch) | |
tree | 7b50ca65dac9a796fe31358163d3fc8b4939a2b9 /recipes-bsp/u-boot | |
parent | 01ab73979ba76c39f3a8f5aa7018b138fb64248e (diff) |
pkg_postinst: move to the ontarget syntax
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb index 097c711..5dba294 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb @@ -71,11 +71,7 @@ do_install_append_tegra124m() { install_unlock_emmc } -pkg_postinst_${PN}_colibri-t20 () { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi +pkg_postinst_ontarget_${PN}_colibri-t20 () { grep u-boot-env /proc/mtd | awk '{print "/dev/" substr($1,0,4) " 0x00000000 0x00010000 0x" $3 " 1" >> "/etc/fw_env.config" }' } |