diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2015-09-08 17:45:57 +0200 |
---|---|---|
committer | Enrico Jorns <ejo@pengutronix.de> | 2016-01-22 09:31:43 +0100 |
commit | c84b227b4450f42b95b72cb980734a0dc5a8dcc0 (patch) | |
tree | ed8d304e91d89f8e5e68b9523cfaeb8b07a060f4 /recipes-core | |
parent | c20a61ed5bfdd040a760c09054ba782c3832e4f1 (diff) | |
download | meta-ptx-c84b227b4450f42b95b72cb980734a0dc5a8dcc0.tar.gz meta-ptx-c84b227b4450f42b95b72cb980734a0dc5a8dcc0.tar.xz |
rauc: At least print a log warning if system.conf is missing
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/rauc/rauc.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/rauc/rauc.inc b/recipes-core/rauc/rauc.inc index b4b6889..c8a0140 100644 --- a/recipes-core/rauc/rauc.inc +++ b/recipes-core/rauc/rauc.inc @@ -26,9 +26,11 @@ do_install_append () { # Create rauc default mountpoint install -d ${D}/mnt/rauc - # If a system.conf is provided in files, install it + # If a system.conf is provided in files, install it, otherwise warn if [ -f ${WORKDIR}/system.conf ]; then install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/rauc/system.conf + else + bbwarn "No system.conf provided" fi # CA file |