summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bootstrap.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index ce81f481b..32302bfab 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -538,6 +538,26 @@ ${MTOOLS}/sys/emus/bin/proot \
#---------------------------------------------------------------
+# finalize pre-adelie rootfs
+
+(
+ cd "${BASE}"/mcmtools-${TARGET}/sys;
+
+ # overwrite leftovers from mcmtools bootstrap
+ cat > root/.bashrc <<EOF
+PATH="${DEF_PATH}";
+CURL_CA_BUNDLE=/cacert.pem;
+EOF
+ mkdir dev proc sys tmp; # will require proper mounting
+ cp /etc/resolv.conf etc;
+ # need to create the /tmp/tmp.whtever dir as symlink to /
+
+ # handle git backend issue
+ # git config --global http.sslCAInfo ...
+)
+
+
+#---------------------------------------------------------------
# system repository
# TODO