[OE-core] [PATCH] base-files: profile: Get rid of "resize"

Burton, Ross ross.burton at intel.com
Mon Sep 18 20:18:02 UTC 2017


On 18 September 2017 at 20:30, Andre McCurdy <armccurdy at gmail.com> wrote:

> On Mon, Sep 18, 2017 at 12:19 PM, Burton, Ross <ross.burton at intel.com>
> wrote:
> > On 18 September 2017 at 20:01, Andre McCurdy <armccurdy at gmail.com>
> wrote:
> >>
> >> > The question is does it do something useful *now*?
> >>
> >> I don't have a board with a serial console to test at the moment.
> >> Busybox hasn't changed in recent memory though, so as long as the
> >> resize command does actually get run I presume it's still going to
> >> work.
> >
> > Re-read the code.
>
> I've never read the code before, so don't make any claims to know
> *how* it works or worked :-)
>
> > There's a call to ioctl with TIOCSWINSZ which I'm
> > *guessing* is set window size.  Google is not useful for this!  It does
> all
> > this on stderr.
> >
> > So yes it *should* work, but not if you redirect stderr to /dev/null.
>
> We don't redirect stderr to /dev/null, only stdout.


One of the many patches here does.

I'm holding off applying any of them right now. :)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170918/68831805/attachment-0002.html>


More information about the Openembedded-core mailing list