summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-08-31 13:57:30 -0500
committerJohn Klug <john.klug@multitech.com>2020-08-31 13:57:30 -0500
commit8dda55891fe112bb4484ccfa3f281d742ccc37f6 (patch)
treec78dae7c6653be0dcb16ab254d4959a55820ccd7
parent552722020920997edb7cc65405a177e9dfa2c2f3 (diff)
downloadmeta-multitech-atmel-8dda55891fe112bb4484ccfa3f281d742ccc37f6.tar.gz
meta-multitech-atmel-8dda55891fe112bb4484ccfa3f281d742ccc37f6.tar.bz2
meta-multitech-atmel-8dda55891fe112bb4484ccfa3f281d742ccc37f6.zip
Change PC16/LED-CD on MTCAP to Multi-Drive (shared with modem)
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb6
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
}