]> code.ossystems Code Review - openembedded-core.git/commit
base-files/profile: change EDITOR to not be busybox specific
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 21 Jan 2015 18:25:06 +0000 (13:25 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Feb 2015 08:40:35 +0000 (08:40 +0000)
commitdcdaa651f3180e4561d7d08f56bfb29f35f2085f
tree2638def4b57ec3d7318ed2cf64ba45dbac288f48
parent62052810dbf3ed19697078a48b617bfbdadf2a29
base-files/profile: change EDITOR to not be busybox specific

Setting "EDITOR=/bin/vi" breaks on non-busybox systems, as
vim will populate /usr/bin/vi instead, and you get stuff like:

  op3:~/poky/meta-builder$ git commit -s
  error: cannot run /bin/vi: No such file or directory
  error: unable to start editor '/bin/vi'
  Please supply the message using either -m or -F option.
  op3:~/poky/meta-builder$ which vi
  /usr/bin/vi
  op3:~/poky/meta-builder$

Since we've already specified a proper path above in the profile,
we've no need to call out where in the path vi lives, and hence
this will work with busybox and a full vim install w/o busybox.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/base-files/base-files/profile