diff options
author | Niko Mauno <niko.mauno@iki.fi> | 2018-04-14 09:54:56 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-18 18:48:20 +0100 |
commit | b1600ec8991dfbd3b73d209b9c620a171c5b13c4 (patch) | |
tree | 1ae38db898ff546527661fc0c1cd91f2cda1c278 /scripts/lib/devtool/build.py | |
parent | 11e45082ad00b9c172e59bf6b2a76dd613773f5a (diff) | |
download | openembedded-core-b1600ec8991dfbd3b73d209b9c620a171c5b13c4.tar.gz openembedded-core-b1600ec8991dfbd3b73d209b9c620a171c5b13c4.tar.bz2 openembedded-core-b1600ec8991dfbd3b73d209b9c620a171c5b13c4.zip |
run-postinsts: Replace pi_dir variable test
Since commit 5159ddcb62682e1b7e63a20a9218ea96e3fe10a2 string length test
performed against pi_dir has effectively never been able to succeed.
Change this to rather test if pi_dir is not an existing directory. By
doing we remove the chance of seeing the following console error message
during first boot to a pristine rootfs:
'ls: /etc/ipk-postinsts: No such file or directory'
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build.py')
0 files changed, 0 insertions, 0 deletions