Browse code

change the search path for rpms during iso creation

Change-Id: I32f4303014af7e47f0044abd4bbb4028b39c03ac
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6631
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

suezzelur authored on 2019/02/01 09:05:12
Showing 1 changed files
... ...
@@ -86,7 +86,7 @@ rm -rf $EFI_FOLDER
86 86
 
87 87
 cp $SCRIPT_PATH/sample_ks.cfg ${WORKINGDIR}/isolinux/
88 88
 
89
-find ${BUILDROOT} -name linux-[0-9]*.rpm | head -1 | xargs rpm2cpio | cpio -iv --to-stdout ./boot/vmlinuz* > ${WORKINGDIR}/isolinux/vmlinuz
89
+find ${RPMS_PATH} -name linux-[0-9]*.rpm | head -1 | xargs rpm2cpio | cpio -iv --to-stdout ./boot/vmlinuz* > ${WORKINGDIR}/isolinux/vmlinuz
90 90
 
91 91
 rm -f ${BUILDROOT}/installer/*.pyc
92 92
 rm -rf ${BUILDROOT}/installer/BUILD_DVD