Hi Ross I am ok with that.
But looking forward it is definitely more difficult to maintain that patch on future dpkg versions. Will prepare the patch and then you decide :P Thanks! On Wed, Jun 19, 2019 at 11:55 AM Burton, Ross <[email protected]> wrote: > > dpkg may, but that's because dpkg is the Debian package manager and it > follows Debian traditions. /usr/bin/pager is a Debianism: I suggest > we just patch it to use 'less'. > > Ross > > On Wed, 19 Jun 2019 at 10:47, Ricardo Ribalda Delgado > <[email protected]> wrote: > > > > Some system tools (like dpkg) expects a binary called pager when they > > run on a interactive console. > > > > This patch addes this symlink via alternative, so other packages can > > also provide this symlink. > > > > Signed-off-by: Ricardo Ribalda Delgado <[email protected]> > > --- > > meta/recipes-extended/less/less_550.bb | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-extended/less/less_550.bb > > b/meta/recipes-extended/less/less_550.bb > > index bb1618f1eb..8f59bd6087 100644 > > --- a/meta/recipes-extended/less/less_550.bb > > +++ b/meta/recipes-extended/less/less_550.bb > > @@ -24,6 +24,7 @@ LIC_FILES_CHKSUM = > > "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ > > file://LICENSE;md5=ba01d0cab7f62f7f2204c7780ff6a87d \ > > " > > DEPENDS = "ncurses" > > +RPROVIDES_${PN} = "pager" > > > > SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz \ > > " > > @@ -39,5 +40,6 @@ do_install () { > > oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install > > } > > > > -ALTERNATIVE_${PN} = "less" > > +ALTERNATIVE_${PN} = "less pager" > > ALTERNATIVE_PRIORITY = "100" > > +ALTERNATIVE_TARGET[pager] = "/usr/bin/less.less" > > -- > > 2.20.1 > > > > -- > > _______________________________________________ > > Openembedded-core mailing list > > [email protected] > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Ricardo Ribalda -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
