[poky] Bad patch

Gary Thomas gary at mlbassoc.com
Tue Jul 12 09:45:50 PDT 2011


The change applied in the Poky/Yocto tree as f8bf4e2b16f5b36187a966f5bc9121033f038e90
has a shell syntax error.  In particular, look at these lines:

@@ -179,8 +185,18 @@ kernel_do_configure() {
                 cp "${WORKDIR}/defconfig" "${S}/.config"
         fi
          yes '' | oe_runmake oldconfig
+
+       if [ ! -z "${INITRAMFS_IMAGE}" ]; then
+               for img in cpio.gz cpio.lzo cpio.lzma cpio.xz; do
+               if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img"
+                       cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This line seems to have been broken (no closing quote, etc)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list