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:
parent
2ed575b506
commit
bce73d1dc7
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue