[oe] [oe-commits] org.oe.dev Add cryptsetup: Stop forcing your opinions onto other people!

Chris Larson clarson at kergoth.com
Thu Nov 22 03:20:23 UTC 2007


On Nov 21, 2007 12:02 PM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> The only 'bug' I know of is people using 'su' instead of 'su -' to
> become root and (/usr)/sbin isn't in $PATH. That's PEBKAC, not an OE bug
> or ipkg bug.

Deviating from the discussion, but if the postinst relies on /sbin
being in the path for it to execute correctly, it should be fixed to
either modify the path or directly call the binary with the full path.
 No portable shell script should rely on anything but /bin and
/usr/bin being in the PATH.
-- 
Chris Larson - clarson at kergoth dot com
Dedicated Engineer - MontaVista - clarson at mvista dot com
Core Developer/Architect - TSLib, BitBake, OpenEmbedded, OpenZaurus




More information about the Openembedded-devel mailing list