summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "${@}"