svn commit: r268652 - projects/release-embedded/release/cloudware
Glen Barber
gjb at FreeBSD.org
Tue Jul 15 05:16:01 UTC 2014
Author: gjb
Date: Tue Jul 15 05:16:00 2014
New Revision: 268652
URL: http://svnweb.freebsd.org/changeset/base/268652
Log:
Align partitions on 1MB boundaries.
This seems to (unexpectedly) increase boot time in Hyper-V, and
may fix some recent issues in Azure itself.
Sponsored by: The FreeBSD Foundation
Modified:
projects/release-embedded/release/cloudware/release-azure.sh
Modified: projects/release-embedded/release/cloudware/release-azure.sh
==============================================================================
--- projects/release-embedded/release/cloudware/release-azure.sh Tue Jul 15 05:12:16 2014 (r268651)
+++ projects/release-embedded/release/cloudware/release-azure.sh Tue Jul 15 05:16:00 2014 (r268652)
@@ -50,8 +50,8 @@ main() {
mddev=$(mdconfig -a -t vnode -f ${2}.raw)
gpart create -s gpt /dev/${mddev}
- gpart add -t freebsd-boot -s 512k -l bootfs /dev/${mddev}
- gpart add -t freebsd-ufs -l rootfs /dev/${mddev}
+ gpart add -t freebsd-boot -a 1m -s 512k -l bootfs /dev/${mddev}
+ gpart add -t freebsd-ufs -a 1m -l rootfs /dev/${mddev}
newfs -L rootfs /dev/${mddev}p2
mount /dev/${mddev}p2 ${1}
mkdir -p ${1}/dev
More information about the svn-src-projects
mailing list