From e5a0731690b77f1b2863b04095f69ee6d0913fe7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 21 Aug 2014 09:36:20 -0400 Subject: profile_get_fstab(): New function --- (limited to 'lib/profiles') 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 +} -- cgit v0.9.1