From 6086b545fda580bcf23991f472e140814190020e Mon Sep 17 00:00:00 2001 From: Don Penney Date: Mon, 9 Apr 2018 10:55:15 -0400 Subject: [PATCH] Fix dir creation for downloading patches from pxeboot server When the pxeboot setup feature is used from a patched ISO, the patch repo is downloaded from the pxeboot server during installation. The kickstart was missing a change in working directory when mirroring the patch repo, leading to issues when installing the second controller. This update corrects this issue. Change-Id: I5926ee4f196adf3938b8934f57c15eadde83a5fb Signed-off-by: Don Penney --- bsp-files/kickstarts/post_pxeboot_controller.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp-files/kickstarts/post_pxeboot_controller.cfg b/bsp-files/kickstarts/post_pxeboot_controller.cfg index 918115af..69acb7f3 100644 --- a/bsp-files/kickstarts/post_pxeboot_controller.cfg +++ b/bsp-files/kickstarts/post_pxeboot_controller.cfg @@ -87,8 +87,10 @@ patches_url=xxxHTTP_URLxxx/patches wget -q --spider ${patches_url}/ if [ $? -eq 0 ]; then echo "Downloading patches..." >/dev/console + cd /www/pages mkdir -p updates/rel-xxxPLATFORM_RELEASExxx/Packages mkdir -p updates/rel-xxxPLATFORM_RELEASExxx/repodata + cd updates/rel-xxxPLATFORM_RELEASExxx declare -i patches_cut_dirs=$((cut_dirs+1)) wget --mirror --no-parent --no-host-directories --reject 'index.html*' --cut-dirs=$patches_cut_dirs $patches_url/Packages/ -o $anaconda_logdir/patches_rpmget.log \