summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-07 14:49:42 -0600
committerZach van Rijn <me@zv.io>2022-12-07 14:49:42 -0600
commit00894b28821d7739e6988fd7fe38e5930088a2a2 (patch)
tree2c034b99638fb8d8c6df0747f86fcdcc060031a9 /scripts
parent324ceed0e3026ad280841fe07e2e75461dcdf1dd (diff)
downloadpackages-00894b28821d7739e6988fd7fe38e5930088a2a2.tar.gz
packages-00894b28821d7739e6988fd7fe38e5930088a2a2.tar.bz2
packages-00894b28821d7739e6988fd7fe38e5930088a2a2.tar.xz
packages-00894b28821d7739e6988fd7fe38e5930088a2a2.zip
Miscellaneous TODO items for rootfs prep.
Diffstat (limited to 'scripts')
-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