setup-ubl: Script to setup long-term UBL license

Intended to be run during image creation.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ibd20a2f7f87fc4b026b0d22ec0e53277b853e802
diff --git a/setup-ubl b/setup-ubl
new file mode 100755
index 0000000..760b60f
--- /dev/null
+++ b/setup-ubl
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -ex
+
+ARMLM=$(find /opt/model/ -name armlm)
+$ARMLM import -file /root/swskt-linaro-root-20240523-165d.lic
+$ARMLM inspect