summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-05-16 10:52:02 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-05-16 15:18:19 +0100
commit9a3484a09c119ee6e4b03f0f784539f967a67c7f (patch)
tree94f65ea2d25db5db732b2a02d9cd05ad6864bc76
parentd816483fd002eea95008a0b6e0a2878126646854 (diff)
downloaddefinitions-baserock/danielsilverstone/vagrant-support.tar.gz
Vagrant system with virtualbox guest additions.baserock/danielsilverstone/vagrant-support
At this time, the VirtualBox stuff is x86_64 only because we're abusing its build system to get to what we need.
-rw-r--r--devel-system-x86_64-vagrant.morph29
-rw-r--r--vagrant-files/home/vagrant/.ssh/authorized_keys1
-rw-r--r--vagrant-files/manifest4
-rw-r--r--virtualbox-guest-x86_64.morph21
4 files changed, 55 insertions, 0 deletions
diff --git a/devel-system-x86_64-vagrant.morph b/devel-system-x86_64-vagrant.morph
new file mode 100644
index 00000000..a346ad2d
--- /dev/null
+++ b/devel-system-x86_64-vagrant.morph
@@ -0,0 +1,29 @@
+arch: x86_64
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- vagrant
+description: A system that is able to build other systems based on the 64-bit x86
+ architecture. This adds the virtualbox guest additions and vagrant configuration too
+kind: system
+name: devel-system-x86_64-vagrant
+strata:
+- morph: build-essential
+- morph: core
+- morph: foundation
+- morph: genivi-foundation
+- morph: bsp-x86_64-generic
+- morph: connectivity
+- morph: audio-bluetooth
+- morph: x-common
+- morph: x-x86_64-generic
+- morph: multimedia
+- morph: genivi
+- morph: genivi-x-x86_64-generic
+- morph: tools
+- morph: virtualization
+- morph: openstack-clients
+- morph: virtualbox-guest-x86_64
diff --git a/vagrant-files/home/vagrant/.ssh/authorized_keys b/vagrant-files/home/vagrant/.ssh/authorized_keys
new file mode 100644
index 00000000..18a9c00f
--- /dev/null
+++ b/vagrant-files/home/vagrant/.ssh/authorized_keys
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
diff --git a/vagrant-files/manifest b/vagrant-files/manifest
new file mode 100644
index 00000000..67168341
--- /dev/null
+++ b/vagrant-files/manifest
@@ -0,0 +1,4 @@
+0040755 0 0 /home
+0040755 1000 0000 /home/vagrant
+0040700 1000 1000 /home/vagrant/.ssh
+0100600 1000 1000 /home/vagrant/.ssh/authorized_keys
diff --git a/virtualbox-guest-x86_64.morph b/virtualbox-guest-x86_64.morph
new file mode 100644
index 00000000..3331615e
--- /dev/null
+++ b/virtualbox-guest-x86_64.morph
@@ -0,0 +1,21 @@
+name: virtualbox-guest-x86_64
+kind: stratum
+description: |
+ VirtualBox Guest Additions for x86_64
+build-depends:
+- morph: tools
+- morph: bsp-x86_64-generic
+- morph: x-common
+- morph: x-x86_64-generic
+chunks:
+- name: yasm
+ repo: upstream:yasm
+ ref: fefefe262eb29081f0bcb4d48f2d476ce5730562
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: vboxguest
+ repo: upstream:VirtualBox
+ ref: a723d8f3a61cb38f72626314f930280c8e2f9cb5
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - yasm