I am not sure how to test the um use case in kernel in ISAR. Are there any specific targets in ISAR that I am missing?

Thanks,
Vijai Kumar K

On Tuesday, March 17, 2020 at 10:45:13 PM UTC+5:30, vijai kumar wrote:
Align with upstream debian linux-image package. Install the config and
System.map file to /boot directory. Skip installation for User Mode Linux.

Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
---
 .../linux/files/debian/isar/install.tmpl           | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
index 12d592d..4e1f850 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
@@ -37,6 +37,8 @@ do_install() {
     set -x
 
     install_image
+    install_config
+    install_map
     install_hooks
     install_dtbs
     install_kmods
@@ -69,6 +71,18 @@ install_image() {
     install_image_debug
 }
 
+install_config() {
+    if [ "${ARCH}" != "um" ]; then
+        cp ${O}/.config ${deb_img_dir}/$(dirname ${kimage_path})/config-${krel}
+    fi
+}
+
+install_map() {
+    if [ "${ARCH}" != "um" ]; then
+        cp ${O}/System.map ${deb_img_dir}/$(dirname ${kimage_path})/System.map-${krel}
+    fi
+}
+
 install_image_debug() {
     # Different tools want the image in different locations
     # perf
--
2.17.1