aboutsummaryrefslogtreecommitdiff
path: root/release/arm
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-08 17:53:44 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-08 17:53:44 +0000
commit0c66fe4daae375aa2f64361f8ca070cf4ed18ad0 (patch)
tree3aababbf7724d827df057faffbd3fdd505be4bb6 /release/arm
parente2ae79b18141490324d3d9093a80db7c5690d6eb (diff)
downloadsrc-0c66fe4daae375aa2f64361f8ca070cf4ed18ad0.tar.gz
src-0c66fe4daae375aa2f64361f8ca070cf4ed18ad0.zip
Fix path to the u-boot.imx file, which is relative to the root of
the chroot environment. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282653
Diffstat (limited to 'release/arm')
-rw-r--r--release/arm/WANDBOARD-DUAL.conf2
-rw-r--r--release/arm/WANDBOARD-QUAD.conf2
-rw-r--r--release/arm/WANDBOARD-SOLO.conf2
3 files changed, 3 insertions, 3 deletions
diff --git a/release/arm/WANDBOARD-DUAL.conf b/release/arm/WANDBOARD-DUAL.conf
index e69dec358090..c20a4a96635f 100644
--- a/release/arm/WANDBOARD-DUAL.conf
+++ b/release/arm/WANDBOARD-DUAL.conf
@@ -21,7 +21,7 @@ arm_install_uboot() {
UBOOT_FILES="u-boot.imx"
FATMOUNT="${DESTDIR}/fat"
UFSMOUNT="${DESTDIR}/ufs"
- chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
+ chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
of=/dev/${mddev} bs=512 seek=2
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
diff --git a/release/arm/WANDBOARD-QUAD.conf b/release/arm/WANDBOARD-QUAD.conf
index 0ddf3d3dce4a..d6de53dafab7 100644
--- a/release/arm/WANDBOARD-QUAD.conf
+++ b/release/arm/WANDBOARD-QUAD.conf
@@ -21,7 +21,7 @@ arm_install_uboot() {
UBOOT_FILES="u-boot.imx"
FATMOUNT="${DESTDIR}/fat"
UFSMOUNT="${DESTDIR}/ufs"
- chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
+ chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
of=/dev/${mddev} bs=512 seek=2
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
diff --git a/release/arm/WANDBOARD-SOLO.conf b/release/arm/WANDBOARD-SOLO.conf
index b7b035e10a8a..bdc2ef91138a 100644
--- a/release/arm/WANDBOARD-SOLO.conf
+++ b/release/arm/WANDBOARD-SOLO.conf
@@ -21,7 +21,7 @@ arm_install_uboot() {
UBOOT_FILES="u-boot.imx"
FATMOUNT="${DESTDIR}/fat"
UFSMOUNT="${DESTDIR}/ufs"
- chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
+ chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
of=/dev/${mddev} bs=512 seek=2
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}