Using posix (2001) format instead of the outdated ustar to archive

This commit is contained in:
erdgeist 2009-02-02 17:39:27 +00:00
parent 5b37381e76
commit ac8696b602

View File

@ -927,7 +927,7 @@ archive)
[ -f "/etc/fstab.${ezjail_safename}" ] && ezjail_addfiles=/etc/fstab.${ezjail_safename}
cd "${ezjail_rootdir}" || exerr "Error: Can't cd to ${ezjail_root}."
pax -wzXt -x ustar ${ezjail_archive_opt} \
pax -wzXt -x posix ${ezjail_archive_opt} \
-s:"^[^\\.].*/${ezjail_safename}\$":prop.ezjail-${ezjail_archive_tag}: \
-s:"^[^\\.].*/${ezjail_safename}.norun\$":prop.ezjail-${ezjail_archive_tag}.norun: \
-s:"etc/fstab.${ezjail_safename}\$":fstab.ezjail: \