Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-11-08 20:31:45 +0100
committerPetter Reinholdtsen <pere@hungry.com>2014-11-08 20:31:45 +0100
commit11186a5728551227c0f60c595dc2d7508dc8d8c2 (patch)
tree9544482d14fee8b41fac3a0c22e3162ff0c9491a /bin/fetch-new-vmdebootstrap
parent6ef6b4e43175464c78849c9bb0544ff8240039b6 (diff)
Use patched vmdebootstrap to enable btrfs as the default file system.
Fetch vmdebootstrap from upstream git and patch it to make it possible to use btrfs and grub, and enable this by default.
Diffstat (limited to 'bin/fetch-new-vmdebootstrap')
-rwxr-xr-xbin/fetch-new-vmdebootstrap12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/fetch-new-vmdebootstrap b/bin/fetch-new-vmdebootstrap
new file mode 100755
index 0000000..db044bf
--- /dev/null
+++ b/bin/fetch-new-vmdebootstrap
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+mkdir -p vendor
+if [ -d vendor/vmdebootstrap ] ; then
+ (cd vendor/vmdebootstrap; git checkout .; git pull)
+else
+ git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap
+fi
+cd vendor/vmdebootstrap
+for f in ../../vendor-patches/vmdebootstrap/* ; do
+ patch -p1 < $f
+done