From befaadd56c4c82d99e6f8de0717e4cb13333a033 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Thu, 7 May 2015 00:27:28 +0000 Subject: In release.sh, create the /dev directory within the chroot before attempting to mount(8) devfs. Also, create the .OBJDIR for the 'release' target, so files end up in the correct location. In tools/arm.subr, fix the target device when creating the gpart partition scheme. Sponsored by: The FreeBSD Foundation --- release/release.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/release.sh') diff --git a/release/release.sh b/release/release.sh index 68d2f168c1e2..2a226e8944be 100755 --- a/release/release.sh +++ b/release/release.sh @@ -243,6 +243,7 @@ chroot_setup() { # extra_chroot_setup(): Prepare anything additional within the build # necessary for the release build. extra_chroot_setup() { + mkdir -p ${CHROOTDIR}/dev mount -t devfs devfs ${CHROOTDIR}/dev [ -e /etc/resolv.conf ] && cp /etc/resolv.conf \ ${CHROOTDIR}/etc/resolv.conf @@ -323,6 +324,7 @@ chroot_build_release() { # chroot_arm_armv6_build_release(): Create arm/armv6 SD card image. chroot_arm_armv6_build_release() { load_target_env + eval chroot ${CHROOTDIR} make -C /usr/src/release obj # XXX: In progress. if [ -e "${RELENGDIR}/tools/${EMBEDDED_TARGET}.subr" ]; then . "${RELENGDIR}/tools/${EMBEDDED_TARGET}.subr" -- cgit v1.2.3