diff options
Diffstat (limited to 'classes/rmc-systemd-boot.bbclass')
-rw-r--r-- | classes/rmc-systemd-boot.bbclass | 12 |
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 | |||
4 | IMAGE_INSTALL_append = " rmc" | ||
5 | |||
6 | inherit systemd-boot | ||
7 | |||
8 | do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy" | ||
9 | |||
10 | efi_populate_append() { | ||
11 | install -m 0400 ${DEPLOY_DIR_IMAGE}/rmc.db ${DEST}/rmc.db | ||
12 | } | ||