summaryrefslogtreecommitdiffstats
path: root/bootstrap-stage1-install.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-02 06:47:10 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-02 06:47:10 (EDT)
commitf4b8f6e0c0161a13678bc73e4028d47960a4dad6 (patch)
treeeac96e581d665ff320baef6f8590f31114676978 /bootstrap-stage1-install.sh
parent9c0e2bb18cea375e2a77829dd2f12cc92f7db6ad (diff)
bootstrap-stage1-install.sh: Make arch/plat files.
Diffstat (limited to 'bootstrap-stage1-install.sh')
-rwxr-xr-xbootstrap-stage1-install.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh
index d7449d8..c85e915 100755
--- a/bootstrap-stage1-install.sh
+++ b/bootstrap-stage1-install.sh
@@ -37,6 +37,7 @@ main()
install_packages
install_elf_interp_link
+ install_archplat_sysconf
}
log()
@@ -86,4 +87,18 @@ install_elf_interp_link()
cd ..
}
+install_archplat_sysconf()
+{
+ # TODO: The config-opkg package should provide these, but it isn't built
+ # and installed here yet.
+
+ cd root
+
+ mkdir -p etc
+ printf '%s\n' "${ARCH}" >etc/proteanos_arch
+ printf '%s\n' "${PLAT}" >etc/proteanos_plat
+
+ cd ..
+}
+
main "${@}"