diff options
-rw-r--r-- | recipes-kernel/linux/linux-at91_4.9.87.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb index 05cef2a..24f1812 100644 --- a/recipes-kernel/linux/linux-at91_4.9.87.bb +++ b/recipes-kernel/linux/linux-at91_4.9.87.bb @@ -18,7 +18,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base="" FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" KERNEL_EXTRA_ARGS ="LOADADDR=0x20008000" -PR = "r11" +PR = "r12" KERNEL_VERSION = "${PV}" KERNEL_REVISION = "${PR}" EXTRAVERSION = "" @@ -124,10 +124,12 @@ pkg_preinst_kernel-image-uimage() { ls /boot || true ls -l /boot | true rm -rf /boot - ln -sf /var/volatile/boot /boot 2>/dev/null || true + mkdir /boot + mount -o bind /var/volatile/boot /boot } pkg_prerm_kernel-image-uimage() { + umount -lf /boot || true rm -rf /var/volatile/boot || true rm -rf /boot || true } |