summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-10-31 22:00:44 +0000
committerbrooks <brooks@FreeBSD.org>2005-10-31 22:00:44 +0000
commitf45d60a425879f7f0c40995ec5cd8097c5dad643 (patch)
treeae98580adc47f4da12b2ccf066d7fd33fce15c1a /etc
parent210613fc390c204d6e0c447b264a2c9635656c8c (diff)
downloadFreeBSD-src-f45d60a425879f7f0c40995ec5cd8097c5dad643.zip
FreeBSD-src-f45d60a425879f7f0c40995ec5cd8097c5dad643.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.initdiskless2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index e18add0..4e77e74 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -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
OpenPOWER on IntegriCloud