summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/profile.sh9
-rw-r--r--lib/profile/proteanos.sh9
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index caa1160..d624ed8 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -124,6 +124,15 @@ profile_get_fstab()
"prof_${profile}_get_fstab" "${arch}" "${plat}"
}
+profile_file_systems_mounted()
+{
+ local root="${1}"
+ local arch="${1}"
+ local plat="${2}"
+
+ "prof_${profile}_file_systems_mounted" "${root}" "${arch}" "${plat}"
+}
+
profile_configure_system_native()
{
local root="${1}"
diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh
index 2e0739c..3a3926f 100644
--- a/lib/profile/proteanos.sh
+++ b/lib/profile/proteanos.sh
@@ -175,6 +175,15 @@ prof_proteanos_get_fstab()
esac
}
+prof_proteanos_file_systems_mounted()
+{
+ local root="${1}"
+ local arch="${2}"
+ local plat="${3}"
+
+ [ -e "${root}/dev/null" ]
+}
+
prof_proteanos_configure_system_native()
{
local root="${1}"