summaryrefslogtreecommitdiffstats
path: root/lib/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile.sh')
-rw-r--r--lib/profile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index b37b6f7..d3c08ec 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -136,3 +136,12 @@ profile_configure_system_foreign()
"prof_${profile}_configure_system_foreign" "${root}"
}
+
+# TODO: /etc/os-release should be provided by base-files.
+profile_get_os_release()
+{
+ local arch="${1}"
+ local plat="${2}"
+
+ "prof_${profile}_get_os_release" "${arch}" "${plat}"
+}