summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-11-22 13:42:57 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-11-22 13:42:57 +0100
commitaaeb9b607c6cc361ce7b70b3938bbdeaace44235 (patch)
tree0314f22ae85117f32c98fa7d5ea06f5802c56276 /tools
parenta53e866c25401f8e71612d276ec12fdcc6970682 (diff)
build-release: wipe before starting to package
Diffstat (limited to 'tools')
-rw-r--r--tools/build-release.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/build-release.sh b/tools/build-release.sh
index 33a007c7..1b2f6b01 100644
--- a/tools/build-release.sh
+++ b/tools/build-release.sh
@@ -102,5 +102,9 @@ chroot $CHROOT_PATH sed -i 's/root:\*/root:/g' /etc/shadow
echo "chroot created"
echo "starting the build"
-echo "cd ~/git/cerbero-0.1.0 && ./cerbero-uninstalled bootstrap && ./cerbero-uninstalled package gstreamer-sdk" > $CHROOT_PATH/home/$USER/run_package
+echo "cd ~/git/cerbero-0.1.0
+./cerbero-uninstalled bootstrap
+./cerbero-uninstalled wipe --force
+./cerbero-uninstalled package gstreamer-sdk" > $CHROOT_PATH/home/$USER/run_package
+
chroot $CHROOT_PATH su $USER /home/$USER/run_package