Skip to content

Commit

Permalink
rauc-conf: harmonize installation
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Ölmann <[email protected]>
  • Loading branch information
OnkelUlla authored and ejoerns committed Apr 17, 2024
1 parent 4904f9f commit 1242c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-core/rauc/rauc-conf.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ do_install () {
bbwarn "Please overwrite example system.conf with a project specific one!"
fi
install -d ${D}${sysconfdir}/rauc
install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/rauc/system.conf
install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/rauc/

# Warn if CA file was not overwritten
if ! grep -q "^[^#]" ${WORKDIR}/${RAUC_KEYRING_FILE}; then
bbwarn "Please overwrite example ca.cert.pem with a project specific one, or set the RAUC_KEYRING_FILE variable with your file!"
fi
install -d ${D}${sysconfdir}/rauc/
install -d ${D}${sysconfdir}/rauc
install -m 0644 ${WORKDIR}/${RAUC_KEYRING_FILE} ${D}${sysconfdir}/rauc/
}

0 comments on commit 1242c33

Please sign in to comment.