Kickstart updates to resolve prepatching issues

The prepatching feature changed how kickstarts are delivered. Where
before, they were generated as part of build-iso and copied during
installation, they are now delivered in packages. However, when the
controller kickstart mirrors the feed directory from the active
controller after installation, it may overwrite these installed files.
This update changes the wget command options to protect against this.

In addition, testing with an RT kernel patch showed Anaconda was also
installing the mlnx-ofa_kernel-rt-modules package from the patching
repo on a standard note, as it attempts to resolve a packaging
requirement. This update also adds explicit exclusions to the package
lists in the standard and lowlatency kickstarts to avoid installing
rt modules on the standard nodes, and vice versa.

Change-Id: I56b22fb0846db05a96004184c1060c05566d5363
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2018-03-23 09:52:30 -04:00
parent c90cddb408
commit 7c756f7ff3
4 changed files with 27 additions and 2 deletions

View File

@ -22,7 +22,7 @@ anaconda_logdir=/var/log/anaconda
mkdir -p $anaconda_logdir mkdir -p $anaconda_logdir
echo "Mirroring software repository (may take several minutes)..." >/dev/console echo "Mirroring software repository (may take several minutes)..." >/dev/console
wget --mirror --no-parent --no-host-directories --reject 'index.html*' --reject '*.log' $feed_url/ -o $anaconda_logdir/wget-feed-mirror.log \ wget --recursive --no-parent --no-host-directories --no-clobber --reject 'index.html*' --reject '*.log' $feed_url/ -o $anaconda_logdir/wget-feed-mirror.log \
|| report_post_failure_with_logfile $anaconda_logdir/wget-feed-mirror.log || report_post_failure_with_logfile $anaconda_logdir/wget-feed-mirror.log
# Sync patching repository # Sync patching repository

View File

@ -1,6 +1,20 @@
%packages %packages
@core @core
@base @base
-kernel-module-igb-uio-rt
-kernel-module-wrs-avp-rt
-kernel-rt
-kernel-rt-kvm
-kernel-rt-tools
-kernel-rt-tools-libs
-kmod-drbd-rt
-kmod-e1000e-rt
-kmod-i40e-rt
-kmod-ixgbe-rt
-kmod-tpm-rt
-mlnx-ofa_kernel
-mlnx-ofa_kernel-rt-modules
-qat16-rt
xxxPACKAGE_LISTxxx xxxPACKAGE_LISTxxx
%end %end

View File

@ -1,8 +1,19 @@
%packages %packages
@core @core
@base @base
-kernel-module-igb-uio
-kernel-module-wrs-avp
-kernel -kernel
-kernel-tools -kernel-tools
-kernel-tools-libs
-kmod-drbd
-kmod-e1000e
-kmod-i40e
-kmod-ixgbe
-kmod-tpm
-mlnx-ofa_kernel
-mlnx-ofa_kernel-modules
-qat16
xxxPACKAGE_LISTxxx xxxPACKAGE_LISTxxx
%end %end

View File

@ -1,3 +1,3 @@
SRC_DIR="${CGCS_BASE}/mwa-beas/bsp-files" SRC_DIR="${CGCS_BASE}/mwa-beas/bsp-files"
COPY_LIST="$PKG_BASE/LICENSE" COPY_LIST="$PKG_BASE/LICENSE"
TIS_PATCH_VER=0 TIS_PATCH_VER=1