summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-17 20:57:12 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-17 20:57:12 (EDT)
commit74c117a73211dace5f69c706901acabf2df7dd56 (patch)
tree75fcb2eacfba7729442ee80df57e57f80dcabda5
parent13dd9be63d2339deb5a358d794e2f41962b38817 (diff)
profile_default_plat(): New function
-rw-r--r--lib/profile.sh5
-rw-r--r--lib/profiles/proteanos.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index 0cb2612..6cb8386 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -60,6 +60,11 @@ profile_detect_arch()
"prof_${profile}_detect_arch"
}
+profile_default_plat()
+{
+ "prof_${profile}_default_plat"
+}
+
# TODO: This should pass through to prof_${profile}_validate_archplat().
profile_validate_archplat()
{
diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh
index e2c0d07..8354e0c 100644
--- a/lib/profiles/proteanos.sh
+++ b/lib/profiles/proteanos.sh
@@ -63,6 +63,11 @@ prof_proteanos_detect_arch()
printf '%s\n' "${arch}"
}
+prof_proteanos_default_plat()
+{
+ printf 'dev\n'
+}
+
prof_proteanos_feeds()
{
local arch="${1}"