Fix hard coded 22.02 in the kickstart setup

The version changed to 22.06
The code will now do a wildcard copy.
Note: this copy may be revisited in the future

Test Plan:
 Build / Boot on Debian (vbox)

Story: 2009754
Task: 45226
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I1de357e77ee535d14da4fca857818faf8a841803
This commit is contained in:
Al Bailey 2022-04-29 19:06:56 +00:00
parent 011af73b11
commit 214f3ae805
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ iso-post-script: |
ENDOF
# 1.3 Kickstart from image rootfs (provided by package platform-kickstarts)
if [ -e $IMAGE_ROOTFS/var/www/pages/feed/rel-22.02/kickstart.cfg ]; then
cp $IMAGE_ROOTFS/var/www/pages/feed/rel-22.02/kickstart.cfg kickstart/
if [ -e $IMAGE_ROOTFS/var/www/pages/feed/rel-*/kickstart.cfg ]; then
cp $IMAGE_ROOTFS/var/www/pages/feed/rel-*/kickstart.cfg kickstart/
fi
# 2. PXE