Commit 1bcf5781 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

+comment

parent 8fc7ba23
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -184,7 +184,10 @@ kernel_do_compile_prepend() {
	#    reuse an old one and this will save a lot of time (around 2-3x times quicker)

	if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ] ; then
		# if it was built at some point - just bundle whatever is there

		# - if it was built at some point - just bundle whatever is there
		# - only check for *.cpio.gz - if any other formats then add here

		if [ ! -f ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.gz ] ; then
			echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found"
			echo "Unfortunately we will have to rebuild it and bundle in the do_bundle_initramfs task"