summaryrefslogtreecommitdiffstats
path: root/core/rootfs
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-08 14:05:16 +0100
committerSimon Rettberg2020-12-08 14:05:16 +0100
commitc36c60eca7c0c61bce1574fcfb8bde3c2e67d445 (patch)
tree21f2ad8ab3c05213c8490d76d339b466081eb600 /core/rootfs
parent[kernel-vanilla] Fix hardcoded aufs4 (diff)
downloadmltk-c36c60eca7c0c61bce1574fcfb8bde3c2e67d445.tar.gz
mltk-c36c60eca7c0c61bce1574fcfb8bde3c2e67d445.tar.xz
mltk-c36c60eca7c0c61bce1574fcfb8bde3c2e67d445.zip
[rootfs-stage31] Move SSL hook to pre-switchroot
After downloading config.tgz, the stage32 / stage4 isn't necessarily visible in $FUTURE_ROOT yet, so move our certificate juggle to a later point in time.
Diffstat (limited to 'core/rootfs')
-rwxr-xr-xcore/rootfs/rootfs-stage31/data/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init
index fa51cc5c..92790534 100755
--- a/core/rootfs/rootfs-stage31/data/init
+++ b/core/rootfs/rootfs-stage31/data/init
@@ -207,6 +207,8 @@ busybox mount -o move /dev "${FUTURE_ROOT}/dev"
cp /opt/openslx/bin/splashtool "${FUTURE_ROOT}/opt/openslx/bin/"
cp -r /opt/openslx/icons "${FUTURE_ROOT}/opt/openslx/"
+run_hooks pre-switchroot
+
echo "Waiting for async processes..."
wait