summaryrefslogtreecommitdiffstats
path: root/remote/modules/qemukvm
diff options
context:
space:
mode:
authorJonathan Bauer2014-03-25 15:24:04 +0100
committerJonathan Bauer2014-03-25 15:24:04 +0100
commit3d1235af060955e271be68240c0ca46bc6d81b03 (patch)
treeef02dcc4bb8476cfeef07e2df6a38b4c29d350df /remote/modules/qemukvm
parent[rootfs-stage32] /var/log/openslx in tmpfiles.d (diff)
downloadtm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.gz
tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.xz
tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.zip
[modules] new module naming convention
rename $MODULE.{conf,build} to module.{conf,build}
Diffstat (limited to 'remote/modules/qemukvm')
-rw-r--r--remote/modules/qemukvm/module.build16
-rw-r--r--remote/modules/qemukvm/module.conf11
-rw-r--r--remote/modules/qemukvm/module.conf.ubuntu37
3 files changed, 64 insertions, 0 deletions
diff --git a/remote/modules/qemukvm/module.build b/remote/modules/qemukvm/module.build
new file mode 100644
index 00000000..6d8ad7be
--- /dev/null
+++ b/remote/modules/qemukvm/module.build
@@ -0,0 +1,16 @@
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+ list_packet_files >> "$COPYLIST"
+
+
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+ :
+}
diff --git a/remote/modules/qemukvm/module.conf b/remote/modules/qemukvm/module.conf
new file mode 100644
index 00000000..32df73a5
--- /dev/null
+++ b/remote/modules/qemukvm/module.conf
@@ -0,0 +1,11 @@
+REQUIRED_DIRECTORIES="
+ /etc
+ /lib
+ /usr/bin
+ /usr/sbin
+ /usr/lib
+ /usr/share/lintian
+ /usr/share/qemu
+ /usr/share/seabios
+ /usr/share/vgabios
+"
diff --git a/remote/modules/qemukvm/module.conf.ubuntu b/remote/modules/qemukvm/module.conf.ubuntu
new file mode 100644
index 00000000..d0fdc5f3
--- /dev/null
+++ b/remote/modules/qemukvm/module.conf.ubuntu
@@ -0,0 +1,37 @@
+REQUIRED_INSTALLED_PACKAGES="
+ qemu
+ qemu-kvm
+"
+
+REQUIRED_CONTENT_PACKAGES="
+ qemu
+ qemu-kvm
+ ipxe-qemu
+ qemu-keymaps
+ qemu-system
+ qemu-system-arm
+ qemu-system-common
+ qemu-system-mips
+ qemu-system-misc
+ qemu-system-ppc
+ qemu-system-sparc
+ qemu-system-x86
+ qemu-user
+ qemu-utils
+ seabios
+ vgabios
+ cpu-checker
+ kvm-ipxe
+ libaio1
+ libboost-thread1.49.0
+ libfdt1
+ librados2
+ librbd1
+ libsdl1.2debian
+ libseccomp1
+ libspice-server1
+ libxen-4.2
+ libxenstore3.0
+ msr-tools
+ sharutils
+"