1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

Switch from pax to tar for extracting cpio archives. pax requires a

writable /tmp (or TMPDIR) and thus is unsuitable for this job.

Tested by:	Joerg Pulz <Joerg dot Pulz at frm2 dot tum dot de>
PR:		conf/88293
This commit is contained in:
Brooks Davis 2005-10-31 22:00:44 +00:00
parent f6868f848c
commit ed5b9e57cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151914

View File

@ -309,7 +309,7 @@ for i in ${templates} ; do
if [ -f $j ]; then
create_md $subdir
echo "Loading /$subdir from cpio archive $j"
(cd / ; /rescue/pax -r -z -p e -f $j)
(cd / ; /rescue/tar -xpf $j)
fi
done
for j in /conf/$i/*.remove ; do