Fix rootfs compression
* There is no need to adjust the rootfs to include the arch parameter anymore * Uses tar instead of bsdtar to error output
This commit is contained in:
parent
ed552b6af0
commit
d4edab4979
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ module Vagrant
|
||||||
|
|
||||||
Dir.chdir base_path do
|
Dir.chdir base_path do
|
||||||
@logger.info "Compressing '#{rootfs_path}' rootfs to #{target_path}"
|
@logger.info "Compressing '#{rootfs_path}' rootfs to #{target_path}"
|
||||||
system "sudo rm -f rootfs.tar.gz && sudo bsdtar -s /#{basename}/rootfs-#{arch}/ --numeric-owner -czf #{target_path} #{basename}/* 2>/dev/null"
|
system "sudo rm -f rootfs.tar.gz && sudo tar --numeric-owner -czf #{target_path} #{basename}/*"
|
||||||
|
|
||||||
@logger.info "Changing rootfs tarbal owner"
|
@logger.info "Changing rootfs tarbal owner"
|
||||||
system "sudo chown #{ENV['USER']}:#{ENV['USER']} #{target_path}"
|
system "sudo chown #{ENV['USER']}:#{ENV['USER']} #{target_path}"
|
||||||
|
|
Loading…
Reference in a new issue