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

Andre McCurdy armccurdy at gmail.com
Mon Sep 18 19:30:15 UTC 2017


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.

> Yes, this is a mess. :)
>
> Ross



More information about the Openembedded-core mailing list