brl
5789f1b122
git-subtree-dir: meta-intel git-subtree-split: c811c0b33862a2f911fe2afdd2054958b1f28e40
18 lines
370 B
Plaintext
18 lines
370 B
Plaintext
# rmc-boot bbclass
|
|
# Deploy central RMC database file to ESP
|
|
|
|
IMAGE_INSTALL_append = " rmc"
|
|
RMC_BOOTLOADER ?= "systemd-boot"
|
|
|
|
inherit ${RMC_BOOTLOADER}
|
|
|
|
do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy"
|
|
|
|
efi_populate_append() {
|
|
if [ -f ${DEPLOY_DIR_IMAGE}/rmc.db ]; then
|
|
install -m 0400 ${DEPLOY_DIR_IMAGE}/rmc.db ${DEST}/rmc.db
|
|
else
|
|
rm -f ${DEST}/rmc.db
|
|
fi
|
|
}
|