Skip to content

Commit 34fb6b4

Browse files
committed
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 <[email protected]> Tested-by: Anish Swaminathan <[email protected]>
1 parent c4e496a commit 34fb6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/mk-install-iso.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ rm -rf $EFI_FOLDER
8686

8787
cp $SCRIPT_PATH/sample_ks.cfg ${WORKINGDIR}/isolinux/
8888

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
9090

9191
rm -f ${BUILDROOT}/installer/*.pyc
9292
rm -rf ${BUILDROOT}/installer/BUILD_DVD

0 commit comments

Comments
 (0)