]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
quilt: added less to RDEPENDS list
authorTrevor Gamblin <trevor.gamblin@windriver.com>
Thu, 22 Aug 2019 12:29:05 +0000 (08:29 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2019 16:36:13 +0000 (17:36 +0100)
The quilt "series" option relies on "less -R" but, since that
option is not enabled by busybox in oe-core by default,
hard-code the dependency on 'less'.

>From 'man less':
   -r or --raw-control-chars
      Causes "raw" control characters to be displayed. ...
   -R or --RAW-CONTROL-CHARS
      Like -r, but only ANSI "color" escape sequences are
      output in "raw" form.  ...

In 2018, BusyBox's less added:
   8528d3d4f less: optional support of -R
but it is not enable by default for oe-core. While we could
enable the option, all known use-cases involve larger, more
developer-oriented recipes such as quilt or man pages.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/quilt/quilt.inc

index dcba62c84b1790e0eb22739cff8e744464bf843f..433e9b40b70b2682e6eee58e789ba02587d6e319 100644 (file)
@@ -78,7 +78,7 @@ FILES_guards = "${bindir}/guards"
 FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
 FILES_guards-doc = "${mandir}/man1/guards.1"
 
-RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux"
+RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux less"
 RDEPENDS_${PN}_class-native = "diffstat-native patch-native bzip2-native"
 
 RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \