Bug 9710 - busybox od does not accept POSIX options
Summary: busybox od does not accept POSIX options
Status: RESOLVED INVALID
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Stephano Cetola
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-06 08:01 UTC by Jean Parpaillon
Modified: 2016-06-09 15:16 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Parpaillon 2016-06-06 08:01:56 UTC
'od' command provided in base poky environment is not fully POSIX compliant. In particular:
'-t TYPE': hexa output is specified with '-X' instead of '-t x'
'-N NUMBER' is not supported
Comment 1 Stephano Cetola 2016-06-09 15:02:13 UTC
Poky doesn't aim to be POSIX compliant. The workaround here would be to install coreutils which contains GNU od.
Comment 2 Jean Parpaillon 2016-06-09 15:03:57 UTC
I understand it does not 'aim to' but is there any valid reason for it not to be, while busybox does ?
Comment 3 Ross Burton 2016-06-09 15:14:51 UTC
So it looks like busybox ships with two versions of od: od.c (6k source) or od_bloaty.c (36k source).

If you desperately need full od then it's trivial to enable od_bloaty (enable CONFIG_DESKTOP or use coreutils.  An alternative would be to demonstrate that enabling CONFIG_DESKTOP doesn't cause too much of an impact.
Comment 4 Jean Parpaillon 2016-06-09 15:16:24 UTC
Ok, got it.
Thanks for your answer :)