summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-23 15:35:32 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-23 15:35:32 +0000
commit5260be4442f3ae758732bdf388b16c1602647f52 (patch)
tree23f20633d14ef3b48291c4a95cd2f7ad36a1714e
parent34bd97d75cfc3d793cd175a8d34cb9463ebab7c3 (diff)
parente20f1f1bdba0bc0010caa0ceade0004a7f3be8a9 (diff)
downloadmorphs-5260be4442f3ae758732bdf388b16c1602647f52.tar.gz
Merge remote-tracking branch 'origin/baserock/jonathan/genivi-arm-deploy'
Test built the GENIVI images, and they succeeded. Did not test-run the script, though.
-rwxr-xr-xdeploy-genivi-devel-system-armv7.sh22
-rw-r--r--genivi-devel-system-armv7-versatile.morph3
l---------genivi-devel-system-armv7/etc/morph.conf1
-rw-r--r--genivi-devel-system-armv7/manifest5
-rw-r--r--genivi-devel-system-armv7/src/morph.conf5
5 files changed, 35 insertions, 1 deletions
diff --git a/deploy-genivi-devel-system-armv7.sh b/deploy-genivi-devel-system-armv7.sh
new file mode 100755
index 0000000..989176f
--- /dev/null
+++ b/deploy-genivi-devel-system-armv7.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Copyright (C) 2012 Codethink Limited
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Creates a GENIVI development system image that is configured for
+# being run inside a qemu-arm emulator.
+
+morph deploy rawdisk genivi-devel-system-armv7-versatile \
+ genivi-devel-system-armv7-versatile.img \
+ DISK_SIZE=30G INSTALL_FILES=genivi-devel-system-armv7/manifest
diff --git a/genivi-devel-system-armv7-versatile.morph b/genivi-devel-system-armv7-versatile.morph
index 5e246c1..87fd4cf 100644
--- a/genivi-devel-system-armv7-versatile.morph
+++ b/genivi-devel-system-armv7-versatile.morph
@@ -75,6 +75,7 @@
"configuration-extensions": [
"set-hostname",
"ssh",
- "add-config-files"
+ "add-config-files",
+ "install-files"
]
}
diff --git a/genivi-devel-system-armv7/etc/morph.conf b/genivi-devel-system-armv7/etc/morph.conf
new file mode 120000
index 0000000..8f38404
--- /dev/null
+++ b/genivi-devel-system-armv7/etc/morph.conf
@@ -0,0 +1 @@
+/src/morph.conf \ No newline at end of file
diff --git a/genivi-devel-system-armv7/manifest b/genivi-devel-system-armv7/manifest
new file mode 100644
index 0000000..3198063
--- /dev/null
+++ b/genivi-devel-system-armv7/manifest
@@ -0,0 +1,5 @@
+0040755 0 0 /src
+0040755 0 0 /src/tmp
+0100666 0 0 /src/morph.conf
+0040755 0 0 /etc
+0120666 0 0 /etc/morph.conf
diff --git a/genivi-devel-system-armv7/src/morph.conf b/genivi-devel-system-armv7/src/morph.conf
new file mode 100644
index 0000000..76b6fde
--- /dev/null
+++ b/genivi-devel-system-armv7/src/morph.conf
@@ -0,0 +1,5 @@
+[config]
+log = /src/morph.log
+cachedir = /src/cache
+tempdir = /src/tmp
+staging-chroot = true