Commit e92be472 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

hide comments

parent 096ef926
......@@ -193,13 +193,12 @@ kernel_do_compile_prepend() {
if [ ! -f ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.gz ] ; then
echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found"
bbplain "${GREEN}ELPHEL NOTE: Missing initramfs from the previous build. Will have to run the second kernel compilation pass.${NC}"
echo "Unfortunately we will have to rebuild it and bundle in the do_bundle_initramfs task"
echo "This will take a ton of time... :("
# bbplain "${GREEN}ELPHEL NOTE: Missing initramfs from the previous build. Will have to run the second kernel compilation pass.${NC}"
echo "Will run the second pass for the kernel in the do_bundle_initramfs task"
else
echo "There's the old ${INITRAMFS_IMAGE}-${MACHINE}.cpio from a previous build"
echo "Let's happily bundle it and save a lot of time."
bbplain "${GREEN}ELPHEL NOTE: Using initramfs from the previous build - this saves time by skipping the second kernel compilation pass.${NC}"
echo "Let's happily bundle it."
#bbplain "${GREEN}ELPHEL NOTE: Using initramfs from the previous build - this saves time by skipping the second kernel compilation pass.${NC}"
copy_initramfs
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
# indicate to do_bundle_initramfs() task that initramfs was bundled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment