summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-05-07 17:33:21 +0000
committergjb <gjb@FreeBSD.org>2015-05-07 17:33:21 +0000
commit353abfd8a4ede89eb228f76aa7fc2024037d7b50 (patch)
tree12844985cbc6cb748e573591af883f0683f0f88c /release
parentaf0be5ff2259b69d90eff133f7e673523f3f4452 (diff)
downloadFreeBSD-src-353abfd8a4ede89eb228f76aa7fc2024037d7b50.zip
FreeBSD-src-353abfd8a4ede89eb228f76aa7fc2024037d7b50.tar.gz
Fix file/directory paths.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rw-r--r--release/arm/BEAGLEBONE.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
index 70dadc0..2ac7e15 100644
--- a/release/arm/BEAGLEBONE.conf
+++ b/release/arm/BEAGLEBONE.conf
@@ -15,17 +15,17 @@ FAT_TYPE="12"
MD_ARGS="-x 63 -y 255"
arm_install_uboot() {
- UBOOT_DIR="/usr/local/share/u-boot/u-boot-beaglebone"
- FDT_DIR="${WORLDIR}/sys/boot/fdt/dts/arm"
- mount_msdosfs /dev/${mddev}s1 ${DESTDIR}
- cp -p ${UBOOT_DIR}/MLO ${DESTDIR}/MLO
- cp -p ${UBOOT_DIR}/u-boot.img ${DESTDIR}/bb-uboot.img
- cp -p ${FDT_DIR}/beaglebone.dts ${DESTDIR}/bbone.dts
- cp -p ${FDT_DIR}/beaglebone.dts ${DESTDIR}/bbone.dtb
- cp -p ${FDT_DIR}/beaglebone-black.dts ${DESTDIR}/bboneblk.dts
- cp -p ${FDT_DIR}/beaglebone-black.dts ${DESTDIR}/bboneblk.dtb
- touch ${DESTDIR}/bb-uEnv.txt
- umount_loop ${DESTDIR}
+ UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-beaglebone"
+ FDT_DIR="${CHROOTDIR}/${WORLDIR}/sys/boot/fdt/dts/arm"
+ chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${DESTDIR}
+ cp -p ${UBOOT_DIR}/MLO ${CHROOTDIR}/${DESTDIR}/MLO
+ cp -p ${UBOOT_DIR}/u-boot.img ${CHROOTDIR}/${DESTDIR}/bb-uboot.img
+ cp -p ${FDT_DIR}/beaglebone.dts ${CHROOTDIR}/${DESTDIR}/bbone.dts
+ cp -p ${FDT_DIR}/beaglebone.dts ${CHROOTDIR}/${DESTDIR}/bbone.dtb
+ cp -p ${FDT_DIR}/beaglebone-black.dts ${CHROOTDIR}/${DESTDIR}/bboneblk.dts
+ cp -p ${FDT_DIR}/beaglebone-black.dts ${CHROOTDIR}/${DESTDIR}/bboneblk.dtb
+ touch ${CHROOTDIR}/${DESTDIR}/bb-uEnv.txt
+ umount_loop ${CHROOTDIR}/${DESTDIR}
return 0
}
OpenPOWER on IntegriCloud