X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fschroot%2Ftemplates%2Fschroot-buildd%2Ffstab.erb;h=2ff619834ff1b10b98fab12f82e55d7383e9351a;hb=6632ba2a54e021d9e09089197f392d5e6e279d02;hp=5b000d1a296f1d79c37d2f641fdf566bf6874bf5;hpb=cd9efe9ed012d891bdc6ff02b59b88f1f3eb832e;p=mirror%2Fdsa-puppet.git diff --git a/modules/schroot/templates/schroot-buildd/fstab.erb b/modules/schroot/templates/schroot-buildd/fstab.erb index 5b000d1a2..2ff619834 100644 --- a/modules/schroot/templates/schroot-buildd/fstab.erb +++ b/modules/schroot/templates/schroot-buildd/fstab.erb @@ -4,19 +4,12 @@ # # -<% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%> -# kFreeBSD version -proc /proc linprocfs defaults 0 0 -dev /dev devfs rw,bind 0 0 -dev /dev/fd fdescfs rw,bind 0 0 - -/srv/build-trees /build nullfs rw 0 0 -<% else -%> # Linux version /proc /proc none rw,bind 0 0 /sys /sys none rw,bind 0 0 /dev/pts /dev/pts none rw,bind 0 0 tmpfs-shm /dev/shm tmpfs defaults,size=64m 0 0 +<%- if has_variable?("has_srv_build_trees") && @has_srv_build_trees -%> /srv/build-trees /build none rw,bind 0 0 <% end %>