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.
laforge/owhw2
Holger Hans Peter Freyther 7 years ago
parent 2ed575b506
commit bce73d1dc7

@ -29,7 +29,7 @@ S = "${WORKDIR}"
do_fetch() {
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"
}

Loading…
Cancel
Save