summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/profile.sh8
-rw-r--r--lib/profiles/proteanos.sh18
2 files changed, 26 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index 3e68ff4..a8beedd 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -114,3 +114,11 @@ profile_include_pkg()
"prof_${profile}_include_pkg" "${name}" "${value}"
}
+
+profile_get_fstab()
+{
+ local arch="${1}"
+ local plat="${2}"
+
+ "prof_${profile}_get_fstab" "${arch}" "${plat}"
+}
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
+}