On 04/25/2013 04:51 PM, Mark Hatle wrote: > On 4/25/13 7:24 AM, Laurentiu Palcu wrote: >> When using multilib, the hooks for lib32/lib64 must be different because >> the libdir/base_libdir point to different locations. Nothing has to be >> done in the postinstalls for this. When a hook is installed, it will be >> detected automatically if this is a ML package (from the libXX- package >> prefix) and a separate hook will be created. >> >> Signed-off-by: Laurentiu Palcu <laurentiu.pa...@intel.com> >> --- >> scripts/postinst-intercepts/postinst_intercept | 18 ++++++++++++++++++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/scripts/postinst-intercepts/postinst_intercept >> b/scripts/postinst-intercepts/postinst_intercept >> index ed32f27..5969eba 100755 >> --- a/scripts/postinst-intercepts/postinst_intercept >> +++ b/scripts/postinst-intercepts/postinst_intercept >> @@ -17,9 +17,27 @@ >> >> intercept_script=$INTERCEPT_DIR/$1 && shift >> package_name=$1 && shift >> +mlprefix=$(echo $package_name|sed -rn 's/^(lib32|lib64|libx32)-.*/\1/p') > > The mlprefix is theoretically arbitrary. It would be better to base the > parse > list off of a given machines available multilibs. If you can dump the > multilib > list from bitbake, that would be best. OK, I understand your concern... I could probably pass mlprefix=${MLPREFIX} as a third argument to all calls to postinst_intercept script instead. I'll rework it and send a v2.
Thanks, Laurentiu _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core