New: pkg_postinst_ipkg() does not work with /bin/dash
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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
Signature · 3 lines
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.