summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-17 20:53:31 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-17 20:53:31 (EDT)
commitd8bd815c6d9f1085a55c835746825d8c66ad5de7 (patch)
tree02ad3d786a174a00a317af57c6ab23a3f0dfa707
parent9c719846187e702fba022d602b5fe9a88ae5809a (diff)
Add TODO notes about arch and plat validation
-rw-r--r--lib/profile.sh1
-rw-r--r--lib/profiles/proteanos.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index aaeb317..0cb2612 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -60,6 +60,7 @@ profile_detect_arch()
"prof_${profile}_detect_arch"
}
+# TODO: This should pass through to prof_${profile}_validate_archplat().
profile_validate_archplat()
{
local arch="${1}"
diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh
index 2a72567..e2c0d07 100644
--- a/lib/profiles/proteanos.sh
+++ b/lib/profiles/proteanos.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# TODO: This should be replaced with a prof_proteanos_validate_archplat()
+# function that gets valid architectures and platforms from the package archive
+# (which pro-archman needs to list in the distribution).
prof_proteanos_archplats='
amd64-linux-glibc dev
i686-linux-glibc dev