From e32f34f65ba46888c6cd8cc0a22c6b87040e8cda Mon Sep 17 00:00:00 2001 From: Vicentiu Galanopulo Date: Wed, 30 Oct 2019 14:42:52 +0100 Subject: [PATCH] u-boot_2019.04.bbappend: Fix applying of patches The eMMC patch has been removed because it applies from meta-sunxi. The resin-kconfig-integration patch has been removed and a re-worked version of it has been applied. Changelog-entry: U-boot patches fixup Signed-off-by: Vicentiu Galanopulo --- .../recipes-bsp/u-boot/u-boot_2019.04.bbappend | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2019.04.bbappend b/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2019.04.bbappend index d675858..59903d7 100644 --- a/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2019.04.bbappend +++ b/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2019.04.bbappend @@ -3,17 +3,15 @@ inherit resin-u-boot pythonnative FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -#remove the resin-specific-env-integration-kconfig.patch patch from meta-resin -#and the 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch patch from -#meta-sunxi because these fail to apply -SRC_URI_remove = "file://0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch \ - file://resin-specific-env-integration-kconfig.patch" +# remove the resin-specific-env-integration-kconfig.patch patch from meta-resin +# because it fails to apply +SRC_URI_remove = "file://resin-specific-env-integration-kconfig.patch" -#Add updated patches for 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch -#and for 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch -SRC_URI += "file://0001-Add-Resin-specific-boot-command.patch \ - file://resin-specific-env-integration-kconfig.patch \ - " +# Add re-worked patch which was previously removed +SRC_URI_append = " \ + file://0001-Add-Resin-specific-boot-command.patch \ + file://resin-specific-env-integration-kconfig_reworked.patch \ + " do_deploy_append() { install -m 0644 ${WORKDIR}/armbianEnv.txt ${DEPLOYDIR}/armbianEnv.txt