image-rauc-ubi: Deal with different kernel types

I might end up using a zImage and then it should be used. Use the
variable exported by the ${MACHINE}.conf to work with it.
This commit is contained in:
Holger Hans Peter Freyther 2016-06-02 18:08:38 +02:00
parent 2ed575b506
commit bce73d1dc7
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ S = "${WORKDIR}"
do_fetch() { do_fetch() {
mkdir -p "${S}/fs" mkdir -p "${S}/fs"
cp "${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin" "${S}/fs/kernel" cp "${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin" "${S}/fs/kernel"
cp "${DEPLOY_DIR_IMAGE}/image-rauc-rescue-initramfs-${MACHINE}.cpio.xz" "${S}/fs/initramfs" cp "${DEPLOY_DIR_IMAGE}/image-rauc-rescue-initramfs-${MACHINE}.cpio.xz" "${S}/fs/initramfs"
} }