Files

18 lines
553 B
Plaintext

#TODO clean this mess up
ROOT:rpi = "root=/dev/mmcblk0p2"
ROOT:arm = "root=/dev/mmcblk0p2"
inherit deploy
addtask do_deploy after do_install before do_build
do_deploy() {
}
do_deploy:aarch64() {
install -m 644 ${S}/grub-bootconf ${DEPLOY_DIR_IMAGE}/grub.cfg
}
do_deploy:rpi() {
install -m 644 ${S}/grub-bootconf ${DEPLOY_DIR_IMAGE}/grub.cfg
}
#not sure why this is necessary as a result of the above
RPROVIDES:${PN} += "virtual-grub-bootconf"
PROVIDES:${PN} += "virtual-grub-bootconf"
#IMAGE_BOOT_FILES:rpi:append = "${EFI_FILES_PATH}/grub.cfg"