From 4b5ffac402c73329f8ecfa4bc372100c885cd139 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 16 May 2014 10:52:02 +0000 Subject: Vagrant system with virtualbox guest additions. At this time, the VirtualBox stuff is x86_64 only because we're abusing its build system to get to what we need. --- devel-system-x86_64-vagrant.morph | 29 +++++++++++++++++++++++++ vagrant-files/home/vagrant/.ssh/authorized_keys | 1 + vagrant-files/manifest | 4 ++++ virtualbox-guest-x86_64.morph | 21 ++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 devel-system-x86_64-vagrant.morph create mode 100644 vagrant-files/home/vagrant/.ssh/authorized_keys create mode 100644 vagrant-files/manifest create mode 100644 virtualbox-guest-x86_64.morph 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..4babc6da --- /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: 617aeb5a3c13f4a46423e8c2fb560449403ad56d + unpetrify-ref: baserock/morph + build-depends: + - yasm -- cgit v1.2.1