aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-11-20 15:03:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-11-20 15:03:03 +0000
commit2833897f35b7d1e2f0b0cfbf1c0d028522254a90 (patch)
tree1b707b2530d5bb4f48e9d1ac0a2ede3f7a6a47da /release/arm64
parentb2ea244070ff84eab79e04befb7aa30c982fc84d (diff)
downloadsrc-2833897f35b7d1e2f0b0cfbf1c0d028522254a90.tar.gz
src-2833897f35b7d1e2f0b0cfbf1c0d028522254a90.zip
Use chroot(8) when invoking realpath(1) when setting BOOTFILES,
otherwise realpath(1) exits due to a nonexistent directory. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=326013
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/PINE64.conf2
-rw-r--r--release/arm64/RPI3.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/arm64/PINE64.conf b/release/arm64/PINE64.conf
index e48a4c57bcf7..5ed296b5904b 100644
--- a/release/arm64/PINE64.conf
+++ b/release/arm64/PINE64.conf
@@ -31,7 +31,7 @@ arm_install_uboot() {
env TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \
WITH_UNIFIED_OBJDIR=yes \
make -C ${WORLDDIR}/stand -V .OBJDIR)"
- BOOTFILES="$(realpath ${BOOTFILES})"
+ BOOTFILES="$(chroot ${CHROOTDIR} realpath ${BOOTFILES})"
chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/EFI/BOOT
chroot ${CHROOTDIR} cp -p ${BOOTFILES}/efi/boot1/boot1.efi \
diff --git a/release/arm64/RPI3.conf b/release/arm64/RPI3.conf
index 5f3fc394374b..10366e242199 100644
--- a/release/arm64/RPI3.conf
+++ b/release/arm64/RPI3.conf
@@ -44,7 +44,7 @@ arm_install_uboot() {
env TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \
WITH_UNIFIED_OBJDIR=yes \
make -C ${WORLDDIR}/stand -V .OBJDIR)"
- BOOTFILES="$(realpath ${BOOTFILES})"
+ BOOTFILES="$(chroot ${CHROOTDIR} realpath ${BOOTFILES})"
chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/EFI/BOOT
chroot ${CHROOTDIR} cp -p ${BOOTFILES}/efi/boot1/boot1.efi \