]> code.ossystems Code Review - openembedded-core.git/commit
devtool: deploy-target: Avoid unnecessary dependency on awk on the target
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 30 Sep 2016 19:53:40 +0000 (21:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Oct 2016 23:17:29 +0000 (00:17 +0100)
commit7bab454b0bf0075fbb2a5de06286a9da1df2adc6
tree23a4e3fccd7f1d334a461f2a573c87e9f6d2eaf1
parent4c3fb7f63aad4a5d1b9720c76091cd0646859c2a
devtool: deploy-target: Avoid unnecessary dependency on awk on the target

Relying on that awk is installed on the target just to extract the
fourth column (i.e., the free volume size) from `df -P` is an
unnecessary dependency for devtool deploy-target. As it is already
using sed to mangle the output from `df -P`, this can easily be
modified to only extract the free volume size.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/deploy.py