aboutsummaryrefslogtreecommitdiff
path: root/release/arm/PANDABOARD.conf
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-08 18:45:32 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-08 18:45:32 +0000
commit4194ca40a5a1a4f3616c144e7b74bd5bd88573db (patch)
tree88dbc71d61ef6a2896476d353a22db4467aec8e3 /release/arm/PANDABOARD.conf
parent0c66fe4daae375aa2f64361f8ca070cf4ed18ad0 (diff)
downloadsrc-4194ca40a5a1a4f3616c144e7b74bd5bd88573db.tar.gz
src-4194ca40a5a1a4f3616c144e7b74bd5bd88573db.zip
Strip the KERNEL from the mount paths, working around the following
error: root@releng2:/ # mount_msdosfs /dev/md5s1 /usr/obj/usr/src/release/WANDBOARD-QUAD/fat mount_msdosfs: /dev/md5s1: File name too long Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282654
Diffstat (limited to 'release/arm/PANDABOARD.conf')
-rw-r--r--release/arm/PANDABOARD.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm/PANDABOARD.conf b/release/arm/PANDABOARD.conf
index 45b7085a892d..28a46396b4fb 100644
--- a/release/arm/PANDABOARD.conf
+++ b/release/arm/PANDABOARD.conf
@@ -18,8 +18,8 @@ MD_ARGS="-x 63 -y 255"
arm_install_uboot() {
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-pandaboard"
- FATMOUNT="${DESTDIR}/fat"
- UFSMOUNT="${DESTDIR}/ufs"
+ FATMOUNT="${DESTDIR##${KERNEL}}/fat"
+ UFSMOUNT="${DESTDIR##${KERNEL}}/ufs"
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}