summaryrefslogtreecommitdiff
path: root/deploy_a_system.sh
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-09-10 14:20:49 +0000
committerPatrick Darley <patrick.darley@codethink.co.uk>2015-09-10 14:20:49 +0000
commite7a30299b1f7e71137d1236908c7aff1be3c1165 (patch)
tree655aec5ac99495cfcf56e9e5b94a5150409947a7 /deploy_a_system.sh
parent749317cd0dfea6d454c0119b28dd102fc274b455 (diff)
downloadbuildslave-scripts-e7a30299b1f7e71137d1236908c7aff1be3c1165.tar.gz
Make sure deploys are done wih btrfs module loaded
Diffstat (limited to 'deploy_a_system.sh')
-rwxr-xr-xdeploy_a_system.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy_a_system.sh b/deploy_a_system.sh
index ef99ce9..3166dce 100755
--- a/deploy_a_system.sh
+++ b/deploy_a_system.sh
@@ -11,6 +11,10 @@ ybd_dir=/home/patrickdarley/ybd
# with >1
sed -i '/^instances: /c\instances: 1' /home/patrickdarley/ybd/config/ybd.conf
+# Make sure the btrfs module is loaded else all deploys shall be in vain
+sudo modprobe btrfs
+
+
# try changing to the definitions dir then building
# ybd seems to set the "target" to be current dir, regardless
# Of it being definitions or not