better comment about why gnu tar

This commit is contained in:
Matthew Hooker 2018-03-29 16:18:55 -07:00
parent b97a36a5c7
commit 60986ae682
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ func DirToBox(dst, dir string, ui packer.Ui, level int) error {
return err return err
} }
// workaround for large archive formats on go >=1.10 // go >=1.10 wants to use GNU tar format to workaround issues in
// libarchive < 3.3.2
setHeaderFormat(header) setHeaderFormat(header)
// We have to set the Name explicitly because it is supposed to // We have to set the Name explicitly because it is supposed to