[poky] Bad patch

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 13 04:32:20 PDT 2011


On Tue, 2011-07-12 at 10:45 -0600, Gary Thomas wrote:
> 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)

Thanks, this should be fixed now...

Cheers,

Richard





More information about the poky mailing list