functions-extractimage.sh (247705) | functions-extractimage.sh (278616) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2010 iXsystems, Inc. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# | 1#!/bin/sh 2#- 3# Copyright (c) 2010 iXsystems, Inc. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# |
26# $FreeBSD: head/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh 247705 2013-03-03 09:47:47Z jpaetzel $ | 26# $FreeBSD: head/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh 278616 2015-02-12 05:35:00Z cperciva $ |
27 28# Functions which perform the extraction / installation of system to disk 29 30. ${BACKEND}/functions-mountoptical.sh 31 32# Performs the extraction of data to disk from FreeBSD dist files 33start_extract_dist() 34{ --- 263 unchanged lines hidden (view full) --- 298 # Check if we have a /usr partition to save the download 299 if [ -d "${FSMNT}/usr" ] 300 then 301 OUTFILE="${FSMNT}/usr/.fetch-${INSFILE}" 302 else 303 OUTFILE="${FSMNT}/.fetch-${INSFILE}" 304 fi 305 | 27 28# Functions which perform the extraction / installation of system to disk 29 30. ${BACKEND}/functions-mountoptical.sh 31 32# Performs the extraction of data to disk from FreeBSD dist files 33start_extract_dist() 34{ --- 263 unchanged lines hidden (view full) --- 298 # Check if we have a /usr partition to save the download 299 if [ -d "${FSMNT}/usr" ] 300 then 301 OUTFILE="${FSMNT}/usr/.fetch-${INSFILE}" 302 else 303 OUTFILE="${FSMNT}/.fetch-${INSFILE}" 304 fi 305 |
306 DIRS="base catpages dict doc games info manpages proflibs kernels src" | 306 DIRS="base catpages dict doc info manpages proflibs kernels src" |
307 if [ "${FBSD_ARCH}" = "amd64" ] 308 then 309 DIRS="${DIRS} lib32" 310 fi 311 312 for d in ${DIRS} 313 do 314 mkdir -p "${OUTFILE}/${d}" --- 238 unchanged lines hidden --- | 307 if [ "${FBSD_ARCH}" = "amd64" ] 308 then 309 DIRS="${DIRS} lib32" 310 fi 311 312 for d in ${DIRS} 313 do 314 mkdir -p "${OUTFILE}/${d}" --- 238 unchanged lines hidden --- |