Changeset View
Changeset View
Standalone View
Standalone View
release/tools/gce.conf
| Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | EOF | ||||
| if [ -e "${DESTDIR}/../ftp/src.txz" ]; then | if [ -e "${DESTDIR}/../ftp/src.txz" ]; then | ||||
| tar fxJ ${DESTDIR}/../ftp/src.txz -C ${DESTDIR} | tar fxJ ${DESTDIR}/../ftp/src.txz -C ${DESTDIR} | ||||
| fi | fi | ||||
| if [ -e "${DESTDIR}/../ftp/ports.txz" ]; then | if [ -e "${DESTDIR}/../ftp/ports.txz" ]; then | ||||
| tar fxJ ${DESTDIR}/../ftp/ports.txz -C ${DESTDIR} | tar fxJ ${DESTDIR}/../ftp/ports.txz -C ${DESTDIR} | ||||
| _INSTALLED_PACKAGES=$(pkg -r ${DESTDIR} info -o -q -a | grep -v ^base/) | _INSTALLED_PACKAGES=$(pkg -r ${DESTDIR} info -o -q -a | grep -v ^base/) | ||||
| for PACKAGE in ${_INSTALLED_PACKAGES}; do | for PACKAGE in ${_INSTALLED_PACKAGES}; do | ||||
| make -C ${DESTDIR}/usr/ports/${PACKAGE} fetch \ | make -C ${DESTDIR}/usr/ports/${PACKAGE} fetch \ | ||||
| DISTDIR=${DESTDIR}/usr/ports/distfiles | DISTDIR=${DESTDIR}/usr/ports/distfiles \ | ||||
| DISABLE_VULNERABILITIES=YES \ | |||||
| I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=YES | |||||
| done | done | ||||
| fi | fi | ||||
| ## XXX: Verify this is needed. I do not see this requirement | ## XXX: Verify this is needed. I do not see this requirement | ||||
| ## in the docs, and it impairs the ability to boot-test a copy | ## in the docs, and it impairs the ability to boot-test a copy | ||||
| ## of the image prior to packaging for upload to GCE. | ## of the image prior to packaging for upload to GCE. | ||||
| #sed -E -i '' 's/^([^#].*[[:space:]])on/\1off/' ${DESTDIR}/etc/ttys | #sed -E -i '' 's/^([^#].*[[:space:]])on/\1off/' ${DESTDIR}/etc/ttys | ||||
| Show All 11 Lines | |||||