aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-07 00:27:28 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-07 00:27:28 +0000
commitbefaadd56c4c82d99e6f8de0717e4cb13333a033 (patch)
treedd63f32aea21d81bc9101367ee3ed696efb8a40f /release/release.sh
parent68bca5fb302b5635c266076593f56d6bcb85abf3 (diff)
downloadsrc-befaadd56c4c82d99e6f8de0717e4cb13333a033.tar.gz
src-befaadd56c4c82d99e6f8de0717e4cb13333a033.zip
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
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282573
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh2
1 files changed, 2 insertions, 0 deletions
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"