15 lines
434 B
Plaintext
15 lines
434 B
Plaintext
do_install[depends] += " netmodule-fitimage:do_deploy"
|
|
|
|
do_install() {
|
|
kerneldir=${D}${KERNEL_BUILD_ROOT}${KERNEL_VERSION}
|
|
install -d $kerneldir
|
|
|
|
cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} $kerneldir/vmlinuz
|
|
|
|
if [ -n "${INITRAMFS_IMAGE}" ]; then
|
|
# this is a hack for ostree not to override init= in kernel cmdline -
|
|
# make it think that the initramfs is present (while it is in FIT image)
|
|
touch $kerneldir/initramfs.img
|
|
fi
|
|
}
|