vmimage.subr (fd17ea8c1849039c436f7192ca407db70561df03) | vmimage.subr (be2bc82f18fb544c5a62b02f6faf2e320e0e881e) |
---|---|
1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 117 unchanged lines hidden (view full) --- 126vm_extra_install_packages() { 127 if [ -z "${VM_EXTRA_PACKAGES}" ]; then 128 return 0 129 fi 130 mkdir -p ${DESTDIR}/dev 131 mount -t devfs devfs ${DESTDIR}/dev 132 chroot ${DESTDIR} ${EMULATOR} env ASSUME_ALWAYS_YES=yes \ 133 /usr/sbin/pkg bootstrap -y | 1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 117 unchanged lines hidden (view full) --- 126vm_extra_install_packages() { 127 if [ -z "${VM_EXTRA_PACKAGES}" ]; then 128 return 0 129 fi 130 mkdir -p ${DESTDIR}/dev 131 mount -t devfs devfs ${DESTDIR}/dev 132 chroot ${DESTDIR} ${EMULATOR} env ASSUME_ALWAYS_YES=yes \ 133 /usr/sbin/pkg bootstrap -y |
134 for p in ${ASSUME_ALWAYS_YES}; do | 134 for p in ${VM_EXTRA_PACKAGES}; do |
135 chroot ${DESTDIR} ${EMULATOR} env ASSUME_ALWAYS_YES=yes \ 136 /usr/sbin/pkg install -y ${p} 137 done 138 umount_loop ${DESTDIR}/dev 139 140 return 0 141} 142 --- 125 unchanged lines hidden --- | 135 chroot ${DESTDIR} ${EMULATOR} env ASSUME_ALWAYS_YES=yes \ 136 /usr/sbin/pkg install -y ${p} 137 done 138 umount_loop ${DESTDIR}/dev 139 140 return 0 141} 142 --- 125 unchanged lines hidden --- |