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

+comment

parent 8fc7ba23
...@@ -184,7 +184,10 @@ kernel_do_compile_prepend() { ...@@ -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) # 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 [ "$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 if [ ! -f ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.gz ] ; then
echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found" echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found"
echo "Unfortunately we will have to rebuild it and bundle in the do_bundle_initramfs task" echo "Unfortunately we will have to rebuild it and bundle in the do_bundle_initramfs task"
......
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