[oe] [Bug 1458] New: pkg_postinst_ipkg() does not work with /bin/dash
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Fri Oct 6 11:21:19 UTC 2006
http://bugs.openembedded.org/show_bug.cgi?id=1458
Summary: pkg_postinst_ipkg() does not work with /bin/dash
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: openembedded-devel at lists.openembedded.org
ReportedBy: di at fh-wedel.de
QAContact: tinderbox-oe at gmx.net
Consider the following code:
echo -e "#!/bin/sh
ipkg-cl configure
" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure
This fails if /bin/sh points to /bin/dash, because obviously /bin/dash has its
own, builtin echo. I suggest either to remove the -e, it is not used anyway, or
use /bin/echo or \echo instead. This is a principal issue, we should not always
rely on having a particular version of /bin/sh offering whatever non-standard
facilities.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-devel
mailing list