Lines Matching refs:image
36 # Makes a bootable image for the host architecture given.
192 Usage: $PROG -h <host-arch> [-bdmx] [-B <byte-order>] [-K <kerneldir>] [-S <srcdir>] [-D <destdir>] [-c <custom-files-dir>] [-s <Mb size>] [<image>]
278 # take the next argument as being the image name
279 image="$1"
283 case "$image" in
284 *.gz) compress=true; image="${image%.gz}";;
333 ${image} ${mnt}/boot
341 -F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
345 size="$(getsize "${image}")"
352 >> "${image}" 2> /dev/null
367 ${GPT} ${gpt_flags} ${image} destroy || true
370 ${GPT} ${gpt_flags} ${image} create ${gpt_create_flags}
371 ${GPT} ${gpt_flags} ${image} add -b ${initsecs} -s ${bootsecs} -l ${gpt_label_boot:-EFI} -t ${gpt_boot_type:-efi}
372 ${GPT} ${gpt_flags} ${image} set -a required -i 1
373 ${GPT} ${gpt_flags} ${image} add -a 4m -b ${ffsstart} -l ${gpt_label_ffs:-netbsd-root} -t ffs
374 ${GPT} ${gpt_flags} ${image} show
377 ${FDISK} -f -g -u -0 -a -s ${msdosid}/${initsecs}/${bootsecs} -F ${image}
378 ${FDISK} -f -g -u -3 -s 238/1/$((${initsecs} - 1)) -F ${image}
379 ${FDISK} -F ${image}
386 ${FDISK} -f -i ${image}
387 ${FDISK} -f -a -u -0 -s ${msdosid}/${initsecs}/${bootsecs} -F ${image}
390 imagesize="$(getsize "${image}")"
393 ${FDISK} -f -u -1 -s 169/${ffsstart}/${ffssize} -F ${image}
398 ${DISKLABEL} -m -R -F ${image} ${tmp}/label
402 ${DISKLABEL} -m -R -F ${image} ${tmp}/label
405 ${FDISK} -f -i ${image}
406 ${FDISK} -f -a -u -0 -s 169/${init} ${image}
407 ${INSTALLBOOT} -f -v ${image} ${release}/usr/mdec/bootxx_ffsv1
412 echo ${bar} Compressing image ${bar}
413 rm -f "${image}.gz"
414 ${GZIP_CMD} -n -9 ${image}
415 image="${image}.gz"
419 ${CKSUM} -a MD5 "$(basename "${image}")" > MD5
420 ${CKSUM} -a SHA512 "$(basename "${image}")" > SHA512
422 echo ${bar} Image is ${image} ${bar}