aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend')
-rw-r--r--meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend b/meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
new file mode 100644
index 00000000..cb5a912b
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
@@ -0,0 +1,7 @@
+# Update-alternatives is not able to find stdout when using JTAG boot mode on
+# our devices, exits ungracefully without performing the required work (symbolic
+# linking), pass kmsg to it as output to achieve proper behavior.
+
+do_install:append(){
+ sed -i "s/sh -c \$i \$append_log/sh -c \$i > \/dev\/kmsg/" ${D}${sbindir}/run-postinsts
+}