summaryrefslogtreecommitdiffstats
path: root/classes/rmc-systemd-boot.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/rmc-systemd-boot.bbclass')
-rw-r--r--classes/rmc-systemd-boot.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/rmc-systemd-boot.bbclass b/classes/rmc-systemd-boot.bbclass
new file mode 100644
index 00000000..ad2cf106
--- /dev/null
+++ b/classes/rmc-systemd-boot.bbclass
@@ -0,0 +1,12 @@
1# rmc-systemd-boot bbclass
2# Deploy central RMC database file to ESP
3
4IMAGE_INSTALL_append = " rmc"
5
6inherit systemd-boot
7
8do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy"
9
10efi_populate_append() {
11 install -m 0400 ${DEPLOY_DIR_IMAGE}/rmc.db ${DEST}/rmc.db
12}