From 8dda55891fe112bb4484ccfa3f281d742ccc37f6 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 31 Aug 2020 13:57:30 -0500 Subject: Change PC16/LED-CD on MTCAP to Multi-Drive (shared with modem) --- recipes-kernel/linux/linux-at91_4.9.87.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'recipes-kernel/linux') 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 } -- cgit v1.2.3