--- /dev/null
+# 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 linprocfs defaults 0 0
+dev /dev devfs rw,bind 0 0
+dev /dev/fd fdescfs rw,bind 0 0
+/home /home nullfs rw 0 0
+/tmp /tmp nullfs rw 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 nullfs rw 0 0
+#/run/lock /run/lock nullfs rw 0 0
file { '/etc/schroot/dsa/config':
source => 'puppet:///modules/porterbox/schroot-dsa/config',
}
- file { '/etc/schroot/dsa/fstab':
- source => 'puppet:///modules/porterbox/schroot-dsa/fstab',
+ if ! ($::debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386']) {
+ file { '/etc/schroot/dsa/fstab':
+ source => 'puppet:///modules/porterbox/schroot-dsa/fstab',
+ }
+ } else {
+ file { '/etc/schroot/dsa/fstab':
+ source => 'puppet:///modules/porterbox/schroot-dsa/fstab-freebsd',
+ }
}
file { '/etc/schroot/dsa/default-mirror':
content => template('porterbox/default-mirror.erb'),