diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-10-04 21:27:32 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-10-04 21:27:32 (EDT) |
commit | 04f5e3222ec7dff74d63638dfacdcb5c9d7a8201 (patch) | |
tree | 955dd80a2fa644d11ff3118a5bf8bf017271767e /lib | |
parent | d7c3d35101b3b0a63f492166e9c7463c3891c35c (diff) |
profile_file_systems_mounted(): New function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profile.sh | 9 | ||||
-rw-r--r-- | lib/profile/proteanos.sh | 9 |
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}" |