vmimage.subr (adc215de9cabadb89eb4a1c99e047906eacaa58a) vmimage.subr (65190700cb0f94560458a479cd30f921208deb28)
1#!/bin/sh
2#
3#
4#
5# Common functions for virtual machine image build scripts.
6#
7
8scriptdir=$(dirname $(realpath $0))

--- 257 unchanged lines hidden (view full) ---

266 case "${TARGET}:${TARGET_ARCH}" in
267 amd64:amd64 | i386:i386)
268 ESP=yes
269 BOOTPARTS="-b ${BOOTFILES}/i386/pmbr/pmbr \
270 -p freebsd-boot/bootfs:=${BOOTFILES}/${X86GPTBOOTFILE}${BOOTPARTSOFFSET}"
271 ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"
272 MAKEFSARGS="$MAKEFSARGS -B little"
273 ;;
1#!/bin/sh
2#
3#
4#
5# Common functions for virtual machine image build scripts.
6#
7
8scriptdir=$(dirname $(realpath $0))

--- 257 unchanged lines hidden (view full) ---

266 case "${TARGET}:${TARGET_ARCH}" in
267 amd64:amd64 | i386:i386)
268 ESP=yes
269 BOOTPARTS="-b ${BOOTFILES}/i386/pmbr/pmbr \
270 -p freebsd-boot/bootfs:=${BOOTFILES}/${X86GPTBOOTFILE}${BOOTPARTSOFFSET}"
271 ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"
272 MAKEFSARGS="$MAKEFSARGS -B little"
273 ;;
274 arm64:aarch64 | riscv:riscv64*)
274 arm:armv7 | arm64:aarch64 | riscv:riscv64*)
275 ESP=yes
276 BOOTPARTS=
277 ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"
278 MAKEFSARGS="$MAKEFSARGS -B little"
279 ;;
280 powerpc:powerpc*)
281 ESP=no
282 BOOTPARTS="-p prepboot:=${BOOTFILES}/powerpc/boot1.chrp/boot1.elf -a 1"

--- 49 unchanged lines hidden ---
275 ESP=yes
276 BOOTPARTS=
277 ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"
278 MAKEFSARGS="$MAKEFSARGS -B little"
279 ;;
280 powerpc:powerpc*)
281 ESP=no
282 BOOTPARTS="-p prepboot:=${BOOTFILES}/powerpc/boot1.chrp/boot1.elf -a 1"

--- 49 unchanged lines hidden ---