aboutsummaryrefslogtreecommitdiff
path: root/release/arm/BEAGLEBONE.conf
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-07 19:10:08 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-07 19:10:08 +0000
commit6052b0ac86fcf206e98bcc5c1a0b989e45d6fbac (patch)
treeede2bb00bf3166dc8e1f8d683a7f674b0c43051b /release/arm/BEAGLEBONE.conf
parent51aa8af2cc8ed36f8a7ceeab6a0a11c8885ff99b (diff)
downloadsrc-6052b0ac86fcf206e98bcc5c1a0b989e45d6fbac.tar.gz
src-6052b0ac86fcf206e98bcc5c1a0b989e45d6fbac.zip
Fix creating directories within DESTDIR.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282602
Diffstat (limited to 'release/arm/BEAGLEBONE.conf')
-rw-r--r--release/arm/BEAGLEBONE.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
index 72377251b7b2..add96e196427 100644
--- a/release/arm/BEAGLEBONE.conf
+++ b/release/arm/BEAGLEBONE.conf
@@ -20,7 +20,7 @@ arm_install_uboot() {
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-beaglebone"
FATMOUNT="${DESTDIR}/fat"
UFSMOUNT="${DESTDIR}/ufs"
- mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
+ chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}
cp -p ${UBOOT_DIR}/MLO ${CHROOTDIR}/${FATMOUNT}/MLO