summaryrefslogtreecommitdiffstats
path: root/lib/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile.sh')
-rw-r--r--lib/profile.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index caa1160..5ec2309 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -124,6 +124,37 @@ 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_bind_mount()
+{
+ local arch="${1}"
+ local plat="${2}"
+ local olddir="${3}"
+ local newdir="${4}"
+
+ "prof_${profile}_bind_mount" "${arch}" "${plat}" \
+ "${olddir}" "${newdir}"
+}
+
+profile_bind_umount()
+{
+ local arch="${1}"
+ local plat="${2}"
+ local olddir="${3}"
+ local newdir="${4}"
+
+ "prof_${profile}_bind_umount" "${arch}" "${plat}" \
+ "${olddir}" "${newdir}"
+}
+
profile_configure_system_native()
{
local root="${1}"