From 3b0fe091d8eacd5fe94e24c46fd211f60e7699e7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 8 Dec 2020 14:18:24 +0100 Subject: [init-bwlp] Fix path --- .../modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/init-bwlp') diff --git a/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates b/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates index 0b4e74bd..3a6eea8d 100644 --- a/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates +++ b/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates @@ -1,10 +1,10 @@ #!/bin/ash # $FUTURE_ROOT - root dir of final stage 4 (config.tgz extracted to here) -# $CONFIG - current path to /opt/openslx/config (changes to this end up in stage 4) # Set up SSL communication with server if [ -d "${FUTURE_ROOT}/opt/openslx/ssl" ] && ! rmdir "${FUTURE_ROOT}/opt/openslx/ssl"; then + CONFIG="${FUTURE_ROOT}/opt/openslx/config" # Copy certs and symlinks to CA path cp -a "${FUTURE_ROOT}"/opt/openslx/ssl/* "${FUTURE_ROOT}/etc/ssl/certs/" # Append to combined ca bundle -- cgit v1.2.3-55-g7522