mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The -x <format> option of pax is for creation of archives, not
extraction. This will allow cpio archive support to work, at least in situations where /tmp is writable. Because pax requires a writable /tmp it is unsuitable for this task, but replacing it will come in a later commit. Submitted by: Joerg Pulz <Joerg dot Pulz at frm2 dot tum dot de> PR: conf/88293
This commit is contained in:
parent
296c4b1ad5
commit
1c3a359b41
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -x cpio -r -z -p e -f $j)
|
||||
(cd / ; /rescue/pax -r -z -p e -f $j)
|
||||
fi
|
||||
done
|
||||
for j in /conf/$i/*.remove ; do
|
||||
|
|
|
|||
Loading…
Reference in a new issue