summaryrefslogtreecommitdiff
path: root/etc/schroot
diff options
context:
space:
mode:
Diffstat (limited to 'etc/schroot')
-rw-r--r--etc/schroot/chroot.d/precise-i386-smartboard-ITZkS2
-rw-r--r--etc/schroot/slxdesktop.ITZkS/copyfiles4
-rw-r--r--etc/schroot/slxdesktop.ITZkS/fstab27
-rw-r--r--etc/schroot/slxdesktop.ITZkS/nssdatabases11
4 files changed, 43 insertions, 1 deletions
diff --git a/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS b/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS
index eb1ace3..f61334d 100644
--- a/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS
+++ b/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS
@@ -5,5 +5,5 @@ description=Ubuntu precise/i386 with SMART Notebook
directory=/srv/schroot/precise-i386-smartboard-ITZkS
groups=root,teachers,admins,sudo
root-groups=root,admins,sudo
-profile=desktop
+profile=slxdesktop.ITZkS
personality=linux32
diff --git a/etc/schroot/slxdesktop.ITZkS/copyfiles b/etc/schroot/slxdesktop.ITZkS/copyfiles
new file mode 100644
index 0000000..22b2961
--- /dev/null
+++ b/etc/schroot/slxdesktop.ITZkS/copyfiles
@@ -0,0 +1,4 @@
+# Files to copy into the chroot from the host system.
+#
+# <source and destination>
+/etc/resolv.conf
diff --git a/etc/schroot/slxdesktop.ITZkS/fstab b/etc/schroot/slxdesktop.ITZkS/fstab
new file mode 100644
index 0000000..481db98
--- /dev/null
+++ b/etc/schroot/slxdesktop.ITZkS/fstab
@@ -0,0 +1,27 @@
+# fstab: static file system information for chroots.
+# Note that the mount point will be prefixed by the chroot path
+# (CHROOT_PATH)
+#
+# <file system> <mount point> <type> <options> <dump> <pass>
+/proc /proc none rw,bind 0 0
+/sys /sys none rw,bind 0 0
+/dev /dev none rw,bind 0 0
+/dev/pts /dev/pts none rw,bind 0 0
+/home /home none rw,bind 0 0
+/tmp /tmp none rw,bind 0 0
+/srv /srv none rw,bind 0 0
+/skole /skole none rw,rbind 0 0
+
+# If you use gdm3, uncomment this line to allow Xauth to work
+#/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0
+# For PulseAudio and other desktop-related things
+/var/lib/dbus /var/lib/dbus none rw,bind 0 0
+
+# It may be desirable to have access to /run, especially if you wish
+# to run additional services in the chroot. However, note that this
+# may potentially cause undesirable behaviour on upgrades, such as
+# killing services on the host.
+#/run /run none rw,bind 0 0
+#/run/lock /run/lock none rw,bind 0 0
+#/dev/shm /dev/shm none rw,bind 0 0
+#/run/shm /run/shm none rw,bind 0 0
diff --git a/etc/schroot/slxdesktop.ITZkS/nssdatabases b/etc/schroot/slxdesktop.ITZkS/nssdatabases
new file mode 100644
index 0000000..722a451
--- /dev/null
+++ b/etc/schroot/slxdesktop.ITZkS/nssdatabases
@@ -0,0 +1,11 @@
+# System databases to copy into the chroot from the host system.
+#
+# <database name>
+passwd
+shadow
+group
+gshadow
+services
+protocols
+networks
+hosts