summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-16 20:26:45 +0100
committerSimon Rettberg2013-12-16 20:26:45 +0100
commit4bb5c41e394224f51422d03fea8bdd9284a1ee08 (patch)
tree842d2c71c428bd505212daa152153f40c7e616dd
parentSome docs about coding (diff)
parent[pam*] user context script: Added .thunderbird (requested via support) (diff)
downloadtm-scripts-4bb5c41e394224f51422d03fea8bdd9284a1ee08.tar.gz
tm-scripts-4bb5c41e394224f51422d03fea8bdd9284a1ee08.tar.xz
tm-scripts-4bb5c41e394224f51422d03fea8bdd9284a1ee08.zip
Merge branch 'master' of dnbd3:openslx-ng/tm-scripts
-rw-r--r--remote/modules/qemukvm/qemukvm.build16
-rw-r--r--remote/modules/qemukvm/qemukvm.conf5
-rw-r--r--remote/modules/qemukvm/qemukvm.conf.ubuntu38
-rw-r--r--server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent_user2
4 files changed, 60 insertions, 1 deletions
diff --git a/remote/modules/qemukvm/qemukvm.build b/remote/modules/qemukvm/qemukvm.build
new file mode 100644
index 00000000..6d8ad7be
--- /dev/null
+++ b/remote/modules/qemukvm/qemukvm.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/qemukvm.conf b/remote/modules/qemukvm/qemukvm.conf
new file mode 100644
index 00000000..a3973fe7
--- /dev/null
+++ b/remote/modules/qemukvm/qemukvm.conf
@@ -0,0 +1,5 @@
+REQUIRED_BINARIES="
+"
+
+REQUIRED_DIRECTORIES="
+"
diff --git a/remote/modules/qemukvm/qemukvm.conf.ubuntu b/remote/modules/qemukvm/qemukvm.conf.ubuntu
new file mode 100644
index 00000000..e42cb63b
--- /dev/null
+++ b/remote/modules/qemukvm/qemukvm.conf.ubuntu
@@ -0,0 +1,38 @@
+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
+"
+REQUIRED_FILES=""
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent_user b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent_user
index 579bc659..3f4bba49 100644
--- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent_user
+++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent_user
@@ -4,7 +4,7 @@
# Persistent home was mounted, take care of some conveinience
# Dirs
-for file in .vim .mozilla .config/chromium .config/htop .config/openslx; do
+for file in .vim .mozilla .thunderbird .config/chromium .config/htop .config/openslx; do
if [ "x$(dirname "$file")" != "x." ]; then
mkdir -p "$TEMP_HOME_DIR/$(dirname "$file")"
chown -R "$PAM_USER:$PAM_GROUP" "$TEMP_HOME_DIR/${file%%/*}"