From 04f5e3222ec7dff74d63638dfacdcb5c9d7a8201 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 04 Oct 2014 21:27:32 -0400 Subject: profile_file_systems_mounted(): New function --- (limited to 'lib') 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}" -- cgit v0.9.1