summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-07 14:49:42 -0600
committerZach van Rijn <me@zv.io>2024-08-10 06:09:07 +0000
commit02c19c9c6f7d54b6ee669a4313b14b748a39ae4e (patch)
tree78a4a57db1df8a8e242de88e19eef46e064b192b
parent1f46363893b2d422ed3748d3a6044ebb1f25ef67 (diff)
downloadpackages-02c19c9c6f7d54b6ee669a4313b14b748a39ae4e.tar.gz
packages-02c19c9c6f7d54b6ee669a4313b14b748a39ae4e.tar.bz2
packages-02c19c9c6f7d54b6ee669a4313b14b748a39ae4e.tar.xz
packages-02c19c9c6f7d54b6ee669a4313b14b748a39ae4e.zip
Miscellaneous TODO items for rootfs prep.
-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