From 5eeac85f6151d2b88113e1c63a0c4447870e33e2 Mon Sep 17 00:00:00 2001 From: Naiming Shen Date: Wed, 14 Aug 2024 10:20:15 -0700 Subject: [PATCH] Fix an issue in collect-info.sh, need to mkdir /persist/eve-info Last change to collect-info missed to create the /persist/eve-info directory which is required. Signed-off-by: Naiming Shen --- pkg/debug/scripts/collect-info.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/debug/scripts/collect-info.sh b/pkg/debug/scripts/collect-info.sh index 1dad9f1080..c2e1ed18d0 100755 --- a/pkg/debug/scripts/collect-info.sh +++ b/pkg/debug/scripts/collect-info.sh @@ -6,7 +6,7 @@ # Script version, don't forget to bump up once something is changed -VERSION=28 +VERSION=29 # Add required packages here, it will be passed to "apk add". # Once something added here don't forget to add the same package # to the Dockerfile ('ENV PKGS' line) of the debug container, @@ -173,6 +173,7 @@ echo "- basic setup" TMP_DIR=$(mktemp -d -t -p /persist/tmp/) LOG_TMP_DIR="$TMP_DIR/dayslogs" DIR="$TMP_DIR/$INFO_DIR_SUFFIX" +mkdir -p "/persist/eve-info" mkdir -p "$DIR" mkdir -p "$DIR/network"