[OE-core] [PATCH] ui/knotty: Add a footer to the build output for interactive terminals
Koen Kooi
koen at dominion.thruhere.net
Tue Mar 20 12:24:00 UTC 2012
Op 15 mrt. 2012, om 23:56 heeft Richard Purdie het volgende geschreven:
> I've sent this before, this is an updated version with several bugfixes
> and improvements. Its a major change but one I think people will like
> overall as I hear a lot of complaints about the verbose console
> messages. v0 never got complaints so I will merge this fairly quickly
> unless there are objections.
>
> ---
> On terminals which support it, add summary information to the end of the
> build output about the number of tasks currently running and how many tasks
> we've run so far.
>
> This provides a summary at a glace of what the current state of the build is
> and what the build is currently doing which is lacking in the current UI.
>
> Also disable echo of characters on stdin since this corrupts the disable,
> particularly Crtl+C.
>
> The "waiting for X tasks" code can be merged into this code too since
> that is only useful on interactive terminals and this improves the
> readability of that output too.
>
> Improvements since v0:
>
> * The tasks are ordered in execution order.
> * The display is only updated when the list of tasks changes or there
> is output above the footer.
> * Errors early in the init process don't corrupt the terminal
> * Running task x of y and package messages are suppressed from the console
I like it a lot, but there is one missing thing. Have a look at the following output:
-------------------------------------------
Loading cache: 100% |####################################################################################################################################################################################################################################################################################################################################################################################################| ETA: 00:00:00
Loaded 2642 entries from dependency cache.
OE Build Configuration:
BB_VERSION = "1.15.1"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "angstrom"
DISTRO_VERSION = "v2012.03-core"
TUNE_FEATURES = "armv7a vfp neon cortexa8"
TARGET_FPU = "vfp-neon"
meta-angstrom = "master:51ba0dd081af1d7de56ffc9fb318044bc3c7c47e"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs = "master:b0a7f2e761f79e8967b1d3f7c67177283805bf75"
meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
meta-java = "master:e90110b85733f9cdda26861bc29588257173c11c"
meta-ti = "master:8f1fc028be8567c57ed7d40b1800ece37128b9ac"
meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
meta-htc
meta-nokia
meta-openmoko
meta-palm = "master:57cd9600e285f394873b943644879b166a256769"
meta-handheld = "master:f2904e00c9c709d1f40e4a93f0f552f882bacf4f"
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fishriver
meta-jasperforest
meta-n450 = "master:9124870a6bcd99ebaeb0342f4fedf14dc1afebd8"
meta = "master:c981fa4fad8a457882293157b7bdca05aad5a778"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3179 tasks of which 3165 didn't need to be rerun and all succeeded.
-------------------------------------------
What did I just build? A mention of the '<foo>' in 'bitbake <foo>' would be nice :)
regards,
Koen
More information about the Openembedded-core
mailing list