summaryrefslogtreecommitdiffstats
path: root/lib/profiles
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-21 09:36:20 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-21 09:36:20 (EDT)
commite5a0731690b77f1b2863b04095f69ee6d0913fe7 (patch)
tree2e80bac6d1ab6b16ab6244daf98a047a776e28e2 /lib/profiles
parent54967730c526da075d723354a5de9bc54b9c21f1 (diff)
profile_get_fstab(): New function
Diffstat (limited to 'lib/profiles')
-rw-r--r--lib/profiles/proteanos.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh
index b0832fb..4f52611 100644
--- a/lib/profiles/proteanos.sh
+++ b/lib/profiles/proteanos.sh
@@ -27,6 +27,12 @@ i686-linux-glibc ao751h
i686-linux-glibc dimension2400
i686-linux-glibc x60
'
+prof_proteanos_fstab_linux="\
+proc /proc proc defaults
+sys /sys sysfs defaults
+/dev /dev none bind
+devpts /dev/pts devpts noexec,nosuid,gid=5,mode=0620
+"
prof_proteanos_normalize_suite()
{
@@ -143,3 +149,15 @@ prof_proteanos_include_pkg()
return 1
}
+
+prof_proteanos_get_fstab()
+{
+ local arch="${1}"
+ local plat="${2}"
+
+ case "${arch}" in
+ *-linux-*)
+ printf '%s\n' "${prof_proteanos_fstab_linux}"
+ ;;
+ esac
+}