aboutsummaryrefslogtreecommitdiff
path: root/release/arm
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm')
-rw-r--r--release/arm/BEAGLEBONE.conf2
-rw-r--r--release/arm/RPI-B.conf2
2 files changed, 2 insertions, 2 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
diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf
index 9ee176263892..41301f782e46 100644
--- a/release/arm/RPI-B.conf
+++ b/release/arm/RPI-B.conf
@@ -22,7 +22,7 @@ arm_install_uboot() {
start.elf start_cd.elf uboot.img"
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}
for _UF in ${UBOOT_FILES}; do