From 5081754665f09d24d562f20d06e583ee1e613152 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Thu, 4 Apr 2013 22:55:59 -0300 Subject: [PATCH] Minor tweaks to quantal64 box packaging task --- tasks/boxes.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/boxes.rake b/tasks/boxes.rake index 124ce32..0aadd7c 100644 --- a/tasks/boxes.rake +++ b/tasks/boxes.rake @@ -11,8 +11,8 @@ 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/* --exclude=download-ubuntu" - sh 'cd boxes/quantal64 && sudo rm -rf rootfs-amd64' + sh 'cd boxes/quantal64 && sudo rm -rf rootfs' + sh "cd boxes/quantal64 && sudo chown #{ENV['USER']}:#{ENV['USER']} rootfs.tar.gz && tar -czf ../output/lxc-quantal64.box ./* --exclude=download-ubuntu" end end end