diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-08-01 13:25:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 11:36:31 +0100 |
commit | 96eb506b5b213a2e15d74c1bbf940f563a3b7869 (patch) | |
tree | f5c2ce8ad354cb9821382499f0e84762ea750899 /meta/recipes-extended/libmnl | |
parent | b6fbb3f3d4d6367b0fd7921078f67057551c7ede (diff) | |
download | poky-96eb506b5b213a2e15d74c1bbf940f563a3b7869.tar.gz |
base-files: fix handling of resize
The current handling of resize is incorrect. Using `resize > /dev/null
2>&1 && resize > /dev/null' will cause the second resize command to not
execute because 'resize > /dev/null 2>&1' will fail for resize utility
from busybox.
What we really should do is just to check whether ${bindir}/resize
is executable and execute it if so. Using '-x' is sufficient.
(From OE-Core rev: 41688279cba3a5afc4fdc65fd245b9bb6ada695e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libmnl')
0 files changed, 0 insertions, 0 deletions