summaryrefslogtreecommitdiffstats
path: root/release/tools
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-05-07 00:27:28 +0000
committergjb <gjb@FreeBSD.org>2015-05-07 00:27:28 +0000
commitaf0be5ff2259b69d90eff133f7e673523f3f4452 (patch)
treedd63f32aea21d81bc9101367ee3ed696efb8a40f /release/tools
parent1def0e984e6c15e6268c9f47f54180c6b60540bf (diff)
downloadFreeBSD-src-af0be5ff2259b69d90eff133f7e673523f3f4452.zip
FreeBSD-src-af0be5ff2259b69d90eff133f7e673523f3f4452.tar.gz
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
Diffstat (limited to 'release/tools')
-rw-r--r--release/tools/arm.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index 66b02da..67ba25e 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -64,8 +64,8 @@ umount_loop() {
arm_create_disk() {
# Create the target raw file and temporary work directory.
- gpart create -s ${PART_SCHEME} ${IMGBASE}
- gpart add -t '\!12' -a 63 -s ${FAT_SIZE} ${mddev}
+ gpart create -s ${PART_SCHEME} ${mddev}
+ gpart add -t '!12' -a 63 -s ${FAT_SIZE} ${mddev}
gpart set -a active -i 1 ${mddev}
newfs_msdos -L msdosboot -F ${FAT_TYPE} /dev/${mddev}s1
gpart add -t freebsd ${mddev}
OpenPOWER on IntegriCloud