From d0867c3c1d5594329e7a5759853a9df85c30d294 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Thu, 4 Apr 2013 22:22:04 -0300 Subject: [PATCH] Update quantal64 package task to exclude files from new rootfs path --- tasks/boxes.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/boxes.rake b/tasks/boxes.rake index 16bbcdb..124ce32 100644 --- a/tasks/boxes.rake +++ b/tasks/boxes.rake @@ -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