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

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