[Pkg-ocaml-maint-commits] [marionnet] 07/07: Add simple script to install testing images
Lucas Nussbaum
lucas at moszumanska.debian.org
Thu Apr 3 14:36:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
lucas pushed a commit to branch master
in repository marionnet.
commit 7cfc044c53fd01ff8c26dd83242a4eb222e4bc73
Author: Lucas Nussbaum <lucas at debian.org>
Date: Thu Apr 3 14:28:16 2014 +0200
Add simple script to install testing images
---
debian/README.Debian | 3 +++
debian/marionnet-download-testing-images | 26 ++++++++++++++++++++++++++
debian/marionnet.install | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
index 2dcafc7..b5e0238 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -8,6 +8,9 @@ You can:
some kernels and filesystems provided by the Marionnet project.
As root, run:
/usr/share/marionnet/marionnet_from_scratch -p /usr -O
+ Alternatively, you can install 'testing' images, that provide
+ more recent environments:
+ /usr/share/marionnet/marionnet-download-testing-images
(2) Build your own kernel and filesystem. See
http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/files/head:/uml/
diff --git a/debian/marionnet-download-testing-images b/debian/marionnet-download-testing-images
new file mode 100755
index 0000000..9d96e4d
--- /dev/null
+++ b/debian/marionnet-download-testing-images
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+set -e
+set -x
+
+umask 022
+
+mkdir -p /usr/share/marionnet/filesystems
+cd /usr/share/marionnet/filesystems
+wget -c http://www.marionnet.org/downloads/testing/debian-wheezy/machine-debian-wheezy-22987
+wget -c http://www.marionnet.org/downloads/testing/debian-wheezy/machine-debian-wheezy-22987.conf
+
+wget -c http://www.marionnet.org/downloads/testing/guignol/machine-guignol-37127
+wget -c http://www.marionnet.org/downloads/testing/guignol/machine-guignol-37127.conf
+ln -sf machine-guignol-37127 router-guignol-37127
+wget -c http://www.marionnet.org/downloads/testing/guignol/router-guignol-37127.conf
+
+mkdir -p /usr/local/share/marionnet/kernels
+cd /usr/local/share/marionnet/kernels
+# Then get the kernel (for instance `linux-3.2.51-ghost'):
+wget -c http://www.marionnet.org/downloads/testing/kernels/linux-3.2.51-ghost
+wget -c http://www.marionnet.org/downloads/testing/kernels/linux-3.2.48-ghost
+
+# Finally make it executable:
+chmod +x linux-3.2.51-ghost
+chmod +x linux-3.2.48-ghost
diff --git a/debian/marionnet.install b/debian/marionnet.install
index 59b2f8e..d881a9a 100644
--- a/debian/marionnet.install
+++ b/debian/marionnet.install
@@ -1,2 +1,3 @@
useful-scripts/marionnet_from_scratch /usr/share/marionnet/
debian/marionnet-prestart-checks /usr/share/marionnet/
+debian/marionnet-download-testing-images /usr/share/marionnet/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/marionnet.git
More information about the Pkg-ocaml-maint-commits
mailing list