Home
last modified time | relevance | path

Searched hist:"6 b62f1ecb8b4cc53828eaad1451ff776e98f5cda" (Results 1 – 1 of 1) sorted by relevance

/openbmc/openbmc/meta-phosphor/recipes-phosphor/settings/
H A Dphosphor-settings-defaults-native.bb6b62f1ecb8b4cc53828eaad1451ff776e98f5cda Tue Aug 23 10:04:46 CDT 2022 Patrick Williams <patrick@stwcx.xyz> phosphor-settings-defaults: fix silent failures in install

If a file is missing from SETTINGS_HOST_TEMPLATES, the
previous `do_install` would silently fail because bash
by default does not use the `pipefail` option. Avoid the pipe
operation so failures are more obvious:

```
| sed: can't read restrictionmode-host-settings.override.yml: No such file or directory
| WARNING: .../lf-build-bletchley/tmp/work/x86_64-linux/phosphor-settings-defaults-native/1.0-r1/temp/run.do_install.800503:152 exit 2 from 'sed "s/{}/${i}/g" ${f} >> ${DEST}/defaults.yaml'
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If35ca6cbf1c1793229432cb680e6fc0148f721a2