summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-08-20 16:21:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-08-24 08:29:23 +0200
commit2b366ef8b89f29a0ba7ccbc8de296c5b76e8997a (patch)
tree836c2fe515ace495becb34f0f9e407a3d7c4ee47 /tests
parent7ebcb3316f2084fcb5d015100881efb87f488e14 (diff)
downloadptxdist-2b366ef8b89f29a0ba7ccbc8de296c5b76e8997a.tar.gz
ptxdist-2b366ef8b89f29a0ba7ccbc8de296c5b76e8997a.tar.xz
treewide: remove all leftover references to "u-boot-v2"
Fixes: 8def36f40f44f2cdb83c ("u-boot-v2: remove in favor of barebox") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/make_uboot_v2_env29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/make_uboot_v2_env b/tests/make_uboot_v2_env
deleted file mode 100755
index 93d55c30e..000000000
--- a/tests/make_uboot_v2_env
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-set -e
-PTXDIST_SETENV_U_BOOT_V2_ENV="${1}"
-ENVTMPDIR="$(mktemp -d "${PTXDIST_TEMPDIR}/uboot_v2_env.XXXXXX")"
-
-# IMAGEDIR is not set if we are called from "ptxdist test" directly
-# since it comes from kwraper.
-[ -z "${IMAGEDIR}" ] && export IMAGEDIR=${PTXDIST_PLATFORMDIR}/images
-
-if [ ! -r ${PTXDIST_PLATFORMCONFIGDIR}/u-boot-env/config ]; then
- echo "ERROR: missing valid ${PTXDIST_PLATFORMCONFIGDIR}/u-boot-env/config" >&2
- exit 1
-fi
-
-tar -C "${PTXDIST_PLATFORMCONFIGDIR}/u-boot-env/" -c . \
- --exclude .svn \
- --exclude .pc \
- --exclude .git \
- --exclude "config.in" \
- --exclude "*/*~" \
- | tar -C "${ENVTMPDIR}" -x
-
-ubootenv -s "${ENVTMPDIR}" "${IMAGEDIR}/u-boot-v2-environment"
-
-# only copy the image if we are called by "ptxdist test setenv"
-[ -n "${PTXDIST_SETENV_U_BOOT_V2_ENV}" ] && cp "${IMAGEDIR}/u-boot-v2-environment" "${PTXDIST_SETENV_U_BOOT_V2_ENV}"
-
-rm -rf "${ENVTMPDIR}"