[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug cp linux image



into binary linux image

before:


# Installing linux-image
if [ "${LB_LINUX_PACKAGES}" != "none" ]
then
cp chroot/boot/"${LINUX}"-* "${DESTDIR}" -----< don't exist linux-image into chroot/boot
      cp chroot/boot/initrd.img-* "${DESTDIR}"
fi

after:

# Installing linux-image
if [ "${LB_LINUX_PACKAGES}" != "none" ]
then
    if [ -e chroot/chroot/boot/ ];then
      cp chroot/chroot/boot/"${LINUX}"-* "${DESTDIR}" ---> work
      cp chroot/chroot/boot/initrd.img-* "${DESTDIR}"
    else
      cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
      cp chroot/boot/initrd.img-* "${DESTDIR}"
    fi
fi



Reply to: