Update quantal64 package task to exclude files from new rootfs path
This commit is contained in:
parent
783bc1fbc0
commit
d0867c3c1d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace :boxes do
|
|||
sh 'cd boxes/quantal64 && sudo ./download-ubuntu'
|
||||
sh 'rm -f boxes/quantal64/rootfs.tar.gz'
|
||||
sh 'cd boxes/quantal64 && sudo tar --numeric-owner -czf rootfs.tar.gz ./rootfs/*'
|
||||
sh "cd boxes/quantal64 && sudo chown #{ENV['USER']}:#{ENV['USER']} rootfs.tar.gz && tar -czf ../output/lxc-quantal64.box ./* --exclude=rootfs-amd64 --exclude=download-ubuntu"
|
||||
sh "cd boxes/quantal64 && sudo chown #{ENV['USER']}:#{ENV['USER']} rootfs.tar.gz && tar -czf ../output/lxc-quantal64.box ./* --exclude=rootfs/* --exclude=download-ubuntu"
|
||||
sh 'cd boxes/quantal64 && sudo rm -rf rootfs-amd64'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue