freebsd-dev/release
Glen Barber 08a75d1f0e Create the arm64/aarch64 VM disk image as MBR instead of
GPT scheme.  UEFI needs to know the unique partition GUID
with GPT, which changes each time.  Specifically, the QEMU
EFI BIOS file has this hard-coded.[1]

Since the GPT labels are now unavailable, unconditionally
label the root filesystem as 'rootfs' with newfs(8), since
it does not hurt anything anywhere else.  For the arm64 case,
'/' is mounted from /dev/ufs/rootfs; for all other VM images,
'/' is mounted from /dev/gpt/rootfs.

Unfortunately, since the /dev/gpt/swapfs label is also lost,
set NOSWAP=1 for the arm64/aarch64 images.  This is temporary,
until I figure out a scalable solution to this.  But, a certain
piece of softare was written "very fast", and ended up living
for 15 years.  We can deal with this for a week or so.

Information from:	andrew, emaste [1]
Sponsored by:	The FreeBSD Foundation
2015-04-23 01:04:14 +00:00
..
amd64 Merge the following revisions from ^/projects/release-vmimage: 2015-01-20 23:56:04 +00:00
arm Crochet sources moved to a new home; update accordingly. 2015-03-25 22:08:02 +00:00
arm64 Remove the gptboot partition from the arm64 memory stick image, 2015-04-22 13:52:29 +00:00
doc Document r279663, qsort(3) enhancements. 2015-03-16 15:54:53 +00:00
i386 Initial rewrite to consolidate VM image build scripts into one. 2014-11-05 13:22:19 +00:00
pc98 - Add CHECKSUM.* support in Makefile[1]. 2013-02-03 10:26:24 +00:00
picobsd do not strip /stand 2015-01-24 08:48:05 +00:00
pkg_repos Update the pkg-stage target to be more compatible with pkg-1.2: 2014-01-16 16:12:09 +00:00
powerpc Use mkimg instead of md(4) and gpart. 2014-05-01 03:24:41 +00:00
scripts Create the arm64/aarch64 VM disk image as MBR instead of 2015-04-23 01:04:14 +00:00
sparc64 - Once we have shifted arguments thrice, base-bits-dir is $1 rather than $4. 2013-07-26 14:23:25 +00:00
tools Create the arm64/aarch64 VM disk image as MBR instead of 2015-04-23 01:04:14 +00:00
Makefile Add 'cloudware-install' target to handle copying cloud 2015-02-24 21:06:25 +00:00
Makefile.ec2 Add code for creating an EC2 AMI. 2015-04-01 00:00:17 +00:00
Makefile.vm Add code for creating an EC2 AMI. 2015-04-01 00:00:17 +00:00
rc.local Create /tmp/bsdinstall_etc even if we aren't starting the installer so that 2014-09-13 20:09:02 +00:00
release.conf.sample Merge the following from ^/projects/release-arm64 to allow 2015-04-21 00:48:35 +00:00
release.sh Merge the following from ^/projects/release-arm64 to allow 2015-04-21 00:48:35 +00:00