summaryrefslogtreecommitdiff
path: root/recipes-support/rauc-hawkbit/rauc-hawkbit_%.bbappend
blob: 252c3e974b8a48c54d95dc01b1389a06bfee4d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI +=  "file://config.cfg"

do_patch_append() {
    bb.note("copying config.cfg from meta layer to source dir")
    import shutil
    src = d.getVar('WORKDIR') + "/config.cfg"
    dst = d.getVar('S') + "/rauc_hawkbit/config.cfg"
    shutil.copyfile(src, dst)
}