diff options
author | 2021-04-14 16:24:54 -0300 | |
---|---|---|
committer | 2021-04-14 16:54:31 -0300 | |
commit | 258063936a4256a40ba55bc2305c9989ef09598e (patch) | |
tree | c41735f577246fbaf61f4a1ba7e294e9f518f7af | |
parent | 0f027054615fca5a624233ae8ddc13ab63d4866f (diff) | |
download | meta-freescale-258063936a4256a40ba55bc2305c9989ef09598e.tar.gz meta-freescale-258063936a4256a40ba55bc2305c9989ef09598e.tar.bz2 meta-freescale-258063936a4256a40ba55bc2305c9989ef09598e.zip |
weston-init: Do not exit with error if uncomment function fail
Show a warning instead of raising an error when uncomment function can't
found the text. This allows using a custom weston.ini file in bbappend.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
-rw-r--r-- | recipes-graphics/wayland/weston-init.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 22ffb7ff..66e148c1 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -41,7 +41,7 @@ INI_UNCOMMENT_ASSIGNMENTS_append_mx8mq = " \ uncomment() { if ! grep -q "^#$1" $2 && ! grep -q "^$1" $2; then - bbfatal "Commented setting '#$1' not found in file $2" + bbwarn "Commented setting '#$1' not found in file $2" fi sed -i -e 's,^#'"$1"','"$1"',g' $2 } |